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




I've gotten through the IP MASQ HOW TO but still have a problem which I think is a minor one, but a crucial one. Hopefully, someone knows what I need to do to complete the puzzle. Attached are my iptable rules and listings of my ifconfig and netstat output. In the netstat listing, the last entry points all 0.0.0.0 requests to 192.168.0.1 and I think it should be pointing to the IP of my external NIC (gotten via DHCP and DSL). How can I fix this? I can ping my other computer (the Masq'd internal machine) but cannot ping the outside world unless I use a ping of the form "ping x.x.x.x -I ppp0" which DOES work. My browser and other 'net programs are drawing a blank, too.

Any ideas?

Thanks,

NW98

filename="ifconfig.txt"

eth0 Link encap:Ethernet HWaddr 08:00:09:8B:DB:84 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:181 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100 RX bytes:12080 (11.7 Kb) TX bytes:5798 (5.6 Kb)
Interrupt:10 Base address:0xffe0
eth1 Link encap:Ethernet HWaddr 00:05:5D:32:CB:A4 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:124 errors:0 dropped:2 overruns:0 frame:0
TX packets:305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100 RX bytes:29170 (28.4 Kb) TX bytes:19570 (19.1 Kb)
Interrupt:11
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:217 errors:0 dropped:0 overruns:0 frame:0
TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:15718 (15.3 Kb) TX bytes:15718 (15.3 Kb)

ppp0 Link encap:Point-to-Point Protocol inet addr:65.66.154.83 P-t-P:65.66.155.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6 errors:39 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3 RX bytes:264 (264.0 b) TX bytes:30 (30.0 b)


filename="iptables.txt"

Chain INPUT (policy ACCEPT)
target prot opt source destination Chain FORWARD (policy DROP)
target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere LOG all -- anywhere anywhere LOG level warning
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

filename="nat.txt"

Chain PREROUTING (policy ACCEPT)
target prot opt source destination Chain POSTROUTING (policy ACCEPT)
target prot opt source destination MASQUERADE all -- anywhere anywhere Chain OUTPUT (policy ACCEPT)
target prot opt source destination

filename="netstat.txt"

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
65.66.153.254 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 40 0 0 eth1


_______________________________________________
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