> I start IP chains as follows
> 
> ipchains -P forward DENY
> ipchains -A forward -j MASQ 192.168.0.0/24 -d 0.0.0.0/0

I am not sure, but I think the second command should read:
ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ

> The connection is over a modem using pppd/diald to initiate the   
> connection.  Names are resolved using named.
You can also have the local clients go directly to your ISP's
DNS server(s). Makes thing a little simpler.

> The gateway dials and connects to the ISP (tho' this may have been   
> instigated by named rather than the gateway).
If the gateway does not work, you're probably right. 

> I notice that despite /etc/sysconfig/network having FORWARD_IPV4=yes in   
> it /proc/sys/net/ipv4/ip_forward is set to 0.  Also by going into the   
> system config utility the default gateway is set 0.0.0.0 and default   
> gateway device is set to eth0 (on the linux box).
ip_forward must definitely be set to 1. That was the last I needed to
set to fix my setup ;-) I guess your system scripts does not set it
properly, try to fix manually and then fix or simply add the proper
command to your favorite system script (maybe rc.local).

For the gateway, mine is set to the Internet side, try to manually
set it and see if it helps.

To perform tests, try to use a simple ping command in NT (use the
command line window) to an IP address (may be the ISP DNS server)
and look at ifconfig to see if the Internet side tx counter increases
(in case you still can get it to work).

Claude

Reply via email to