James Francis <[EMAIL PROTECTED]> writes:

> Ben,
>
>> CONFIGURING MASQUERADING
>> 
>> vi /etc/rc.d/rc.masq
>> 
>> /sbin/depmod -a
>> /sbin/modprobe ip_masq_ftp
>> /sbin/ipchains -P forward DENY
>> /sbin/ipchains -A forward -s 192.168.1.2/24 -j MASQ
>> ## I do have other IPchains  installed...
> Forgot to mention...make sure you have a rule like the following:
> /sbin/ipchains -A forward -i eth1 -j MASQ after your forward rule above.
>
> eth1 was your connection to the internet on the RH7.1 box.

James mentioned setting the linux box gateway to your DSL provided
gateway.  I didn't see that in any of your data but I stepped into the
thread late.

netstat -nr should show someting like
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG       40 0          0 eth0

My setup is very different since I go thru a router but you should
see your DSL gateway at the bottom of column `Gateway'



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to