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


Hi,
TIA.
I've been trying to get ipmasquerade working. I've searched the
archives, found a few interesting things but not a case where
the ipmasq test fails at step 4 (pinging the internet ipmasq
server ipaddress from a computer on  the internal net).
The system is a linux redhat 6.0:

2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown

The route table is (netstat -rn):

Kernel IP routing table
Destination  Gateway  Genmask         Flags MSS Window  irtt Iface
64.30.196.10 0.0.0.0  255.255.255.255 UH    0 0          0 eth0
192.168.0.1  0.0.0.0  255.255.255.255 UH    0 0          0 eth1
64.30.196.0  0.0.0.0  255.255.255.0   U     0 0          0 eth0
192.168.0.0  0.0.0.0  255.255.255.0   U     0 0          0 eth1
127.0.0.0    0.0.0.0  255.0.0.0       U     0 0          0 lo
0.0.0.0     64.30.196.254   0.0.0.0   UG    0 0          0 eth0

The ifconfig shows:

eth0      Link encap:Ethernet  HWaddr 00:A0:CC:27:1A:21
          inet addr:64.30.196.10  Bcast:64.30.196.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0xf800

eth1      Link encap:Ethernet  HWaddr 00:50:BA:B2:A4:B2
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0xfce0

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

I can ping the 192.168.0.1 from my windows 98. But I am not able
to ping the 64.30.196.10. I do see the eth1 RX packet count
increase.

The howto shows that rh 6.0 2.2.5-15 should have ipmasquerade
support. I'm using ipchains 1.3.9, 17-Mar-1999.

The rc.d/rc.local has the lines added from the minihow-to Homenetwork:
#
# 1) flus the rule tables
/sbin/ipchains -F input
/sbin/ipchains -F forward
/sbin/ipchains -F output
#
# 2) Set the MASQ timings and allow packets in for DHCP
# configuration
/sbin/ipchains -M -S 7200 10 60
/sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 68 -d 0/0 67 -p udp
#
# 3) Deny all forwarding packets except those from local 
# network.
#    Masquerade those.
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
#
# 4) Load forwarding modules for special services
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
# /sbin/modprobe ip_masq_cuseeme
# /sbin/modprobe ip_masq_irc
# /sbin/modprobe ip_masq_quake
# /sbin/modprobe ip_masq_vdolive

Everything works ok from the linux box, netscape and all.

It seems to me it might be the routing. Any ideas?

thanks
jim cowan
[EMAIL PROTECTED]

_______________________________________________
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