FreeBSD Dial up server
the_brothel at hotmail.com
Thu Apr 15 08:09:03 PDT 2004
I've been trying to set up an ISP like setup for a home lan. ie. have dial
in client use cable modem to access the internet and other lan clients.
I'm using freebsd 4.8 and have just changed from ipfw/natd to ipf/ipnat.
I have the issue where clients dial in, authenticate, logon but can't access
anything on the server or lan.
I've gone right back to basics and added the sample server section from the
enable chap chap80 chap81 pap passwdauth
set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199
In ipnat.rules there is a map command used to map all the packets going out
on the tun0 interface, but it's use looks to be for dial out isp connection.
With packets coming in from a dial in client should i map packets back in
instead, or both ways??
i have the ipnat.rules file as follows
map tl0 192.168.1.0/24 -> 0/32
map tun0 192.168.1.0/24 -> 0/32
map tun0 0/32 <- 0/32
If so, will the last command allow packets being passed from the tun0
interface coming into the server to just pass through with it's assigned ip
address from ppp.conf?
I have included all the options in rc.conf from the handbook and it looks to
ifconfig_sis0="inet 192.168.1.1 netmask 255.255.255.0"
Thanks for the help.
Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to
More information about the freebsd-questions