INTERFACE_INTERNET="eth1" LOCALNET="10.1.1.2/24" echo 1 > /proc/sys/net/ipv4/ip_forward ipchains -A forward -i $INTERFACE_INTERNET -s $LOCALNET -j MASQ
try http://www.linux-firewall-tools.com/linux/firewall/index.html ----- Original Message ----- From: "M. Wolffensperger" <[EMAIL PROTECTED]> To: "Christopher Astbury" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 12:07 AM Subject: ipchains > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have a problem with Redhat linux 7.2. > I have installed ipchains now I want to create some chains so that > the client machines can use the linuxbox as a router I did the > following. > > echo 1 > /proc/sys/net/ipv4/ip_forward > So far no problem > > Than I want to add a chain as followd. > ipchains -A forward -s 10.1.1.2/24 -d 0.0.0.0/0 -j MASQ > > But than I got the following error > ipchains: protocol unknown > > > Met vriendelijke groet, > > Martijn Wolffensperger > > Networking Expertise Holland > Pachter 16 > 3834 CE Leusden > Telefoon 033 - 4343075 > Fax 033 - 4343080 > > - ---------------------------------------------------------------------- > - ---- > This message and any attachment is intended only for use by the > address. > It may contain confidential or privileged information. If you are not > the intended recipient you must not copy this message or attachment > or > disclose the contents to any other person. If you are not the > intended > recipient, please email the sender and delete this message and any > attachment > from your system. > - ---------------------------------------------------------------------- > - -- > > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.1 > > iQA/AwUBPEYHsulnuh0EsWxuEQJZxgCcC6tK5Jv23sG1Qrj+Pr+7iw5x6P0AoIGW > NjCkvnz8q2AmB8kTHcoJ1RSz > =uKmP > -----END PGP SIGNATURE-----