ENNAENNA

pwnat

GPL-3.0

๐ŸŒ Network Recon ยท C

pwnat (pronounced 'poe-nat') enables connections between two hosts both behind separate NATs without requiring either side to configure port forwarding. It exploits a quirk in how NAT implementations handle ICMP time-exceeded messages to establish bidirectional communication channels. One side runs as a server and the other as a client; the tool handles NAT traversal automatically. This makes it useful for penetration testing scenarios where direct connectivity is blocked by network address translation, enabling reverse shells and tunnel establishment through otherwise impassable network boundaries.

3.9kstars
511forks
21issues
Updated 4mo ago
+I use this

Installation

$ git clone https://github.com/samyk/pwnat.git && cd pwnat && make

Use Cases

  • Establishing connections through double-NAT scenarios
  • Penetration testing when direct connectivity is blocked
  • Creating tunnels without port forwarding configuration
  • Research into NAT traversal techniques

Tags

nat-traversalfirewall-bypasstunnelingicmpnetworking

Community Reviews

More in Network Recon