Hey guys, I've got a RH 7.2 box here which I'm trying to setup as a gateway.
It has an external ip of 203.13.174.115 on eth0, and an internal ip of 10.0.0.1 on eth1. It also runs a dhcp server which allocates 10.0.0.x IP's. It talks to outside computers and the rest of the world without a problem. A workstation behind it is allocated an IP without a problem, and can ping both the internal and external IP's of the gateway. The workstation only has eth0. However whenever the workstation tries to ping somewhere outside, it returns a 'destination host unreachable' error. The same happens for telnet, etc. I have just a quick shell script for my firewall atm: #!/bin/sh echo "1" > /proc/sys/net/ipv4/ip_forward /sbin/iptables -F /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE On the gateway, netstat -rn outputs: (sorry if this wraps) Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.0.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1 203.13.174.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 0.0.0.0 203.13.174.6 0.0.0.0 UG 40 0 0 eth0 On the workstation, netstat -rn outputs: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.0.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 40 0 0 eth0 Can anybody point me towars something that I"m missing? cheers, Anth -------------------------------------------------------- Anth Courtney - Systems Administrator / Programmer [EMAIL PROTECTED] - PLANET NETCOM - www.pnc.com.au -------------------------------------------------------- Scanned by PeNiCillin http://PeNiCillin.pnc.com.au/ _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list