Mikrotik PPTP Server Creates
- Aktifkan fitur PPTP VPN Server Mikrotik. Masuk ke menu PPP --> Pada Tab Interface --> Klik PPTP Server --> Centang kotak Enabled --> OK
- Selanjutnya kita buat User PPTP VPN nya. Masuk ke tab Secret --> Klik Tombol + --> Isikan Data Sebegai Berikut :
- Name : Username PPTP VPN nya
- Password : Password PPTP VPN nya
- Service : Pilih service yang digunakan, bisa pilih pptp atau pilih any saja.
- Profile : Pilih profile yang akan digunakan, pilih default-encryption saja.
- Local Address : IP Address yang akan digunakan oleh PPTP VPN Server
- Remote Address : IP Address yang akan diberikan kepada PPTP VPN Client
Ubuntu PPTP Client
sudo apt-get update
cd /etc/ppp/peers
apt install pptp-linux
touch PPTP
nano /etc/ppp/peers/PPTP
pty "pptp Your_Server_IP --nolaunchpppd --debug"
name Your_Username
password Your_Password
remotename PPTP
require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
noauth
debug
persist
maxfail 0
defaultroute
replacedefaultroute
usepeerdns
chmod 600 /etc/ppp/peers/PPTP
pon PPTP
poff PPTP
ifconfig ppp0
tail -f /var/log/syslog | grep pptp
- Route Pool behind PPTP Server
Reference