/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
I apologise in advance if this is a simple solution - I searched the
archives, but it was difficult to be more specific than : "it doesn't work".
I have set up a linux 2.2.11 box as a router (originally RedHat6).
IP_forwarding is enabled, and IP masquerading is configured into the kernel.
My connection to the Internet is via ppp0.
The irritation is that I can get my WinNT box to use the router, and not my
Linux box!
If I haven't provided enough information, please tell me what you need to
help me here.
Many thanks
Clint
My router is 192.168.0.168
My linux box is 192.168.0.165
My WinNT box is 192.168.0.108
IP chains -L on my router shows this :
---------------------------------------------------------
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
target prot opt source destination ports
MASQ all ------ 192.168.0.0/24 anywhere n/a
Chain output (policy ACCEPT):
route on my router shows this :
-----------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.42.225.131 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.168 * 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 192.168.0.168 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 194.42.225.131 0.0.0.0 UG 0 0 0 ppp0
route on my Linux box shows this :
------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.168 * 255.255.255.255 UH 0 0 0 eth0
192.168.0.165 * 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.168 0.0.0.0 UG 0 0 0 eth0
route on my NT box shows this :
------------------------------------------------------------
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 e0 98 13 3d 82 ...... PCMCIA Ethernet Card
0x3 ...00 00 00 00 00 00 ...... NdisWan Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.168 192.168.0.108 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.108 192.168.0.108 1
192.168.0.108 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.0.255 255.255.255.255 192.168.0.108 192.168.0.108 1
224.0.0.0 224.0.0.0 192.168.0.108 192.168.0.108 1
255.255.255.255 255.255.255.255 192.168.0.108 192.168.0.108 1
===========================================================================
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
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.