Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2006 11:07:33 -0800
From:      "Dan O'Connor" <dan@ferrarishields.com>
To:        "cblasius" <cblasius@o2.pl>, <freebsd-questions@freebsd.org>
Subject:   Re: Sharing internet connection, how?
Message-ID:  <03eb01c62119$6e27f810$0599460a@dan>
References:  <43D6539E.1090900@o2.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have two ethernet cards on my computer. The first is rl0 - with
> the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is 
> vr0 - with the address 192.168.1.1.
>
> I want to use my computer as gateway to internet for the other
> computers in my home. How I can sharing internet connection on my 
> computer to the rest computers in my home? I hve 2 computers (my and 
> my wife (rl0 192.168.1.2)).

You need to configure a firewall and network address translation (NAT).

Here's how I do it: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw

Good luck and have fun!

~Dan

--
FreeBSD Cheat Sheets
   http://www.mostgraveconcern.com/freebsd/ 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03eb01c62119$6e27f810$0599460a>