Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 11:38:02 +0100
From:      "Marcin M. Jessa" <yazzy@ezunix.org>
To:        freebsd-isp@freebsd.org, freebsd-questions@freebsd.org
Subject:   mpd
Message-ID:  <20021121103802.GA4752@yazzy.org>

next in thread | raw e-mail | index | archive | help
Howdy

I have tried to install a server with VPN over pptp using mpd from ports.
It starts fine but I cannot connect to it and nothing goes to /var/log/ppp.log
The VPN box is my firewall. I am trying to connect to it from Windows2K with static inet IP creating connection directly to the outside inet IP of my VPN FreeBSD firewall.
I have also this rule in my firewall script:
ipfw add allow tcp from any to $oip1 1723 keep-state 
I have this entry in my syslog.conf
!ppp
*.*                                             /var/log/ppp.log

mpd is started with mpd -b option.
sockstat -l4 doesnt show mpd either, i donno if it should tho...

Any idea why it fails? 

The config files are following:
/usr/local/etc/mpd/mpd.conf :

vpn:                                                                                                                                                
        load pptp                                                                                                                                       
                                                                                                                                                        
pptp:                                                                                                                                                   
        new -i ng0 pptp pptp                                                                                                                            
        set iface disable on-demand                                                                                                                     
        set iface idle 1800                                                                                                                             
        set bundle enable multilink                                                                                                                     
        set link yes acfcomp protocomp                                                                                                                  
        set link no pap chap                                                                                                                            
        set link enable chap                                                                                                                            
        set link keep-alive 10 60                                                                                                                       
        set link mtu 1460                                                                                                                               
        set ipcp yes vjcomp                                
#       set ipcp ranges 0.0.0.0/0                                                                                             
        set ipcp ranges 192.168.64.10/32 192.168.1.250/32 
        set ipcp dns 192.168.64.5  
        set ipcp nbns 192.168.64.3
#                                                                                                                                                       
# The five lines below enable Microsoft Point-to-Point encryption                                                                                       
# (MPPE) using the ng_mppc(8) netgraph node type.                                                                                                       
#                                                                                                                                                       
        set bundle enable compression                                                                                                                   
        set ccp yes mppc                                                                                                                                
        set ccp yes mpp-e40     
#       set ccp no  mpp-e40
        set ccp yes mpp-e128                                                                                                                           
        set ccp yes mpp-stateless   


/usr/local/etc/mpd/mpd.links:

vpn:
        set link type pptp
        set pptp self 192.168.64.2
        set pptp peer 11.223.34.56
        set pptp enable originate incoming outcall

and

/usr/local/etc/mpd/mpd.secret :

yazzy          "xxxyyyzzz"

-- 










Marcin M. Jessa
Software developer/System Administrator
Wireless Reading Systems ASA
 Skreddervn 9
 N-1537 Moss
 Phone: +47 69 27 96 88
 Cellular: +47 988 505 44




Just because it works does not make it right.

Uptime: 
11:27AM  up 3 days, 19:04, 2 users, load averages: 0.06, 0.03, 0.00

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?20021121103802.GA4752>