startup: # configure mpd users set user foo bar admin set user foo1 bar1 # configure the console set console self 127.0.0.1 5005 set console open # configure the web server set web self 0.0.0.0 5006 set web open default: load vpn vpn: create bundle static B1 set iface disable on-demand # the IP range of the remote network, change to "set iface route default" if you want all of your traffic going through the VPN set iface route 192.168.11.0/24 # disable header compression set ipcp no vjcomp set ipcp req-pri-dns set ipcp req-sec-dns set ipcp ranges 0.0.0.0/0 0.0.0.0/0 # Enable Microsoft Point-to-Point encryption (MPPE) set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set bundle enable crypt-reqd set mppc yes stateless create link static L1 pptp set link no pap set link no eap # disable CHAP as the server will get confused with it enabled set link disable chap set link action bundle B1 set auth authname "username_here" set auth password "password_here" set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 # IP address of the VPN PPTP server that you are trying to connect to set pptp peer 1.2.3.4 set pptp disable windowing set link enable no-orig-auth open