configure mpd

From: madunix (madunix_at_web.de)
Date: 09/21/04

  • Next message: John Brooks: "RE: Howto Filter Mails"
    To: muc-lists-freebsd-isp@moderators.muc.de
    Date: Tue, 21 Sep 2004 10:29:20 +0200
    
    

    I want to use mpd to build VPN links over the internet
    to Windows2000 boxes, I installed the 'mpd' system from ports/net/mpd.
    Then created the following files in /usr/local/etc/mpd/.
    mpd.conf
    mpd.links
    mpd.secret

    ----------mpd.conf----
    default:

    load pptp0 # Load the pptp session
    load pptp1

    pptp0:

    new -i ng0 pptp0 pptp0 #Create netgraph device
    set iface disable on-demand
    #set iface enable proxy-arp
    set bundle disable multilink
    set link yes acfcomp protocomp
    set link no pap chap
    set link enable chap #CHAP authentication
    set link keep-alive 60 180
    set ipcp yes vjcomp
    set ipcp ranges 10.5.1.11/16 0.0.0.0/0 #IP range for connection
    #set ipcp dns 10.5.1.11 #DNS Server address
    #set ipcp nbns 10.5.1.11 #NetBIOS Server address
    #set ipcp ranges 0.0.0.0/0 0.0.0.0/0

    set bundle enable compression #Compression and encryption
    set ccp yes mppc
    #set ccp yes mpp-e40
    set ccp no mpp-e40
    set ccp yes mpp-e128
    set ccp yes mpp-stateless
    set bundle yes crypt-reqd

    ---------mpd.links------------
    pptp0:
    set link type pptp
    #set pptp self X.Y.Z.W
    set pptp self 10.5.1.11
    set pptp enable incoming
    set pptp disable originate

    ----------mpd.secret-----
    #fred "fred-pw"
    #joe "foobar" 192.168.1.1
    #bob "\x34\"foo\n" 192.168.1.10/24
    #sal "yipee" 192.168.1.254
    vpn "vpn" *

    The FreeBSD server:
    sdcftp# uname -a
    FreeBSD sdcftp.go.com.jo 5.2-RELEASE FreeBSD 5.2-RELEASE
    #0: Sun Jan 11 04:21:45 GMT 2004
    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

    ifconfig -a (NIC with PUBLIC IP and PRIVATE IP)
    pcn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
            ether 00:06:29:55:39:eb
            media: Ethernet autoselect (none)
            status: no carrier
    xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            options=b<RXCSUM,TXCSUM,VLAN_MTU>
            inet 10.5.1.11 netmask 0xffff0000 broadcast 10.5.255.255
            inet6 fe80::201:2ff:fe75:93cf%xl0 prefixlen 64 scopeid 0x2
            inet X.Y.Z.W netmask 0xfffffff0 broadcast 194.165.152.15
            ether 00:01:02:75:93:cf
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active

    when I run
    sdcftp# /usr/local/sbin/mpd
    Multi-link PPP for FreeBSD, by Archie L. Cobbs.
    Based on iij-ppp, by Toshiharu OHNO.
    mpd: pid 87373, version 3.18 (root@sdcftp.go.com.jo 17:51 20-Sep-2004)
    [:]

    from Client side it gave error VPN connection terminated locally by client
    Failed to establish coonection .... from the client side i am usinf Cisco
    VPN client Ver. 4.0.1 for Windows

    Any input would be really apprecaited.

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: John Brooks: "RE: Howto Filter Mails"

    Relevant Pages

    • configure mpd
      ... I want to use mpd to build VPN links over the internet ... set link yes acfcomp protocomp ... set ccp yes mppc ... #set pptp self X.Y.Z.W ...
      (comp.unix.bsd.freebsd.misc)
    • MPD-problem.
      ... set link yes acfcomp protocomp ... set ipcp yes vjcomp ... set ccp yes mppc ... set pptp enable incoming ...
      (freebsd-questions)
    • Re: mpd - question 3: it still doesnt work...
      ... > set link yes acfcomp protocomp ... > set bundle enable compression ... > set ccp yes mpp-e40 ... > set pptp enable incoming ...
      (freebsd-questions)
    • FreeBSD VPN client to a Windows network using MPD
      ... I recently tried to set up a VPN connection from home to the office ... set ccp yes mpp-e40 ... set link yes acfcomp protocomp ...
      (freebsd-net)
    • Re: mpd vs. mpd4 in ports
      ... But mpd4 doesn't responsed to my windows pptp service request. ... I have remove mpd4 and install mpd from the prots, ... set link yes acfcomp protocomp ... #set pptp self 61.88.4.114 ...
      (comp.unix.bsd.freebsd.misc)