I have been dualbooting between Win2k and Redhat 7 for the past few months because I didn't have connection sharing and never got around to setting it up. Ive started to set it up and I am partially successful, from my LAN I can ping my IP assigned with my dialup, but no further. I have no problems accessing the net from my Linux box so its not my connection. Here is my /etc/rc.d/rc.firewall file:
#!/bin/sh
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
echo "1" > /proc/sys/net/ipv5/ip_forward
/sbin/ipchains -M -S 7200 10 160
#RULESET
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -s 192.168.0.0/24 -j MASQ
------EOF------
I have also used the sample at
http://linuxdocs.org/HOWTOs/IP-Masquerade-HOWTO-3.html#ss3.3
And uncommented out the line for dynamic IP connections. I had the same results with each of the rc.firewall files.
My Linux box has an IP of 192.168.0.1, the system I am trying to share it with has an IP of 192.168.0.3 and a default gateway of 192.168.0.1
Please be gentle, I am only a Linux newbie who hopes one day to be worthy of the Tux.
Thanks,
Kevin
#!/bin/sh
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
echo "1" > /proc/sys/net/ipv5/ip_forward
/sbin/ipchains -M -S 7200 10 160
#RULESET
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -s 192.168.0.0/24 -j MASQ
------EOF------
I have also used the sample at
http://linuxdocs.org/HOWTOs/IP-Masquerade-HOWTO-3.html#ss3.3
And uncommented out the line for dynamic IP connections. I had the same results with each of the rc.firewall files.
My Linux box has an IP of 192.168.0.1, the system I am trying to share it with has an IP of 192.168.0.3 and a default gateway of 192.168.0.1
Please be gentle, I am only a Linux newbie who hopes one day to be worthy of the Tux.
Thanks,
Kevin