Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 20:28:23 -0400
From:      "Stephen A. Derdau" <sderdau@ne.mediaone.net>
To:        Bryce Newall <data@dreamhaven.net>
Cc:        FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: IP Forwarding
Message-ID:  <36269327.CEA0DC01@ne.mediaone.net>
References:  <Pine.NEB.3.96.981015164447.19668N-100000@ds9.dreamhaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
We'll I just got my system up and running not that long ago
1. had to install isc-dhcp2
	I used the script for freebsd for dhclient.conf
	
2. got natd working
	set options in the kernel for
	ipdivert and ipfirewall

OOoops almost forgot ....Got alot of help from 
	people on this list and also
the search page see my link in signature

Hope this helps you.


Bryce Newall wrote:
> 
> Greetings!
> 
> Has anyone successfully set up IP Masquerading (perhaps I'm using a
> Linuxism here?) under FreeBSD?  Long ago, my FreeBSD machine at home ran
> Linux, and I followed a procedure that involved compiling a few extra
> options into the kernel and setting up some routing, which would allow my
> box to act as a gateway and "firewall" for other machines on my little
> home network, so that they could all talk to the outside world through the
> Linux box, instead of having to purchase additional IPs at $5/month from
> my cable modem provider.  I had 2 ethernet cards in the machine; one for
> the local network, and one for the interface to the cable modem.
> 
> However, since switching over to FreeBSD, I've never quite figured out how
> to get it going.  I had to enable a couple of things in /etc/rc.conf
> (don't remember what they were by now), but what I really had a hard time
> with was setting up the routing.  Under Linux, I understood the "route"
> command -- I don't remember the exact syntax anymore, but basically I
> would set the default gateway for the secondary ethernet card (eth1) to
> the primary ethernet card (eth0).  I didn't have to actually specify the
> IP address, since my cable ISP uses DHCP; rather, I just specified the
> interface name, eth0.  I'd imagine I would do something similar under
> FreeBSD, but I can't figure out the syntax of the route command under
> FreeBSD.  I've been all over the man pages and have looked through the
> Handbook and Mailing List Archives, but haven't found a solution.
> 
> Does anyone have a simple (or even complex :> ) procedure that I can
> follow that outlines everything I'd have to do on my system to allow it to
> act as a gateway for my other machines?  Not only would it save me
> $10/month for the two additional IPs I'm paying for, but it would also
> allow my internal printer and file sharing to continue working if the
> cable service goes down (which has been happening somewhat frequently
> lately).
> 
> Thanks very much in advance!
> 
> **********************************************************************
> *       Bryce Newall       *       Email: data@dreamhaven.net        *
> *               WWW: http://home.dreamhaven.net/~data                *
> *       "Insanity takes its toll.  Please have exact change."        *
> **********************************************************************
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
When you find out the answer it's always something 
you thought you knew :-)
Answers here http://www.free.bsd.org/search

Happily Running!
FreeBSD 2.2.7-STABLE #0: 
Fri Oct  9 19:54:29 EDT 1998     
sderdau@SDERDAU.ne.mediaone.net

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?36269327.CEA0DC01>