[Voyage-linux] Where is the appropriate place to place custom iptables rules

2006-04-25 Thread Glenn Swonk
I can't seem to find where to place any custom iptables rules. Where would be the most appropriate place? thanks, glenn-- G Swonk a t gmail dot Com ___ Voyage-linux mailing list Voyage-linux@list.voyage.hk

Re: [Voyage-linux] Where is the appropriate place to place custom iptables rules

2006-04-25 Thread Kim-man \Punky\ TSE
Hi Gleen, use iptables-save to dump the rules to a file then use iptables-restore to load it on boot. Punky Glenn Swonk wrote: I can't seem to find where to place any custom iptables rules. Where would be the most appropriate place? thanks, glenn -- G Swonk a t gmail dot Com

Re: [Voyage-linux] Where is the appropriate place to place custom iptables rules

2006-04-25 Thread Glenn Swonk
Yes, I know to use save/restore. What file to save to and what will load the file to restore? Since there is not a /etc/init.d/iptables script, where would the iptables-restore command be executed? thanks, glenn On 4/25/06, Kim-man Punky TSE [EMAIL PROTECTED] wrote: Hi Gleen,use iptables-save

Re: [Voyage-linux] Where is the appropriate place to place custom iptables rules

2006-04-25 Thread Yiorgos Adamopoulos
Glenn Swonk wrote: I can't seem to find where to place any custom iptables rules. Where would be the most appropriate place? thanks, glenn # remountrw # cat /etc/init.d/local.iptables #!/bin/sh case $1 in 'start') if [ -f /etc/iptables.saved ]; then