Raspberry Pi – Configurer un serveur VPN
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
Laisser un commentaire