Bagi anda yang menggunakan mikrotik dirumah dengan menggunakan akses internet yang mendapatkan IP public dinamis . bisa menggunakan langkah2 dibawah ini untuk meremote mikrotik anda dari manapun. disini saya menggunakan mikrotik rb750 , ver 5.2 .
Langkah2 :
1. Buat akun gratis di changeip.com
2. Buat domain geratis di changeip.com
3. Simpan username , password dan nama domain kita untuk script nanti (agar kalo lupa ada catatan)
4. Buka mikrotik dengan winbox
5. Masuk ke system à script
6. Copy script dibawah , kemudian edit "YourChangeIPUserID" , “PASSWORD” , "MyRouterHostname.example.org" . ganti dengan username , password dan nama domain yang kita buat tadi
7. Masuk ke menu system à schedule . set berapa kali system akan mengupdate IP kita ke changeip.com . contoh “00:15:00” artinya setiap 15 menit sekali akan terupdate
8. Konfigurasi selesai , skarang buka browser dan ketik nama domain kita , enter.
9. Jika tidak ada masalah seharusnya muncul halaman login mikrotik kita
# Dynamic DNS Update /
Simple Edition
# Written by Sam
Norris, ChangeIP.com
# Copyright
ChangeIP.com 2009-2010
# For support send
mail to Support@ChangeIP.com
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EDIT YOUR DETAILS /
CONFIGURATION HERE
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:global ddnsuser
"YourChangeIPUserID"
:global ddnspass
"PASSWORD"
:global ddnshost
"MyRouterHostname.example.org"
:global ddnsinterface
"ether1"
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# END OF USER DEFINED
CONFIGURATION
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:global ddnssystem
("mt-" . [/system package get [/system package find name=system]
version] )
:global ddnsip [ /ip
address get [/ip address find interface=$ddnsinterface] address ]
:global ddnslastip
:if ([:len [/interface
find name=$ddnsinterface]] = 0 ) do={ :log info "DDNS: No interface
named $ddnsinterface, please check configuration." }
:if ([ :typeof
$ddnslastip ] = "nothing" ) do={ :global ddnslastip 0.0.0.0/0 }
:if ([ :typeof
$ddnsip ] = "nothing" ) do={
:log info ("DDNS:
No ip address present on " . $ddnsinterface . ", please check.")
} else={
:if ($ddnsip != $ddnslastip) do={
:log info "DDNS: Sending
UPDATE!"
:log info [ :put [/tool
dns-update name=$ddnshost address=[:pick $ddnsip 0 [:find $ddnsip "/"]
] key-name=$ddnsuser key=$ddnspass ] ]
:global ddnslastip $ddnsip
} else={
:log info "DDNS: No changes
necessary."
}
}
# END OF SCRIPT
Tidak ada komentar:
Posting Komentar