@Sob - thank you - that made the script even more simple.
I need to take a bit of a shame on me, that this time I didn't go and check docs around DHCP client - it is indeed there described, also variables.
Thanks @Sob. Would you mind to share more light on what you mean by runs as part of DHCP client? Is there a hook to attach script to DHCP client, once it runs/ip changes instead of blindly running it every X time? I got it done based on scheduler, here is what works for me: :global currentIPext; :lo...
Thank you! I'm having some difficulties to understand these scripts. Looking at docs, can't find a good description of it - hence asking here. In my case, due to two IP addresses on the ext interface: /ip address> print where interface="ether1ext" Flags: X - disabled, I - invalid, D - dyna...
Hi All, Looking at modifying NAT rules from CLI level came across: /ip firewall nat add copy-from= CopyFrom ::= see documentation With that said, can't find anything about CopyFrom in documentation. (https://www.google.com/search?q=%22CopyFrom%22+site%3Ahttp%3A%2F%2Fwiki.mikrotik.com) Could anyone s...
Hi All, The need is to have the NAT rule allowing access to DMZ server. Current implementation uses as selector: in-interface-list=WAN chain=dstnat action=dst-nat to-addresses=192.168.1.1 to-ports=10443 protocol=tcp [b]in-interface-list=WAN[/b] dst-port=443 log=no log-prefix="" This works ...
Problem was between keyboard and the screen - sorry guys. Thank you @Sob, @mkx, @anav IoT are on separate bridge, let's say bridge-IoT, to which separate wifi is connected, etc. Address is added on bridge. What was missing was INPUT chain rule, as it was getting dropped high in the policy by one of ...
Hi All, The need is to have dst-nat to IP which is on the MikroTik - this doesn't work. The rule is set as: - chain: dst-nat - action: dst-nat IP: <IP_on_same_or_other_VLAN> Unfortunately this doesn't work. The moment IP is set to something outside of MikroTik, this rule works and traffic gets redir...
Thank you! Interestingly - Accounting on v6.47.8 is visible in config, but URL doesn't work anymore. This prompted me for upgrade to v7 where it is cleaned up completely. It MikroTik, could come up with easier way to monitor MikroTik, would be great. SNMP unfortunately does not contain enough detail...
Hi All, Please, could you suggest how to get back interface graphs embedded in RouterOS 6.47)? I had these presenting usage, etc. and in effort to get better accounting as mentioned under https://forum.mikrotik.com/viewtopic.php?t=185133 discovered that after upgrade to 7.2, graphs disappeared compl...
Hi All, Following https://wiki.mikrotik.com/wiki/Manual:IP/Accounting there should be URL: http://routerIP/accounting/ip.cgi Unfortunately on my system, I was getting 404 (v6.47.8), even if accounting was enabled together with web-access and no filtering for access. After checking MikroTik download ...
Hi All, Hopefully there will be a good soul who could recommend a working configuration. It is not a claim it is a problem with either Pi4 or the Mikrotik router. This could be a Raspberry Pi 4 problem, but can't find a good explanation, hence asking here. Situation is that I've 5Ghz net propagated ...