I have a two PC network. One box is connected to the ISP via diald/ppp. The second box talks to the first one through an ethernet.
I left the diald setup on the box with the modem unchanged. Having recompiled the kernel, I execute the script below (my internal lan is 192.168.1, the ethernet card on the box connected to is 192.168.1.1). Now I can connect to the outside world from my other box, but I seem to come from my main box (the one I have an IP number for). Is this useful? Let me know. Giuseppe #!/bin/sh # # Set up IP forwarding/masquerading for ds3-net. # # Forward packets from ds3-net, masquerading as deselby.xs4all.nl. ipfwadm -F -a masquerade -S 192.168.1.0/24 -D 0.0.0.0/0 -V 192.168.1.1 ipfwadm -F -p deny -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]