|
Iptables, where do i store NAT lines?
At the console i type whats listed in the netfilter NAT HOWTO;
# modprobe iptable_nat
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# echo 1 > /proc/sys/net/ipv4/ip_forward
This works, unfortunetly, when I reboot, it ovbiously doesn't restore.
My question is; where do I store this information to make it perm.? Can it be entered into the conf file as is?
|