I have read these 2 guides:
http://www.tldp.org/HOWTO/Masquerading- ... ndex.html
http://www.tldp.org/HOWTO/IP-Masquerade ... ndex.html
I am still, however, lost. I cannot share the connection between my linux and my windows machine. The iptables runs fine, i can ping the computers, but the connection sharing doesnt work.
The rc.firewalll-2.4 scripts executes with no problems, I have recompiled the kernel and it supports all the necessary options (otherwise the rc.firewall-2.4 would produce an error).
I have problems configuring the scripts. I have the following setup:
eth1: Used for ADSL connection (network card connects to my ADSL modem)
eth0: Used to connect to my Windows XP computer (another network card, direct connection, cross-over).
Winows: one network card, used to connect to my Gentoo computer
That is all the connections I have.
Now, in rc.firewall-2.4 script:
what should be the EXTIF (ppp0, eth0, eth1)?
what should be the INTIF?
In file:/etc/conf.d/net:
what should be the values for 'iface_eth0=' ?
what should be the values for 'iface_eth1=' ?
Should I set any gateways or something?
In Windows XP TCP/IP settings:
what shoud be the IP/Gateway/DNS Server values?
Any other settings I should set on either Windows or Gentoo?
Thank you.
Using: Gentoo Linux 1.4, gentoo-sources-2.4.20-r6

