- Imilenni: Egy kis depi, remélem elfér itt :) 2#
- Luck Dragon: Asszociációs játék. :)
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- sziku69: Fűzzük össze a szavakat :)
- eBay-es kütyük kis pénzért
- sziku69: Szólánc.
- Sgr_A: Számítógépeim aktualizálása cseréje
- gban: Ingyen kellene, de tegnapra
- Meggyi001: RTX 5060 - Az új népkártya?
- bambano: Bambanő háza tája
-
LOGOUT
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
-
mcll
senior tag
Elkiabáltam. Bár ez nem egészen olyan volt, mert pont gépnél voltam, mikor elment a netem. Routert elértem, és minden belső IP-t is, csak netem nem volt. Viszont 1-2 perc után visszajött most a net (korábban csak reboot után). Azonban a DDNS_updater scriptem felakadt teljesen. Ez volt a logban:
10:44:00 script,info DynDNS: IP-DynDNS = 85.66.xx.xx
10:44:00 script,info DynDNS: IP-Fresh = 176.241.xx.xx
10:44:00 script,info DynDNS: Update IP needed, Sending UPDATE...!
10:44:02 fetch,info Download from 147.154.xx.xx FINISHED
10:44:04 script,info DynDNS: IP updated to 176.241.xx.xx!
10:44:04 system,info nat rule changed by scheduler:DDNS_updater/script:DDNS_updater/action:67 (/ip firewall nat set *5 dst-address=176.241.xx.xx)
10:44:04 system,info nat rule changed by scheduler:DDNS_updater/script:DDNS_updater/action:68 (/ip firewall nat set *6 dst-address=176.241.xx.xx)
10:45:00 script,info DynDNS: IP-DynDNS = 85.66.xx.xx
10:45:00 script,info DynDNS: IP-Fresh = 176.241.xx.xx
10:45:00 script,info DynDNS: Update IP needed, Sending UPDATE...!
10:45:16 fetch,info Download from 147.154.xx.xx FINISHED
10:45:18 script,info DynDNS: IP updated to 176.241.xx.xx!
10:45:18 system,info nat rule changed by scheduler:DDNS_updater/script:DDNS_updater/action:89 (/ip firewall nat set *5 dst-address=176.241.xx.xx)
10:45:18 system,info nat rule changed by scheduler:DDNS_updater/script:DDNS_updater/action:90 (/ip firewall nat set *6 dst-address=176.241.xx.xx)
és ez ment percenként folyamatosan. valamiért nem tudta rendesen beolvasni a külső IP-met, beragadt neki az a 85.66.xx.xx, Reboot után a script lefutott és rendben van.Amúgy ez a DDNS_updater scriptem:
:global ddnsuser "user"
:global ddnspass "pass"
:global theinterface "pppoe-out-DIGI"
:global ddnshost xxx.gotdns.com
:global ipddns [:resolve $ddnshost];
:global ipfresh [ /ip address get [/ip address find interface=$theinterface ] address ]
:if ([ :typeof $ipfresh ] = nil ) do={
:log info ("DynDNS: No ip address on $theinterface .")
} else={
:for i from=( [:len $ipfresh] - 1) to=0 do={
:if ( [:pick $ipfresh $i] = "/") do={
:set ipfresh [:pick $ipfresh 0 $i];
}
}
:if ($ipddns != $ipfresh) do={
:log info ("DynDNS: IP-DynDNS = $ipddns")
:log info ("DynDNS: IP-Fresh = $ipfresh")
:log info "DynDNS: Update IP needed, Sending UPDATE...!"
:global str "/nic/update\?hostname=$ddnshost&myip=$ipfresh&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG"
/tool fetch address=members.dyndns.org src-path=$str mode=http user=$ddnsuser \
password=$ddnspass dst-path=("/DynDNS.".$ddnshost)
:delay 1
:global str [/file find name="DynDNS.$ddnshost"];
/file remove $str
:global ipddns $ipfresh
:log info "DynDNS: IP updated to $ipfresh!"
/ip firewall nat set 3 dst-address=$ipfresh
/ip firewall nat set 4 dst-address=$ipfresh
/ip firewall nat set 5 dst-address=$ipfresh
/ip firewall nat set 6 dst-address=$ipfresh
/ip firewall nat set 7 dst-address=$ipfresh
/ip firewall nat set 8 dst-address=$ipfresh
/ip firewall nat set 9 dst-address=$ipfresh
/ip firewall nat set 10 dst-address=$ipfresh
/ip firewall nat set 11 dst-address=$ipfresh
/ip firewall nat set 12 dst-address=$ipfresh
/ip firewall nat set 13 dst-address=$ipfresh
/ip firewall nat set 14 dst-address=$ipfresh
/ip firewall nat set 15 dst-address=$ipfresh
/ip firewall nat set 16 dst-address=$ipfresh
/ip firewall nat set 17 dst-address=$ipfresh
/ip firewall nat set 18 dst-address=$ipfresh
/ip firewall nat set 19 dst-address=$ipfresh
/ip firewall nat set 20 dst-address=$ipfresh
/ip firewall nat set 21 dst-address=$ipfresh
/ip firewall nat set 22 dst-address=$ipfresh
/ip firewall nat set 23 dst-address=$ipfresh
/ip firewall nat set 24 dst-address=$ipfresh
:log info "dst-address set to $ipfresh for NAT rules 3"
:log info "dst-address set to $ipfresh for NAT rules 4"
:log info "dst-address set to $ipfresh for NAT rules 5"
:log info "dst-address set to $ipfresh for NAT rules 6"
:log info "dst-address set to $ipfresh for NAT rules 7"
:log info "dst-address set to $ipfresh for NAT rules 8"
:log info "dst-address set to $ipfresh for NAT rules 9"
:log info "dst-address set to $ipfresh for NAT rules 10"
:log info "dst-address set to $ipfresh for NAT rules 11"
:log info "dst-address set to $ipfresh for NAT rules 12"
:log info "dst-address set to $ipfresh for NAT rules 13"
:log info "dst-address set to $ipfresh for NAT rules 14"
:log info "dst-address set to $ipfresh for NAT rules 15"
:log info "dst-address set to $ipfresh for NAT rules 16"
:log info "dst-address set to $ipfresh for NAT rules 17"
:log info "dst-address set to $ipfresh for NAT rules 18"
:log info "dst-address set to $ipfresh for NAT rules 19"
:log info "dst-address set to $ipfresh for NAT rules 20"
:log info "dst-address set to $ipfresh for NAT rules 21"
:log info "dst-address set to $ipfresh for NAT rules 22"
:log info "dst-address set to $ipfresh for NAT rules 23"
:log info "dst-address set to $ipfresh for NAT rules 24"
} else={
:log info "DynDNS: dont need changes, IP remain at $ipfresh";
}
}
Új hozzászólás Aktív témák
- Nintendo Switch
- Megjött a jubileumi Pixel széria
- Google Pixel topik
- Intel Core Ultra 3, Core Ultra 5, Ultra 7, Ultra 9 "Arrow Lake" LGA 1851
- Imilenni: Egy kis depi, remélem elfér itt :) 2#
- EarFun Clip – cimpazaj
- RING topic - boxoljuk le!
- Napelem
- Facebook és Messenger
- Sugárkövetés nélküli sugárkövetés felé menetel az új PlayStation
- További aktív témák...
- Huawei 4G CPE Pro3 4G Router
- ÁRGARANCIA!Épített KomPhone i5 14400F 32/64GB DDR5 RTX 5060 Ti 8GB GAMER PC termékbeszámítással
- Honor Pad X9 / 4GB RAM 128 GB / Kártyafüggetlen / 12Hó Garancia
- Samsung Galaxy A13 64GB, Kártyafüggetlen, 1 Év Garanciával
- billentyűzetek - kiárusítás - Logitech, Corsair, ASUS
Állásajánlatok
Cég: CAMERA-PRO Hungary Kft.
Város: Budapest
Cég: FOTC
Város: Budapest