[ad]
pwnat, pronounced “poe-nat”, is a tool that allows any number of clients behind NATs to communicate with a server behind a separate NAT with *no* port forwarding and *no* DMZ setup on any routers in order to directly communicate with each other. The server does not need to know anything about the clients trying to connect.
Simply put, this is a proxy server that works behind a NAT, even when the client is behind a NAT, without any 3rd party. There is no middle man, no proxy, no 3rd party, no UPnP/STUN/ICE required, no spoofing, and no DNS tricks. More importantly, the client can then connect to any host or port on any remote host or to a fixed host and port decided by the server.
pwnat is based off of the UDP tunneling software by Daniel Meekins, udptunnel, and my original chownat.
pwnat will work on most *nix operating systems. Tested on Linux and OS X.
You can download pwnat v0.2-beta here:
Or read more here.
GZero says
This looks really useful, I would imagine people with restrictive filters on their internet might find a really good use for this.
It’s also made by Samy Kamkar, who, if memory serves, was the chap who did the Samy friends worm XSS thing on MySpace a few years ago.
Cool tool
Akagi Kong says
Somebody port this bad boy =P
Sigh, this would be even cooler if it had a Windows port. FreeBSD is my default OS, but I have to work with Windows boxes–a lot.
AnyMoose says
@Akagi Kong:
Try setting up any old computer with Puppy Linux, 2 NICs and min 256MB RAM. When you setup the firewall, share the connection.
bada-bing-bada-boom?
mendark says
does it really work?
GZero says
Akagi Kong:
If you were to get a copy of MinGW and try to compile this on windows, I
Akagi Kong says
Geez, I can do this without pwnat, but if I can do it with pwnat and none of the BS that
antitree says
This is a cool tool and Samy did some good research but in practice it works only with NAT and not through a firewall like some may thing. By messing with the source and destination IP’s between the header and the datagram, any firewall worth it’s weight purporting “deep packet inspection” will detect this.