Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 13:52:48 +0300
From:      Mihai Tanasescu <mihai@duras.ro>
To:        freebsd-net@freebsd.org
Subject:   Can't get MPD to work..doesn't listen on interface
Message-ID:  <46A72B80.8040400@duras.ro>

next in thread | raw e-mail | index | archive | help
Hello,


I've just setup my first MPD for establishing a PPTP tunnel with some 
Windows clients...and I don't understand why it doesn't bind to my 
interface IP to listen for incoming connections.


My config looks like this:

mpd.conf

startup:
 
 set console open
 set console ip 86.105.56.134
 set console user skyraven test

default:
load pptp1

pptp1:
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 172.20.1.1/32 172.20.1.51/32
 set ipcp dns 172.20.1.1
 set ipcp nbns 172.20.1.1 172.20.1.8
 set bundle enable compression
 set ccp yes mppc
 set ccp yes mpp-e40
 set ccp yes mpp-e128
 set ccp yes mpp-stateless

mpd.links

pptp1:
set link type pptp
set pptp sef my-public-ip-address
set pptp enable incoming
set pptp disable originate

After starting mpd I get no errors, I have the netgraph modules loaded 
but nothing is listening on tcp port 1723 for pptp (and the socket isn't 
already in use).

Any ideas what I might be doing wrong ? (sorry for being just a newb here)

I don't know if this is the right list to ask or if it would be better 
to direct this to freebsd-questions.
Sorry.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A72B80.8040400>