I can't bare this anymore. I've been trying to share my internet connection for weeks now, checked out every FAQ, WWW, Forum and nothing. As of now I am close to basically just giving up.
Whats the problem? Well... let me start from the begining. Here is my system configuration :
1 )) First PC ( the server, with internet connection ) :
* Debian GNU/Linux - Woody
* Kernel v2.4.18
* IPTables - loaded into kernel
* Two network interfaces : eth0 ( internet connection ) and eth1.
2 )) Second PC is a Windows XP with one network interface.
I've set up a DHCP server for eth1 and a BIND server. Both of these work fine. The IP assigned to eth1 is 10.0.0.1. Samba works perfectly.
Nota bene : The internet connection on eth0 is another network - basically i connect through a gateway to my ISP. So PLEASE!!! don't tell me that I need masqeurading, because I really don't! I've tried using it and samba stopped working, while the internet connection did. Heh. I need both of these things to work.
I can ping from one computer to the other but only in the boundries of the internal network. Once I try to ping for example my IPS's gateway - it doesn't work. DNS is setup correctly as while pinging
www.google.pl from winXP it resolves the host and stops at that.
The gateway that I have set up on the winXP is also 10.0.0.1 ( the IP of the Linux eth1 interface ). So my question is... what do i have to do? Do I have to route the IP from WINXP to Linux or do I just have to setup a gateway. Any ideas would be gratley appreciated as I am running out of patience. Oh... and one more thing, please explain to me how to do everything step by step as I am kinda a newbie to Linux.
Thanx