-
Mobilarena
Mikrotik routerekkel foglalkozó téma. Mikrotik router típusok, hardverek, router beállítások, programozás (scriptek írása), frissítés, és minden Mikrotik routerrel kapcsolatos beszélgetés helye.
Új hozzászólás Aktív témák
-
Ejelhar
senior tag
válasz
mazso1988 #25196 üzenetére
Szia,
az enyémbe ez mocorog:
##############Script Settings##################
:local NOIPUser "NOIPfelhasználónév"
:local NOIPPass "jelszó"
:local WANInter "WAN_Interfész_neve"
:local NOIPDomain "NOIP-átírandó domain"
###############################################
# Get the current IP on the interface
:local currentIP [/ip address get [find interface="$WANInter" disabled=no] address]
# Strip the net mask off the IP address
:for i from=( [:len $currentIP] - 1) to=0 do={
:if ( [:pick $currentIP $i] = "/") do={
:set currentIP [:pick $currentIP 0 $i]
}
}
:if ([:resolve $NOIPDomain server 1.1.1.1] != $currentIP) do={
/tool fetch mode=http user=$NOIPUser password=$NOIPPass url="http://dynupdate.no-ip.com/nic/update\3Fhostname=$NOIPDomain&myip=$currentIP" keep-result=no
:log info "NO-IP Update: $NOIPDomain - $currentIP"
}
Új hozzászólás Aktív témák
- 35" ASUS ROG Swift PG35VQ curved GAMER monitor
- Samsung Galaxy S21 Ultra / 12GB RAM 256GB / Gyárifüggetlen / 12Hó Garancia
- 14" Dell Latitude laptopok: 5400, 5480, 5490, 7480, E6410, E6440, E5450 / SZÁMLA + GARANCIA
- billentyűzetek - kiárusítás - Logitech, Corsair, ASUS
- 151 - Lenovo LOQ (15IAX9) - Intel Core i5-12450HX, RTX 4060
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest