Hi!,
Quote:> <embarrased>
> I have a Red Hat 7.1 distribution installed on a dual-NIC system. On one
> side (the first NIC) is a DSL connection. On the other is the internal
> network.
> Can anyone direct me to a source that offers a cookbook approach to setting
> up routing between the internal network and the DSL/Internet connection?
> I've been beating my head against the wall on something that I thought I
> knew how to do...
Check to make sure that you have activated IP forwarding on your system (echo
"1" > /proc/sys/net/ipv4/ip_forward) or change the entry in the
/etc/sysctl.conf file. You will then need to activate your MASQ'ing
arrangements:
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
^^^^ ---> This is the interface that
is connected to your DSL
network equipment.
You may also have to make sure that you aren't running a restrictive firewall
on your system which would be blocking the return on the incoming MASQ'ed
packets. RH 7.1 and 7.2 by default will install a pretty restrictive
firewall.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+