Mikrotik | VPN PPTP - Tunnel
Point to Point Tunneling Protocol (PPTP)
Salah satu protocol yang digunakan untuk membangun VPN adalah Point to Point Tunneling Protocol. VPN menawarkan tingkat encryption yang lebih aman selain fittur authentication, inilah membuat VPN pilihan yang wajib jika anda membuat level keaman lebih baik pada saat anda membuat tunneling.
R1-HO
ppp secret add local-address=10.12.12.1 name=user1 password=123456 profile=default-encryption remote-address=10.10.10.2 routes=172.16.10/24 service=pptp
ppp secret add local-address=10.12.12.1 name=user2 password=123456 profile=default-encryption remote-address=10.10.10.3 routes=172.16.20/24 service=pptp
ip firewall filter add chain=input comment="VPN-PPTP in" dst-address=192.168.189.10 dst-port=1723 in-interface=ether1 protocol=tcp action=accept
ip firewall filter add chain=input dst-address=192.168.189.10 in-interface=ether1 protocol=gre action=accept
interface pptp-server server set enabled=yes
Optionalip route add disabled=no distance=1 dst-address=10.87.20.0/24 gateway=10.12.12.2 scope=30 target-scope=10
ip route add disabled=no distance=1 dst-address=10.87.20.0/24 gateway=10.12.12.3 scope=30 target-scope=10
R2-Branch
ip route add disabled=no distance=1 dst-address=10.87.10.0/24 gateway=10.12.12.1 scope=30 target-scope=10
R2-BR-01
interface pptp-client add add-default-route=no
allow=pap,chap,mschap1,mschap2 connect-to=192.168.189.10 name=pptp-out1
user=user2 password=123456 profile=default-encryption disabled=no
ip route
add disabled=no distance=1 dst-address=10.87.10.0/24 gateway=10.12.12.1 scope=30 target-scope=10
Verifikasi:
Ping antar PC.
Posting Komentar untuk "Mikrotik | VPN PPTP - Tunnel"