iptables and I-net Conn. sharing problems
Dear all of experts,
i experienced a problem during saving my work after configuring the ip tables, or internet connection sharing, see, i've installed redhat 9 shrike onto my system and i setted it up as a server at my office, and i want it to be my default gateway to the internet. here is the problem, after i've configured the iptables rules on the terminal then i try to configure also my clients, its run well, even faster than ever, but when i shut down my linux system and restart it again ishy did i have toreconfigure my server again? its slow down my work ofcourse, cause its doesnt save automatically. i've tryied to sve it using iptables-save, and restore, but still i experience that. help me please! |
put the iptalbes rules in a file called firewall.sh and start the file like so:
[code] #!/bin/bash/ ...rules here... [code] then put this line in /etc/rc.local [code] sh /path/to/firewall.sh [code] make sure you put the path to the firewall.sh file wow, this got 10 hits before it got a reply. rc.local gets run last during reboot, but it works |
well, thanks for replying, but see, i dont know what you mean with [code] here, what code i should fill in? sorry, iam very newbie in linux Robert. i'll be so thankful if you make detailed on it, will ya? please...
|
All times are GMT -5. The time now is 08:13 PM. |