nattcpproxy Code
A way to connect to ports on machines behind NAT routers
Brought to you by:
mhdyousif
File | Date | Author | Commit |
---|---|---|---|
natproxy | 2014-05-14 | mhdyousif | [r3] Fixed a bug |
AUTHORS | 2014-05-11 | mhdyousif | [r2] |
README | 2014-05-11 | mhdyousif | [r2] |
natproxy.conf | 2014-05-11 | mhdyousif | [r1] Initial commit |
NATTCPProxy It works much like a reverse ssh tunnel. One machine behind a NAT router runs this program and it connects to another instance of the program running on a proxy machine with a static IP address or a domain name directly connected to the internet. Ports on the proxy machine can then be opened and forwarded to ports on the machine behind NAT. This can be used for accessing servers on machines behind NAT routers including web servers, IP cameras, ftp servers, and any server which uses TCP. ----- USAGE ----- - On the public proxy machine: + Edit natproxy.conf and choose arbitrary nat_machine_id and port mapping for each machine behind NAT router and copy to /etc/natproxy.conf + Choose an arbitrary public_proxy_port + Run: natproxy (public_proxy_port) - On the machine behind NAT: + Run: natproxy (public_proxy_port) (public_machine_hostname_or_ip) (nat_machine_id)