Date: Sat, 29 Jun 2002 23:49:16 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Anthony Volodkin <anthonyv@brainlink.com> Cc: freebsd-net@freebsd.org Subject: Re: problems with mpd as a pptp server Message-ID: <Pine.BSF.4.21.0206292333440.83327-100000@InterJet.elischer.org> In-Reply-To: <3D1EA1E3.3010103@brainlink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Jun 2002, Anthony Volodkin wrote: > Hi, > > Julian Elischer suggested that I use mpd to setup a pptp link instead of > PoPtoP (thank you) > I am now having problems with mpd. I configured it as a pptp server > accoring to instructions, but it never responds to requests. > Furthermore, I doubt it even listens for them, because it does not > appear in the output of 'sockstat' as bound to a socket (like apache, > and others do). How can I get it to bind to a port and listen? I did > specify my external ip in the mpd.links file. On an unrelated note, if i > start mpd and run 'show link', i get the following: mpd uses netgraph to do all it's protocoll work. the sockets therefore cannot be assigned to a process and don't show up in sockstat. in 4.x I think it loads all teh modules it needs but you should do a 'ngctl types' after running it to see that they are loaded properl. > > [pptp1:pptp1] show link > Link pptp1: > Configuration > MRU : 1500 bytes > Ctrl char map : 0x000a0000 bytes > Retry timeout : 2 seconds > Max redial : 0 connect attempts > Bandwidth : 64000 bits/sec > Latency : 2000 usec > Keep-alive : every 10 secs, timeout 60 > Ident string : "" > Link level options > Name Self Peer > ---------------------------------------- > pap disable deny > chap enable deny > acfcomp enable accept > protocomp enable accept > magicnum enable > passive disable > check-magic enable > no-orig-auth disable > callback disable > Traffic stats: > Octets input : 0 > Frames input : 0 > Octets output : 0 > Frames output : 0 > Bad protocols : 0 > Runts : 0 > Dup fragments : 0 > Drop fragments : 0 > Device specific info: > mpd: caught fatal signal segv > mpd: fatal error, exiting > [pptp0] IPCP: Down event > [pptp0] IFACE: Close event > [pptp1] IPCP: Down event > [pptp1] IFACE: Close event > mpd: process 870 terminated > > > I am running -STABLE built from 062802 (I can post kernel config if you > want). mpd 1.8. wow where did you find such an old mpd? (was it even released by archie at 1.8?) do you mean 3.8? here's my config file (altered IP addresses) ------- pptp_default: load pptp1 load pptp2 load pptp3 load pptp4 load pptp5 pptp_standard: set ipcp dns 132.232.78.2 set ipcp nbns 132.232.78.50 set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle disable 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 bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless pptp1: new -i ng0 pptp1 pptp1 set ipcp ranges 132.232.78.1/32 132.232.78.4/32 load pptp_standard pptp2: new -i ng1 pptp2 pptp2 set ipcp ranges 132.232.78.1/32 132.232.78.5/32 load pptp_standard pptp3: new -i ng2 pptp3 pptp3 set ipcp ranges 132.232.78.1/32 132.232.78.6/32 load pptp_standard pptp4: new -i ng3 pptp4 pptp4 set ipcp ranges 132.232.78.1/32 132.232.78.7/32 load pptp_standard pptp5: new -i ng4 pptp5 pptp5 set ipcp ranges 132.232.78.1/32 132.232.78.8/32 load pptp_standard ------------ (132.232.78.x are 'internal' addresses) and mpd.links: ------ pptp1: set link type pptp set pptp self 132.218.234.250 set pptp enable incoming set pptp disable originate pptp2: set link type pptp set pptp self 132.218.234.250 set pptp enable incoming set pptp disable originate pptp3: set link type pptp set pptp self 132.218.234.250 set pptp enable incoming set pptp disable originate pptp4: set link type pptp set pptp self 132.218.234.250 set pptp enable incoming set pptp disable originate pptp5: set link type pptp set pptp self 132.218.234.250 set pptp enable incoming set pptp disable originate ------ 132.218.234.250 is the 'external routable address. > > Here is my configuration: > mpd.conf: > > default: > load client0 > load client1 > > client0: > new -i ng0 pptp0 pptp0 > set ipcp ranges 192.168.1.1/32 192.168.1.101/32 > set iface disable on-demand > set iface enable proxy-arp > 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 ipcp yes vjcomp > set ipcp dns 66.228.0.17 > set bundle enable compression > set ccp yes mppc > set ccp yes mpp-e40 > set ccp yes mpp-e128 > set ccp yes mpp-stateless > > client1: > new -i ng1 pptp1 pptp1 > set ipcp ranges 192.168.1.1/32 192.168.1.102/32 > set iface disable on-demand > set iface enable proxy-arp > 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 ipcp yes vjcomp > set ipcp dns 66.228.0.17 > 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: > > pptp: > set link type pptp > set pptp self 24.152.7.133 > set pptp enable incoming > set pptp disable originate > > > > -- > Anthony Volodkin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0206292333440.83327-100000>