Sharing dialup connection over network cable

Steve bassix at gmail.com
Thu Aug 18 17:55:28 UTC 2005


On 8/18/05, Guido Heumann <listguido at web.de> wrote:
> 
> 
> Right. And to share a network connection you need basiclly the following
> steps:
> 
> - activate IP forwarding on the dialup machine
> - configure iptables with masquerading on the dialup machine
> - set the LAN IP address of the dialup machine as the default gateway on
> the second computer
> 
> the first can be done temporarily with
> echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> but this will be lost on the next reboot. You can edit
> /etc/network/options to have it last permanently.
> 
> For the iptables masquerading I'm sure you'll find some example scripts
> with google, if noone else on this list will jump in.
> 
> hope that helps,
> Guido


Yes, it does help... thanks a bunch.

-Steve.
-- 
Ubuntu :: Linux for Human Beings [Intelx86/AMD64/PowerPC]
ubuntulinux.org<http://ubuntulinux.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050818/9038ff80/attachment.html>


More information about the ubuntu-users mailing list