FC4 - iptables
hello everyone,
I have fedora core 4 installed w/ all the updates.
how do i make it so a certain command runs every time i restart the comp?
i need this to run this instead of typing it in each time.
"iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward"
Thanks in advance for any help.
Last edited by brunog; 01-01-2006 at 04:41 PM.
|