mirror of
https://github.com/llccd/netfilter-full-cone-nat
synced 2024-11-21 15:25:04 +00:00
283 B
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