mpd pptp server?
Jon Theil Nielsen
jontheil at gmail.com
Thu Mar 20 16:19:41 PDT 2008
2008/3/20, Alexander Motin <mav at freebsd.org>:
> On Wed, 19 Mar 2008 00:43:58 +0100 Jon Theil Nielsen
> <jontheil at gmail.com> wrote:
> > Do I need to have a customized kernel to make it work? Or are there any
> > obvious errors in the above configuration?
> Mpd4 should work without special system tuning. The best way to find the
> problem is to read it's logs. Mpd writes detailed logs using syslog (you
> should configure syslog.conf for it alike to ppp) and to the stdout if
> running in foreground.
I finally got it working with mpd4 (can only check it from my own private
network right now). Files are as follow
new -i ng0 pptp1 pptp1
set iface disable on-demand
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
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 ipcp yes vjcomp
set ipcp ranges 192.168.1.4/32 192.168.1.151/32
set ipcp dns 188.8.131.52 184.108.40.206
set ipcp nbns 192.168.1.4
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set link type pptp
set pptp enable incoming
set pptp disable originate
Hope I can access my (Samba) homedrive from the outside.
Line compression doesn't seem to work, but that has something to do with
some proprietary MS stuff or what?
There is now way I can authenticate via my Samba or system passowrds?
Thanks for the advices so far...!
More information about the freebsd-questions