PPTP: Instalasi di Ubuntu 16.04

From OnnoWiki
Revision as of 09:36, 3 July 2018 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

cek apakah kernel yang anda gunakan mendukung untuk melakukan MPPE.

modprobe ppp-compress-18 && echo success

Instalasi PPTP

sudo su
locale-gen id_ID.UTF-8
apt update
apt -y install pptpd 

Edit /etc/pptpd.conf

vi /etc/pptpd.conf

Pastikan ada alokasi IP address

localip 192.168.1.1
remoteip 192.168.1.234-238,192.168.1.245

Restart PPTP

/etc/init.d/pptpd restart

Menambahkan User PPTP ke PPP Password

echo "username pptpd password *" >> /etc/ppp/chap-secrets
echo "onno pptpd 123456 *" >> /etc/ppp/chap-secrets


Untuk Latihan

Set IP tambahan di ethernet, misalnya,

ifconfig ens18:1 192.168.1.2

Server Internal LAN

192.168.1.100


Referensi

Pranala Menarik