martes, 19 de junio de 2007

How to Install a VPN server using Linux

1. Download pptpd using package manager:
yum install pptpd
or
apt-get install pptpd

2. Edit /etc/pptpd.conf

option /etc/ppp/pptpd-options
logwtmp
localip 192.168.10.254
remoteip 192.168.10.200-220


3. Add users in /etc/ppp/chap-secret
peter pptpd uglypassword *

4. Edit /etc/rc.local and add

pptpd &


5. If you need to debug

tail -f /var/log/messages &