All of lore.kernel.org
 help / color / mirror / Atom feed
* IPTables Script
@ 2003-09-26  5:00 Mike Walker
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Walker @ 2003-09-26  5:00 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

Any comments on this script as a starting point? I'm sure its no where
near as secure as it should be but I was looking for a good example to
learn from and improve on. =)

 

http://www.linuxhelp.ca/guides/iptables/iptables-script

 

            Mike..


[-- Attachment #2: Type: text/html, Size: 1765 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* iptables script
@ 2003-11-25 10:21 Gilles Yue
  2003-11-25 17:36 ` Jeffrey Laramie
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Yue @ 2003-11-25 10:21 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

How do make your linux pc bypass default iptables located in
/etc/sysconfig/iptables script and makes it execute your new and
customized iptables scripts.

 

Can anybody send me a simple script. Thanks 

 

Rgds

gy 

 


[-- Attachment #2: Type: text/html, Size: 2057 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iptables script
  2003-11-25 10:21 iptables script Gilles Yue
@ 2003-11-25 17:36 ` Jeffrey Laramie
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Laramie @ 2003-11-25 17:36 UTC (permalink / raw)
  To: netfilter

Gilles Yue wrote:

> How do make your linux pc bypass default iptables located in 
> /etc/sysconfig/iptables script and makes it execute your new and 
> customized iptables scripts.
>
>  
>
> Can anybody send me a simple script. Thanks
>

It varies by distro.  On Redhat systems one way to do it is to run your 
script and then use " /etc/init.d/rc.d/iptables save" to save the 
current configuration. SuSE is a little more complicated so I disabled 
the SuSE script through YaST2, ran my iptables script, and then use 
Webmin to save and restart my configuration. You can also call your 
script from the /etc/init.d/boot.local file which runs at boot.

Hope this helps.

Jeff



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-25 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25 10:21 iptables script Gilles Yue
2003-11-25 17:36 ` Jeffrey Laramie
  -- strict thread matches above, loose matches on Subject: below --
2003-09-26  5:00 IPTables Script Mike Walker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.