I am having a problem with iptables and forwarding/Masquerading. Any
and all assistance is greatly appreciated.
Here is my network layout:
ISP
|
+----------- | ---------------------+
|[Internet Connection (ICS enabled)]|
| |
| Win2k Pro | <== NetServer
| |
| [ethernet (192.168.0.101)] |
+------------ | --------------------+
|
[ router ]--- Other machines
|
+------------ | -------------+
| [eth0 (192.168.0.99)] |
| |
| Mandrake Linux 9.2 | <== Notebook
| |
| [usb0 (192.168.1.200)] |
+----------- | --------------+
|
|
+----------- | --------------+
| [usbf (192.168.1.202) ] |
| | <== Handheld
| Familiar Linux v0.7.2 |
+----------------------------+
I have successfully established a networking connection between
Handheld and Notebook using USB networking. This is confirmed by my
ability to ping Notebook:eth0 (192.168.0.99) from Handheld and receive
a valid response. I can also ping Handheld:usbf (192.168.1.202) from
Notebook and receive a response.
I am able to surf the net (through NetServer) and connect to other
machines from Notebook (using eth0); however, I cannot get routing
established properly between Handheld:usbf and NetServer:ethernet.
Everything I send out from Handheld stops at Notebook and is not
forwarded (through Notebook:eth0) to the rest of the world.
What I am looking for are the correct iptables commands to allow this
to happen (effectively use Notebook as a proxy server for Handheld).
I know this involves IP-Masquerading and Forwarding, but everything I
have found so far (mostly at
www.handhelds.org) isn't working
properly.
TIA
Eric