Cara Configurasi PPTP Server dan PPTP Client di RouterOS











[admin@Router-Hotspot] > 
/ip address
add address=192.168.1.2/30 interface=ether1 network=192.168.1.0
/ip route
add distance=1 dst-address=192.168.3.0/30 gateway=192.168.1.1

[admin@Router-PPPOE-Server] >
/ip address
add address=192.168.2.2/30 interface=ether2 network=192.168.2.0
/ip route
add distance=1 dst-address=192.168.3.0/30 gateway=192.168.2.1

[admin@Router-Banjarmasin] >
/interface pptp-server server
set enabled=yes
/ip address
add address=192.168.1.1/30 interface=ether1 network=192.168.1.0
add address=192.168.2.1/30 interface=ether2 network=192.168.2.0
add address=180.180.180.1/30 interface=ether3 network=180.180.180.0
/ip route
add distance=1 dst-address=192.168.3.0/30 gateway=<pptp-client-banjarmasin>
/ppp secret
add local-address=10.1.1.1 name=client-banjarmasin password=client-banjarmasin remote-address=10.1.1.11

[admin@Router-Surabaya] > 
/interface pptp-client
add connect-to=180.180.180.1 disabled=no name=pptp-banjarmasin password=client-banjarmasin user=client-banjarmasin
/ip address
add address=180.180.180.2/30 interface=ether3 network=180.180.180.0
add address=192.168.3.1/30 interface=ether4 network=192.168.3.0
/ip route
add distance=1 dst-address=192.168.1.0/30 gateway=pptp-banjarmasin
add distance=1 dst-address=192.168.2.0/30 gateway=pptp-banjarmasin

Kita ping dari PC ke Router Hotspot












Kita trace dari PC ke Router Hotspot










Terlihat paket yang dikirimkan dari PC menuju Router Hotspot menggunakan gateway PPTP Server yaitu 10.1.1.1

Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi PPTP Server dan PPTP Client di RouterOS"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel