Sharing internet connection, how?

Dan O'Connor dan at ferrarishields.com
Tue Jan 24 11:07:10 PST 2006


> 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/ 




More information about the freebsd-questions mailing list