Displaying 1 result from an estimated 1 matches for "3d7e04df".
2008 Feb 12
7
Making FORWARD_IPV4=YES permanent / DHCP multiple routers
First,
I'd like to configure my system to forward ip, to act as a gateway for
my network. I've always used a script during startup to do this:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT --to ${IP_NAT}
This works fine, however I want this permanent so I don't have to run
the script on startup. I have the firewall setup with SNAT