Allows for easy sharing of internet connection to an internal network with dynamic IP range.
# iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
masquerade with iptables
Submitted by sandip on Fri, 05/04/2007 - 23:39
Allows for easy sharing of internet connection to an internal network with dynamic IP range. # iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE »
|
See AlsoUser loginRecent blog posts
Who's onlineThere are currently 0 users and 6 guests online.
|
SNAT for static WAN IP
# iptables -t nat -A POSTROUTING -j SNAT --to-source {static WAN IP}