Well I did that and still no change one thing it may have done
is make my ssh connect SLOW. I was doing a
echo 1 > /proc/sys/net/ipv4/ip_forward already but I decided to give it
a try none the less. Anything else you can think of?-Jeremy p.s. Thanks for the help thus far. -----Original Message----- From: Arman Magluyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 1:07 PM To: Jeremy Evans Subject: RE: iptables and RH 7.2 Check: vi /etc/sysctl.conf and change to 1 net.ipv4.ip_forward=0 which is zero by default. This will activate ip forwarding every time you reboot. --- Jeremy Evans <[EMAIL PROTECTED]> wrote: > As far as I can tell the routing is set up > correctly. I can > route between the different subnets on the machine > just fine but I just > can't nat out. Here is a dump of route. > > 192.168.0.1 * 255.255.255.255 UH > 0 0 0 > eth1 > 65.103.x.x * 255.255.255.255 UH > 0 0 0 > eth0 > 65.103.x.x * 255.255.255.248 U > 0 0 0 > eth0 > 192.168.2.0 * 255.255.255.0 U > 0 0 0 > eth3 > 192.168.1.0 * 255.255.255.0 U > 0 0 0 > eth2 > 192.168.0.0 * 255.255.255.0 U > 0 0 0 > eth1 > 127.0.0.0 * 255.0.0.0 U > 0 0 0 > lo > default 65.103.x.x 0.0.0.0 UG > 0 0 0 > eth0 > > When I am on the Masq server I can see the internet > fine it is only > unreachable through the subnets. > > -Jeremy > > -----Original Message----- > From: Javed Shakeel > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 17, 2002 4:21 AM > To: [EMAIL PROTECTED] > Subject: Re: iptables and RH 7.2 > > Plz check if the routing table is correctly setup?? > > Try $IPTABLES -t filter -F > maybe it works > > --- Jeremy Evans <[EMAIL PROTECTED]> wrote: > > I have RH 7.2 running with iptables > > 1.2.4-2 . The box has 4 > > nic's, 1 external 3 subnetted internal. The > subnets > > can all see each > > other but cannot see outside the external IP. I > went > > through the ipmasq > > howto and am currently running the first simple > > script but even this > > won't allow the subnets to see out. The machine > can > > see out onto the net > > just fine itself. ip_forward is set to 1. I'm > > baffeled. The script I'm > > running is below. > > > > iptables -A FORWARD -i eth0 -o eth1 -m state > -state > > ESTABLISHED, RELATED > > -j ACCEPT > > iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT > > iptables -A FORWARD -j LOG > > iptables -t nat -A POSTROUTING -o eth0 -j > MASQUERADE > > > > > > thanks for your help > > > > -Jeremy > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
