On Tue, 6 Mar 2001, Webillo Disperso wrote: <*]I upgraded to modutils and kernel 2.4.2, and these problems disappeared. But <*]the PC has two network cards, to a cable modem (DHCP) and to a laptop <*](192.168.0.4). Laptop IP is 192.168.0.7. I used 'ipchains' on 2.2.16 before <*]for giving Internet access to the laptop, but it seems that a new philosophy <*]with "iptables" is recommended with 2.4.2. <*] <*]I have tried a little bit with 'iptables' but cold not make it work, so I <*]stay by now with old 'ipchains'. <*] <*]Can someone provide a simple set of 'iptables' commands to give Internet <*]access to the laptop through the PC connected to the cable modem? Webillo, Here is what you could try. I suppose that your first NIC aliased eth0 provides network access to your laptop, and eth1 through your cable modem with DHCP services. ifconfig eth0 192.168.0.4 route add -host 192.168.0.4 dev eth0 Then /usr/local/bin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE and keep your laptop's config unchanged. ciao /nb ________________ Nicolas Beaulieu http://patagonia.dyndns.org " La raison fait l`homme, mais c`est le sentiment qui le conduit. " Jean-Jacques Rousseau Discours sur l`origine et le fondement de l`inegalite parmi les hommes. _________________