The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: FreeBSD as a router
Author: Dan Langille 
Date:   14-08-00 07:13

All of these entries are from /etc/rc.conf

change ed0 and ed1 to that appropriate to your box.

Change the IPs to that approriate to your situation

ifconfig_ed0="inet 192.168.1.1 netmask 255.255.255.0" <== private net
ifconfig_ed1="inet 192.168.0.20 netmask 255.255.255.0" <== internet


This allows the box to forward packets?
gateway_enable="YES"

You will also probably want NAT.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 FreeBSD as a router   new
cranky 14-08-00 03:28 
 RE: FreeBSD as a router   new
Stu 14-08-00 05:48 
 RE: FreeBSD as a router   new
cranky 14-08-00 06:00 
 RE: FreeBSD as a router   new
Marco Raposo 14-08-00 13:47 
 RE: FreeBSD as a router   new
Dan Langille 14-08-00 07:13 
 RE: FreeBSD as a router   new
David Richards 22-08-00 11:28 
 RE: FreeBSD as a router   new
elliot 23-08-00 12:14 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org