/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
I installed RH 6.2 with two 3c509s connected to a Cisco 677 which
goes to Frontier Communications. The other goes to my LAN. From the
MASQ machine I can ping both NICs, a client machine on the LAN, and the
router/modem. This is good. However, from the client machine I can
ping both NICs in the MASQ box, but not the router. Netscape works on
the MASQ box, but not on the client on the LAN. I am supposing MASQ is
working as I can ping the external NIC, but any ideas why I can't get to
the router. I think it is on the same network as the ethernet card and
the ethernet card is the default gateway. Any ideas?
Router IP xxx.xxx.53.33
eth0 Link encap:Ethernet HWaddr 00:60:08:33:5C:4E
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1343 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0x300
eth1 Link encap:Ethernet HWaddr 00:A0:24:0F:EE:98
inet addr:xxx.xxx.53.34 Bcast:xxx.xxx.53.35 Mask:255.255.255.252
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:1677 errors:0 dropped:0 overruns:0 frame:0
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:12 Base address:0x310
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
xxx.xxx.53.32 0.0.0.0 255.255.255.252 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 xxx.xxx.53.33 0.0.0.0 UG 0 0 0 eth1
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
echo "1" > /proc/sys/net/ipv4/ip_ip_always_defrag
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -A input -j ACCEPT -i "eth1" -s 0/0 67 -d 0/0 68 -p udp
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 10.0.0.0/8 -j MASQ
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.