Skip to content

Instantly share code, notes, and snippets.

@bongbongco
Created August 25, 2016 02:49
Show Gist options
  • Save bongbongco/2200951ec6745494de8ef5be26fbe6c6 to your computer and use it in GitHub Desktop.
Save bongbongco/2200951ec6745494de8ef5be26fbe6c6 to your computer and use it in GitHub Desktop.
C# Port Forwarding
static void Main(string[] args)
{
new TcpForwarderSlim().Start(
new IPEndPoint(IPAddress.Parse(args[0]), int.Parse(args[1])),
new IPEndPoint(IPAddress.Parse(args[2]), int.Parse(args[3])));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment