[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Masquerading



Assuming you're using a stock kernel or kernel with support for
IP masquerading, these three lines should get you started with masq:

/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -P forward REJECT
/sbin/ipchains -I forward -s 192.168.1.0/24 -d ! 192.168.1.0/24 -j MASQ

You may need to change that last line, depending on what internal
IP addresses you use.  As far as firewalling is concerned, there's an
excellent "howto" guide available on ipchains at http://www.linuxdoc.org/HOWTO/.

I can't help you any with setting it up for dialin or FAX, as I don't use either.

HTH.

-jg

--
Jeremy L. Gaddis     <jlgaddis@blueriver.net>

-----Original Message-----
From:	Hans-Christian Armingeon [SMTP:linux.johnny@gmx.net]
Sent:	Sunday, October 01, 2000 3:09 PM
To:	Debian List
Subject:	Masquerading

Hi,
is there anybody out there who kan help me start building a masquerading and
dialin and fax and firewall box with potato?

Thanks Johnny


-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: