Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 15:25:38 -0800 (PST)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Eqab Almutairi <gulfservers@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hello sir/madam
Message-ID:  <Pine.BSF.4.10.10101021518280.75427-100000@andrsn.stanford.edu>
In-Reply-To: <F16GijnlGhJ7nnsbg2G00009d92@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You first get the FreeBSD machine connected to the Internet so it works.

Then you get the Windows machine so it can communicate internally with
the FreeBSD machine.  You should be able to ftp from the Windows machine
to the FreeBSD machine, telnet to it (if telnet is enabled) and ping
one from the other.

Then you enable ipfw on the FreeBSD machine (the loadable kernel module,
ipfw, loads with "deny all" so you have to adjust the rules) and set up
your ipfw firewall with appropriate entires in rc.conf. (Reboot to get
it to take effect.) (Be sure to enable gateway.)

You set the default route of the Windows machine to be the internal 
address of the FreeBSD machine.

You run natd -n <external interface> on the FreeBSD machine.  The
default route on the FreeBSD machine should be your ISP.

See man natd--it gives all the info.  Note you don't have to compile
ipfw into your kernel as you can load the module.

	Annelise

	

On Tue, 2 Jan 2001, Eqab Almutairi wrote:

> Hello Sir/Madam
> i m looking for some quick help realy.
> i have here 2 computers 1 useing windows98 scounder one useing FreeBSD also 
> both useing dlink card ethernet hub, how i can make windows computer can 
> access internet etc.. via freebsd computer
> i mean is there anyfile need to edit to make the windows computer have 
> access to internet on anytime the freebsd computer run?
> 
> thanks hope you help me with this problem thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10101021518280.75427-100000>