Detects your public IP behind NAT using MikroTik IP Cloud and updates DDNS accordingly.
Edit these variables inside the script:
:global ddnsuser "youruser"
:global ddnspass "yourpassword"
:global ddnshost "hostname.ddns.net"
:global theinterface "ether1"
- Go to System > Scripts
- Create a script named
ddns-nat-cloud
- Paste the contents of
ddns-nat-cloud.rsc
- Set permissions:
read
,write
,policy
,test
/system scheduler
add name="ddns-nat-cloud" interval=5m on-event="/system script run ddns-nat-cloud" policy=read,write,test
Ανιχνεύει τη δημόσια IP πίσω από NAT μέσω του IP Cloud και ενημερώνει το DDNS.
Αλλάξτε τις εξής μεταβλητές στο script:
:global ddnsuser "youruser"
:global ddnspass "yourpassword"
:global ddnshost "hostname.ddns.net"
:global theinterface "ether1"
- Πήγαινε στο System > Scripts
- Δημιούργησε νέο script με όνομα
ddns-nat-cloud
- Επικόλλησε το περιεχόμενο του
ddns-nat-cloud.rsc
- Ρύθμισε δικαιώματα:
read
,write
,policy
,test
/system scheduler
add name="ddns-nat-cloud" interval=5m on-event="/system script run ddns-nat-cloud" policy=read,write,test
Thanos Pournaras
🔗 https://thanosnm.github.io