/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */

My system consists of 1 gateway box 192.168.0.1 with modem ppp0 and NIC eth0 connected with a x-over cable to 1 internal box 192.168.0.2 Both boxes run RH9 (2.4.20-8 kernel.)

I have followed the Linux IP Masquerade Howto. (Actually, I did that 3 times.) Testing is successful from Sections 5.1 thru 5.7. Test 5.8 fails with no pings from the internal box being returned. (Pings are being returned if issued from the gateway box, however.)

As recommended in Section 5.8, I checked that the simple rc.firewall ruleset is installed and that it has been modified to point to the ppp0 external interface. I also made sure that the
"ls /lib/modules/'uname -r'/kernel/net" and other commands indicated that the iptable was compiled (see Section 3.2)


I went back to Section 4.4 of the document and rechecked that the
"/etc/sysconfig/network-scripts/ifcfg-eth0" file on the INTERNAL box
did include the ipaddr, netmask, gateway and broadcast addresses. The file "/etc/nsswitch.conf" had already an entry
"hosts: file nisplus dns". I figured this was OK and I left that file unaltered. There is no "/etc/networks" file.
BTW, web and email connections from the gateway to the ISP work fine.


I noted that ifcfg-eth0 on the GATEWAY box showed GATEWAY=192.168.0.254 I fiddled with it (to .1) but it didn't help. The ifcfg-ppp0 file here does not include the above addresses.

Test 5.8 still doesn't work!

According to Section 7.4 I issued on the gateway:
"ps aux | grep -e routed -e gated"
I don't know what the response means, but here it is:
"root 1096 0.0 0.1 3572 628 pts/1 S 16:04 0:00 grep -e routed -e gated".
THIS MAY WELL BE THE PROBLEM, but I wouldn't know what to do about it!


I also checked the IP Masquerade Mailing List Archives. There was one listing on this subject. However, my general newbie ignorance prevented me from making the best use of the archive.

Can anyone help me?


_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING!
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.

Reply via email to