Configuration of pptpd

vi /etc/pptpd.conf

(especially the localip and remoteip tags, see the ROUTING CHECKLISTS in man pptpd.conf for more details)

"localip" is linux pptpd server IP

ppp /usr/sbin/pppd option /etc/ppp/options.pptpd speed 115200 debug localip 192.168.1.253 remoteip 192.168.1.100-120 bcrelay eth0 stimeout 2

vi /etc/ppp/options.pptpd

(especially ensure the MPPE options match your PPP version),

name pptpd refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 proxyarp lock nobsdcomp novj novjccomp nologfd debug logfile /var/log/pptpd.log

vi /etc/ppp/chap-secrets

(add a username and password for a client to log in with),

* - random IP address assignment

# client server secret(PW) IP addresses alan pptpd 123456 * alan2 pptpd 654321 192.168.1.100


P.S.: After modification, restart pptpd service


Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.