Re: ipchain and init.d

2001-03-14 Thread will trillich
On Sat, Mar 10, 2001 at 12:03:02PM +0100, [EMAIL PROTECTED] wrote: > Hi! > > My recommendation: > > log in as root and > 1. cd /etc/init.d > 2. vi ipchains (to create this new file) > 3. put your ip_forward code into it, and you have place here for your > firewall rules. > 4. exit vi > 5. chmod u

Re: ipchain and init.d

2001-03-10 Thread Roberto Rosario
Debian will auto execute on boot up anything it finds on /etc/rc.boot/, remember to do a chmod 700. However in this case I would recomend that you install the package ipmasq. Jack wrote: > A short question: > > where could I put these commands, to be run at the boot time: > > ipchain -A forwar

Re: ipchain and init.d

2001-03-10 Thread timohart
Hi! My recommendation: log in as root and 1. cd /etc/init.d 2. vi ipchains (to create this new file) 3. put your ip_forward code into it, and you have place here for your firewall rules. 4. exit vi 5. chmod u=rwx ipchains 6. chmod g=rx ipchains 7. chmod o=rx ipchains Now at boot time your firewa

Re: ipchain and init.d

2001-03-10 Thread Bill Wohler
Jack <[EMAIL PROTECTED]> writes: > where could I put these commands, to be run at the boot time: > > ipchain -A forward -s 192.168.0.0/24 -j MASQ If you're using /etc/network/interfaces, you might have something like: iface eth0 inet static address 192.168.69.1 netmask

Re: ipchain and init.d

2001-03-10 Thread Osamu Aoki
On Fri, Mar 09, 2001 at 07:26:54AM -0600, Jack wrote: > where could I put these commands, to be run at the boot time: > ipchain -A forward -s 192.168.0.0/24 -j MASQ > echo 1 > /proc/sys/net/ipv4/ip_forward Should be /etc/rcS.d/scriptfile But you should consider installing ipmasq package. My

ipchain and init.d

2001-03-09 Thread Jack
A short question: where could I put these commands, to be run at the boot time: ipchain -A forward -s 192.168.0.0/24 -j MASQ echo 1 > /proc/sys/net/ipv4/ip_forward Thanks, Jack