"Cosmin" <[EMAIL PROTECTED]> writes: > 1. (*) text/plain ( ) text/html
(Please don't post to the list in HTML; plain text is fine.) (Summary: external router machine has external address 82.77.83.33/27, with routable internal network 81.196.166.97/29 and internal NAT network 192.168.0.0/24.) > I have configured the file /etc/init.d/firewall like this: > > iptables -t nat -I POSTROUTING -s 81.196.166.96/29 -o eth0 -j MASQUERADE > > iptables -t nat -I POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE > > Both of the networks here use as a gatway the IP 81.196.166.97 given > to eth1. There's two problems here: (1) You're telling the firewall to NAT both networks, where presumably you want the 81.196.166.97/29 network to be directly routed. You don't need special firewall rules for this, though you do need to have IP forwarding enabled. (2) You've told the machines on the 192.168.1.0/24 network that their gateway machine is on a different network, so they don't know how to reach it. You probably need to give the gateway machine an address on the NAT network (like 192.168.1.1) and tell the NAT machines to use that as their gateway. > Do you have a solution to this problem?? ( I mention that all my > computers are using WIN98 ) ...so install Debian on them. :-) -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]