On Fri, Feb 21, 2003 at 09:24:44PM +0200, molotov wrote: > I have a little problem with my home network. I had a Linux router > before and now I have FreeBSD set up and running on the same box. > The problem is, that I don't know what manual could speak about > that kind of routing: there are three additional IP addresses > routed to my gateway. I want an internal box to use the given > external IP address or an internal address, while gateway > configuration stays untouched. The external interface of > the gateway is a wireless orinoco card and I do not have an > ethernet-wireless converter, so the external interface should > be published to inside network in a way, that any chosen > machine from inside could use an external IP adress as it's IP > and the external IP address of the router as it's gateway. > Please help me to solve this problem. I know, that the solution > is trivial, but I admit, I still think in Linux... ;)
Hmmm... the keywords here are "Static NAT". Start with the natd(8) manual page. That should give you a handle on the terminology used for the different concepts. There's basically three possibilities to do what you want: ipfw(8) + natd(8) ipf(8) + ipnat(8) ppp(8) The ppp(8) option of course, only applies if you're using PPP in some form for your internet connectivity. Otherwise, use which ever one of the other two suits you best. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message