i know this subject must come up every day.
i know there are lots and lots of tutorials/FAQs/software manuals out there to read.
i have NEVER managed to successfully use linux on my machine to share my internet connection with my other PC.
(hereafter referred to as internet -> PC1 -> PC2)
believe me i've tried. i've tried
redhat9, fedora3, slack10, gentoo2004.3, mandrake won't boot, knoppix, debian.
i realise that the flavour of base system doesn't make a huge difference, but i had to try.
the closest i have come so far is to use fedora3 with shorewall.
i have managed to successfully get PC2 to obtain an IP from PC1 (setting up dhcp server), and can ping both ways. i have managed to get the firewall to drop ping packets (to confirm that it's working).
oh, and while all this was happening, PC1 is happily connected to the internet.
i have NEVER managed to get packet forwarding/masquerading/NAT to work.
it's almost qute funny that i can boot into XP and have everything run fine......
anyone have any suggestions?
don't be afraid to answer in technical terms - i know how everything is supposed
[edit: here are a few more details:
internet is provided by USB cable modem - eth1 on PC1
local LAN uses standard NIC's - eth0 on PC1 and irrelevant on PC2
eth0 on PC1 is 192.168.0.1 and runs dhcp server to give a 192.168.0.X address to PC2.
while i stated that FC3 seems my best bet, i'm going to ditch it since it won't write to my ntfs disk.
i have managed the same degree of success with gentoo... but it refuses to compile X grrr. ]