"Hey, come check out my blog where I talk about programming and space!"

Port forwarding is where you connect to a port on a gateway machine and it automatically forwards you to another port on another machine. It can be useful in a very wide range of situations, including bypassing firewalls or redirecting traffic from a public network to a private network (or vice-versa). Combined with lines in your windows\system32\drivers\etc\hosts file you can even redirect where outgoing connections go.

A number of people have asked me to update my trivial port forwarding utility to be a little more user friendly. This is the result. You can download it here and if you want, here's the code.

Apart from its obvious graphicalness, this version allows you to set up any number of port redirections. You can see how many connections are being redirected and you can disconnect them if you feel the need. You can save the redirections you have setup and load them again later.

If you'd prefer the old command line utility, here's the old source code and windows binary.

usage: trivial_portforward [port to listen on] [ip of host to connect to] [port to connect to].

Note: that's ip address, not host name. If you want host names, add your own dns lookup code or use the fancy graphical version.

<< back to my home page