netfilter-full-cone-nat/README.md
2018-01-20 06:12:08 +00:00

283 B

Implementation of full cone SNAT. Currently only UDP is supported and actions for other protos are like MASQUERADE.

Assume eth0 is external interface:

iptables -t nat -A POSTROUTING -o eth0 -j FULLCONENAT #same as MASQUERADE
iptables -t nat -A PREROUTING -i eth0 -j FULLCONENAT