pptp server

gahn ipfreak at yahoo.com
Sun Jan 29 20:05:42 PST 2006


Hi all:

I configured pptp server on 5.4 and it seems to be
working (kinda):

1) From log file
Jan 30 03:07:03 home mpd: [pptp0] using interface ng0
Jan 30 03:07:03 home mpd: [pptp1] ppp node is
"mpd5309-pptp1"
Jan 30 03:07:03 home mpd: [pptp1] using interface ng1
Jan 30 03:07:03 home mpd: [pptp2] ppp node is
"mpd5309-pptp2"

2) From "ifconfig"
ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST>
mtu 1500
ng1: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST>
mtu 1500

Also I configured a client and placed it at the same
subnet of the external interface of the pptp server
(254.254.254.3) and tried to connect. Nothing happens.
mpd.log didn't even log any activities on the external
interface.

Here is the config for mpd.conf:

default:
        load pptp0
        load pptp1

pptp0:
        new -i ng0 pptp0 pptp0
        set ipcp ranges 192.168.100.1/28
192.168.100.5/28
        load common

pptp1:
        new -i ng1 pptp1 pptp1
        set ipcp ranges 192.168.100.1/28
192.168.100.6/28
        load common

client_common:
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set iface enable tcpmssfix
        set bundle disable multilink
        set bundle enable compression
        set bundle yes crypt-reqd
        set link no pap chap
        set link enable chap-msv2
        set link keep-alive 10 60
        set link enable acfcomp protocomp
        set ipcp yes vjcomp
        set ccp yes mppc
        set ccp yes mpp-e128

Here is the config for mpd.links

pptp0:
        set link type pptp
        set pptp self 254.254.254.1
        set pptp enable incoming
        set pptp disable originate

pptp1:
        set link type pptp
        set pptp self 254.254.254.254
        set pptp enable incoming
        set pptp disable originate

What did I do wrong? The firewall rule is to allow
from any to any. 

Any help would be greatly appreciated.

By the way, I am using mpd4. tried mpd3.18 and the
same problem.

Regards







__________________________________________________

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list