PPTP Side to Side
2. masuk winbox search ip lalu connect
3. lakukan konfigurasi pada router isp (R1) terlebih dahulu
ip address
- 10.10.10.1/24 ether2
- 192.168.11.1/24 ether1
- 20.20.20.1/24 ether3
ip dns
- 8.8.8.8 8.8.4.4 centang allow
ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)
ip route
-192.168.11.1
-dst (192.168.10.0/24 gateway 10.10.10.2)
-dst (192.168.20.0/24 gateway 20.20.20.2)
kamudian ping 8.8.8.8 di terminal
4. router jakarta(r2)
ip address
- 10.10.10.2/24 ether1
- 192.168.10.1/24 ether3
ip dns
- 8.8.8.8 8.8.4.4 centang allow
ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)
ip route
- 10.10.10.1
buat pptp
-klik ppp- klik pptp server- lalu klik enable
-klik submenu secrets- klik (+) untuk membuat user baru
user : anggi
pass : 1234
service : pptp
local add : 1.1.1.1
remote add : 1.1.1.2
routers : 192.168.20.0/24 1.1.1.2 (ok)
kemudian ping 8.8.8.8 dan 192.168.20.1 pastikan reply
5. router surabaya (r3)
ip address
- 20.20.20.2/24 ether1
- 192.168.20.1/24 ether3
ip dns
- 8.8.8.8 8.8.4.4 centang allow
buat pptp
-klik ppp- klik(+) pilih pptp client
submenu gineral name = to jakarta(r2)
submenu dial out : connect to = 10.10.10.2
user =anggi
pass =1234
ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)
- nat- srcnat -out.int(to jakarta) -action(masquerade)
kemudian ping 8.8.8.8 dan 192.168.10.1 pastikan reply
6. hasilnya
a. ping pc1 ke pc2
b. ping pc2 ke pc1
Tidak ada komentar:
Posting Komentar