How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system

Peter N. M. Hansteen peter at bsdly.net
Tue Oct 14 03:04:06 PDT 2008


Manish Jain <unxfbsdi at gmail.com> writes:

> I am poor at networking and need a little bit of help. My dad has a 
> Windows 2000 machine with a network card but does not have a connection 
> to the internet. 

When I started writing this, I thought that system had been abandoned
already, but it appears Microsoft will offer a measure of support
through next year sometime.  Do see that the system gets properly
updated before you put it on the net.

> My freebsd 6.2 box is connected to the internet and has 
> 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is 
> directly connected via a long Ethernet cable to the NIC on my dad's 
> machine. While I can access the internet easily, I want my dad to be 
> able to connect to the internet with my freebsd box serving as the 
> gateway. Can anyone please explain to me in easy steps how to accomplish 
> this ?

The keyword is that you need to set up your machine as a gateway.
There are numerous guides available on how to do that (including the
FreeBSD Handbook (free, online and likely already on your system) my
PF tutorial (http://home.nuug.no/~peter/pf/) contains more than a few
hints, as do several books available at better bookstores), but I
would recommend that you pick literature that enables you to learn the
basics of TCP/IP as well as the actual commands needed.  Looking into
packet filtering for basic protection won't hurt either.  With those
keywords in hand, you should be able to dig up something useful.

- Peter
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.


More information about the freebsd-questions mailing list