Re: ipchain and init.d
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 wishlist bug
report #87499 shall give good firewall with this. See,
$ lynx http://bugs.debian.org/ipmasq
:-)
--
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ Fingerprint: 814E BD64 3288 40E7 E88E 3D92 C3F8 EA94 D5DE 453D +
+ http://www.aokiconsulting.com/pc/ Cupertino, CA USA +
Reply to: