Re: iptables script - where to put it?

2008-10-10 Thread tyler
Thanks everyone for your help! I started with Jeff's suggestion, below, which seems to work fine. I don't actually boot very often, usually just hibernating. But after modifying /etc/network/interfaces, shutting down and rebooting, my iptables are intact, so that's a start. Cheers, Tyler "Jeff

Re: iptables script - where to put it?

2008-10-10 Thread Brian Schrock
There seems to be many ways to do this, but in our network we create a firewall script (similar to how you have done and we do a whole bunch more than just set iptables rules in it) and we stick it in /etc/init.d/if-up.d/. Then I add to the /etc/network/interfaces file to the public interface 'up /

Re: iptables script - where to put it?

2008-10-10 Thread Mumia W..
On 10/10/2008 09:04 AM, tyler wrote: Hi, I'm trying to learn how to firewall my laptop. I think I've got an appropriate, simple iptables script, but I can't figure out where to put it. Google provides lots of conflicting advice. I think it's supposed to go in /etc/init.d/? What do I need to do w

Re: iptables script - where to put it?

2008-10-10 Thread Jeff Soules
> go in /etc/init.d/? What do I need to do with this file to get it to run > every time I boot? The actual content is copied below. Actually, the easiest way to make sure the firewall rules are always on is to add this to your /etc/network/interfaces : # Bring up firewall pre-up iptables-restore

Re: iptables script absent in Sarge?

2004-03-13 Thread David
On Sat, Mar 13, 2004 at 06:22:22PM -0500, H. S. wrote: > >Typo.. That should have been /usr/share/doc/iptables/Readme.Debian.gz .. > >My mistake, but since we're talking about iptables, that ought to be > >obvious. > > No no, the mistake was mine. I am not familiar with this documentation > syste

Re: iptables script absent in Sarge?

2004-03-13 Thread H. S.
Apparently, _David_, on 03/13/04 15:36,typed: Typo.. That should have been /usr/share/doc/iptables/Readme.Debian.gz .. My mistake, but since we're talking about iptables, that ought to be obvious. No no, the mistake was mine. I am not familiar with this documentation system else it should have

Re: iptables script absent in Sarge?

2004-03-13 Thread David
On Fri, Mar 12, 2004 at 11:59:23PM -0500, H. S. wrote: > Apparently, _David_, on 03/12/04 09:26,typed: > >On Fri, Mar 12, 2004 at 01:02:56AM -0500, H. S. wrote: > > > >>David Clymer wrote: > >> > >>>On Thu, 2004-03-11 at 12:14, H. S. wrote: > >>> > >>>I've got an /etc/init.d/iptables, on my testing

Re: iptables script absent in Sarge?

2004-03-12 Thread H. S.
Apparently, _David_, on 03/12/04 09:26,typed: On Fri, Mar 12, 2004 at 01:02:56AM -0500, H. S. wrote: David Clymer wrote: On Thu, 2004-03-11 at 12:14, H. S. wrote: I've got an /etc/init.d/iptables, on my testing box. Might you just be looking for the wrong script name? Nope, I was looking for thi

Re: iptables script absent in Sarge?

2004-03-12 Thread David
On Fri, Mar 12, 2004 at 01:02:56AM -0500, H. S. wrote: > David Clymer wrote: > >On Thu, 2004-03-11 at 12:14, H. S. wrote: > > > >I've got an /etc/init.d/iptables, on my testing box. Might you just be > >looking for the wrong script name? > > Nope, I was looking for this script. I also searched for

Re: iptables script absent in Sarge?

2004-03-11 Thread H. S.
David Clymer wrote: On Thu, 2004-03-11 at 12:14, H. S. wrote: I've got an /etc/init.d/iptables, on my testing box. Might you just be looking for the wrong script name? Nope, I was looking for this script. I also searched for *ip* in the directory rc.S (or the one which executes script at startup)

Re: iptables script absent in Sarge?

2004-03-11 Thread John L Fjellstad
"H. S." <[EMAIL PROTECTED]> writes: > I was setting up my home network on Debian and noticed that there is > not /etc/init.d/rc.iptables or some similar script (that used to there > when I had installed Woody and dist-upgraded to Sarge a few months > ago). I don't think the package maintainer th

Re: iptables script absent in Sarge?

2004-03-11 Thread David Clymer
On Thu, 2004-03-11 at 12:14, H. S. wrote: > (this is a retry, my earlier post seems not have made it to the list) > > I installed Sarge using the new installer (the new install is a *much > much* better version now:) > > I was setting up my home network on Debian and noticed that there is > no

Re: iptables script

2001-12-09 Thread mdevin
On Sun, Dec 09, 2001 at 06:52:49PM +, Am?rico Rocha wrote: > > Hi all, > > I'm trying to forward port ssh (22) to another computer > on my intranet > > The network topology is simple: 192.168.0.12, is connected > on eth0 to dhcp, and eth1 acts as a NAT to the intranet > consisting on 9 comp