Nov 302012
 

apt-get install pptpd
vi /etc/pptpd.conf

localip 4.0.0.254
remoteip 4.0.0.240-250

vi /etc/ppp/pptpd-options

ms-dns 4.0.0.1
nobsdcomp
noipx
mtu 1490
mru 1490

vi /etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client??????? server? secret????????????????? IP addresses
LoginName???????? *?????? mot2passe??????????????? *

service pptpd restart

vi /etc/sysctl.conf

net.ipv4.ip_forward=1

sysctl -p

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)