Home Networking With HALNet ADSL
Home       Print this page
Dialup NAT

     Please follow the FreeBSD router instructions and add/remove/replace ONLY what's shown below.

In the rc.conf you would put the following instead of natd_??? and don't specify a WAN interface (ppp will do that for you):
ppp_enable="YES"
ppp_mode="auto"
ppp_nat="YES"
ppp_user="root"
ppp_profile="hal"

You also need to configure PPP. As root do the following: cd /etc/ppp
cp ppp.conf ppp.conf.sample      #This will backup the sample that it comes with.

Save this ppp.conf to your /etc/ppp directory.
Edit the file and change ONLY the following to fit your needs. It will break at the slightest typeo, so be careful not to change anything else unless you know what you're doing.
set device /dev/cuaa0      #This is your modem. cuaa0=COM1 cuaa1=COM2 etc.
set phone *70,7136259909      #The *70, is for turning off Call Waiting. If you don't have it then DON'T us it.
set timeout 300      #This is the idle disconnect in miliseconds (this is 5 minutes, ie. 5*60=300)
set redial 3 10      #Redial attempts. These should be fine for most people.
set authname USERNAME      #Do I need to explain these last two?
set authkey PASSWORD

Continue on with Section 3 of the FreeBSD router instructions.


Join HAL-PC
http://www.hal-pc.org
4543 Post Oak Place Dr. Suite 200
Houston, Tx 77027-3103
713/993-3300



This site is designed to be of some assistance, however is not meant to be your sole source of information. By following the suggestions given on this page you understand that you do these things at your own risk. The steps mentioned here may or may not work for your purposes. There is no warranty or support of any kind provided by HAL-PC for the topics discussed in this site. The only support for your home network that is given is by me personally, at my choosing, on my own time, and via email only.
I know... I hate disclaimers too.

[Powered by FreeBSD]