On Linux, rinetd can be used to set up simple port forwarding easily. Configure by editing /etc/rinetd.conf: # host A (local) host B (remote) # bind-addr bind-port conn-addr conn-port 0.0.0.0 80 10.10.10.1 8080