netfilter-full-cone-nat/README.md

8 lines
283 B
Markdown
Raw Normal View History

2018-01-20 05:54:57 +00:00
2018-01-20 06:12:08 +00:00
Implementation of full cone SNAT. Currently only UDP is supported and actions for other protos are like MASQUERADE.
2018-01-20 05:54:57 +00:00
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