mpd isn't listening on 1723 because he can't get it thhough it
isn't used
Henri Hennebert
hlh at restart.be
Tue Jul 10 19:32:33 UTC 2007
Bernard T. Higonnet wrote:
> Hello,
>
> I want to set up a VPN server on a freebsd machine so Windows clients can use
> it.
>
> I am using FreeBSD 6.1 and mpd 3.18 from the ports collection.
>
> When I run mpd I get this:
>
> mpd
> Multi-link PPP for FreeBSD, by Archie L. Cobbs.
> Based on iij-ppp, by Toshiharu OHNO.
> mpd: pid 11377, version 3.18 (root at freebsd2.paristolet.com 10:10 8-Jul-2007)
> [bundle1] ppp node is "mpd11377-bundle1"
> mpd: bind: Can't assign requested address
> mpd: can't get PPTP listening socket
> mpd: bind: Can't assign requested address
> mpd: can't get PPTP listening socket
> [bundle1] using interface ng0
>
> Of course since he couldn't get a hold of port 1723 he couldn't establish a
> socket and nothing happens. netstat shows no one is listening on 1723:
>
> netstat -a | fgrep LIS
> tcp4 0 0 freebsd2.ssh montreal.50547 ESTABLISHED
> tcp4 0 0 freebsd2.ssh montreal.61574 ESTABLISHED
> tcp4 0 0 *.ssh *.* LISTEN
> tcp6 0 0 *.ssh *.* LISTEN
> tcp4 0 0 *.smtp *.* LISTEN
> tcp6 0 0 *.nfsd *.* LISTEN
> tcp4 0 0 *.nfsd *.* LISTEN
> tcp6 0 0 *.636 *.* LISTEN
> tcp4 0 0 *.637 *.* LISTEN
> tcp4 0 0 *.sunrpc *.* LISTEN
> tcp6 0 0 *.sunrpc *.* LISTEN
>
> There is no other instance of mpd running
>
> Here are the mpd conf and link files:
>
> default:
> load pptp1conf
> # load pptp2conf
>
> pptp1conf:
> new -i ng0 bundle1 pptp1
> set ipcp ranges 192.168.1.103/32 192.168.1.200/32
^^^^^^^^^^^^^
Is this address defined on your server ?
Henri
> load common
>
> #pptp2conf:
> # new -i ng1 bundle2 pptp2
> # set ipcp ranges 192.168.1.103/32 192.168.1.201/32
> # load common
>
> common:
> set iface disable on-demand
> set iface enable proxy-arp
> set iface idle 0
> set iface enable tcpmssfix
> set bundle enable multilink
> set link enable acfcomp protocomp
> set link no pap chap
> set link enable chap
> # set link mtu 1460
> set link keep-alive 10 60
> set ipcp yes vjcomp
> set ipcp dns 208.67.222.222 208.67.220.220
> #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
>
>
>
> pptp1:
> set link type pptp
> set pptp self 82.238.41.134 500
> set pptp enable incoming
> set pptp disable originate
>
> pptp2:
> set link type pptp
> set pptp self 82.238.41.134
> set pptp enable incoming
> set pptp disable originate
>
>
> As usual, all help appreciated
> Bernard Higonnet
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list