Konfigurasi VPN SERVER di Debian 11

Berikut adalah langkah-langkahnya :


1. nano /etc/network/interfaces
auto enp0s3
Iface enp0s3 inet dhcp

auto enp0s8
iface enp0s8 inet static
address 192.168.100.1/24
systemctl restart networking
ip a

2. apt update

apt install pptpd
nano /etc/pptpd.conf
Search : localip
localip 192.168.100.1
remoteip 192.168.100.10

3. nano /etc/ppp/chap-secrets
client server secret IP Adresses
donni * 123456 *

4. nano /etc/ppp/pptpd-options
ms-dns 192.168.100.1
ms-dns 202.134.0.155
systemctl restart pptpd

5. Atur alamat client
192.168.100.2
255.255.255.0
192.168.100.1
192.168.100.1

7. Atur VPN di client
Video untuk tutorial ini bisa diklik link dibawah :

https://www.youtube.com/watch?v=svMAC72bQqE&t=296s


Terimakasih, mudah-mudahan bermanfaat

Donni Zulhardi

Tunjukilah kami jalan yang lurus

Posting Komentar (0)
Lebih baru Lebih lama