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

Re: dhcp and masquerade



The MASQ doc contains easy to use examples:

http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/stronger-firewall-examples.html

This example explains what it does; it's designed for use with MASQ. All you need is to specify the correct settings for your setup.


Charles Lewis wrote:

Thanks so much for your help. I'm the clock this morning doing contract
work, but I hope to get this going this afternoon. On the firewalling issue
below, can you recommend a good source for documentation on this? Or what
should I search for on google, "iptables", "nat" and "firewalling"? As you
can see, I know very little about firewalling. There's always been someone
else that was taking care of it. :)

Charles Lewis
lewisc@delta.swau.edu

auto eth1
iface eth1 inet static
      address 192.168.7.1
      netmask 255.255.255.0
      up echo "1" >/proc/sys/net/ipv4/ip_forward
      up /sbin/iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -o

ppp0 -j

MASQUERADE
      down echo "0" >/proc/sys/net/ipv4/ip_forward
      down /sbin/iptables -t nat -F

Consider using stronger firewalling... it's well worth it.








Reply to: