Hello,
Following the below URL I am attempting to set up a PPTP VPN server on my FreebBSD 9 box using MPD5. I have configured both mpd.conf and mpd.secret with the same username and password but when I attempt to log in to http://192.168.1.31:5006/ or [cmd=]telnet 192.168.1.31 5006[/cmd] I keep getting authentication failures. Have I not set the user/password correctly in the configuration file? What am I missing?
I used the instructions here: http://blog.up-link.ro/freebsd-how-to-install-and-configure-a-pptp-server-with-mpd5-on-freebsd-8-2/
My Mpd5.conf file reads as:
My mpd.secret file reads:
Thanks,
-Tim
Following the below URL I am attempting to set up a PPTP VPN server on my FreebBSD 9 box using MPD5. I have configured both mpd.conf and mpd.secret with the same username and password but when I attempt to log in to http://192.168.1.31:5006/ or [cmd=]telnet 192.168.1.31 5006[/cmd] I keep getting authentication failures. Have I not set the user/password correctly in the configuration file? What am I missing?
I used the instructions here: http://blog.up-link.ro/freebsd-how-to-install-and-configure-a-pptp-server-with-mpd5-on-freebsd-8-2/
My Mpd5.conf file reads as:
Code:
startup:
# configure mpd users
set user <pptpadmin> tim
set user <pptpadmin> <astrongpassword>
# configure the console
set console self 0.0.0.0 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open
default:
load pptp_server
pptp_server:
# Mpd as a PPTP server compatible with Microsoft Dial-Up Networking clients.
# Define dynamic IP address pool.
set ippool add pool1 <192.168.1.40> <192.168.1.45>
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges <192.168.1.31>/<255.255.255.0> ippool pool1
set ipcp dns <192.168.1.1>
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap eap
set link enable chap
# Enable utmp/wtmp logging
set auth enable system-acct
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
# Configure PPTP
set pptp self <192.168.1.31>
# Allow to accept calls
set link enable incoming
My mpd.secret file reads:
Code:
MyLogin MyPassword
PeerLogin PeerPassword
tim "astrongpassword" 192.168.1.40
Thanks,
-Tim