I have this in /sbin/init.d/boot.local on SuSE6.3 - works fine. I make no
claims as to the security of it all though :) Afair, there's nothing
masq-specific in the rc.config (apart from interface configuration
settings).
#####
# Setup up IP_Masqing
#
/sbin/modprobe ip_masq_ftp
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.3.0/255.255.255.0 -j MASQ
/sbin/ipchains -I output 1 -i ppp0 -d 255.255.255.255 -j REJECT
/sbin/ipchains -A input -i ppp0
/sbin/ipchains -A output -i ppp0
----- Original Message -----
From: "Niall" <niall at mailtest.inpho.ie>
To: <ilug at linux.ie>
Sent: Monday, February 07, 2000 5:43 PM
Subject: [ILUG] Masquerading with SuSE 6.3
> Have any of you done this ? I've installed the relevant RPM and made the
> appropriate entries in rc.config and edited the rc.firewall to what seemed
> reasonable, but not joy. It connected via ISDN like a dream (the main
> reason I used SuSE on this box) but the lack of masquerading on an
> Internet gateway is a problem :-) Mind you the firewall is really secure -
> as soon as I start the firewall script, the box itself can't even get out
> of the site, never mind the other clients. A working rc.firewall would be
> much appreciated.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!