Community discussions

MikroTik App

Search found 31 matches

by dke
Thu Jan 14, 2021 8:52 pm
Forum: Beginner Basics
Topic: Bridge NAT Port Forwarding
Replies: 6
Views: 381

Re: Bridge NAT Port Forwarding

The reason I haven't seen the to-ports parameter is that I had "accept" as action - I assume dst-nat is required for chain & action? I looked into the connections and found this temporary entry: 7 C d protocol=tcp src-address=192.168.144.58:54806 dst-address=192.168.144.6:60006 reply-s...
by dke
Thu Jan 14, 2021 7:16 pm
Forum: Beginner Basics
Topic: Bridge NAT Port Forwarding
Replies: 6
Views: 381

Re: Bridge NAT Port Forwarding

Thank you very much for pointing to to-ports , I misinterpreted the "dst"-part - that's what I have been looking for. Unfortunately the NAT is not working as I wish. In my test case, I have two iperf servers running on port 60001 and 60002. If the traffic comes from ether2, I'd like to use...
by dke
Thu Jan 14, 2021 3:59 pm
Forum: Beginner Basics
Topic: Bridge NAT Port Forwarding
Replies: 6
Views: 381

Re: Bridge NAT Port Forwarding

The traffic is passing through the bridge to another port. I have set the bridge to use-ip-firewall=yes and used the in-bridge-port=ether2 selector: chain=dstnat action=accept protocol=tcp in-bridge-port=ether2 src-port=60006 dst-port=60001 log=no log-prefix="" Is there a minimum set of se...
by dke
Thu Jan 14, 2021 2:04 pm
Forum: Beginner Basics
Topic: Bridge NAT Port Forwarding
Replies: 6
Views: 381

Bridge NAT Port Forwarding

I'm trying to do a dstNAT based on the physical port on the router (in-interface), whereas the respective ports are bridged. /interface bridge nat add chain=dstnat in-interface=ether1 src-port=60006 dst-port=60001 ip-protocol=tcp mac-protocol=ip /interface bridge nat add chain=dstnat in-interface=et...
by dke
Sun Nov 15, 2020 8:48 am
Forum: SwOS
Topic: Dump SwOS web content
Replies: 0
Views: 268

Dump SwOS web content

Hi, I understand there is no telnet or ssh interface to SwOS. How can I grab/dump the website content (specifically interested in link status and speed of index.html)? Tried curl -o test.html --user admin https://<switch-ip>/index.html but I get the gzip compressed "Loading ..." page. Than...
by dke
Thu Sep 24, 2020 4:44 pm
Forum: General
Topic: Change Request DHCP Client: Assign Dynamic Route to Interface
Replies: 3
Views: 454

Re: Change Request DHCP Client: Assign Dynamic Route to Interface

I understand it's not common for routers but only for notebooks. We are implementing MikroTik devices in a mobile medical product that is occasionally wired with LAN - that's why I'd need that specific behavior. The %<interface> gateway is in fact working, but I had the issue that after some time wl...
by dke
Thu Sep 24, 2020 9:41 am
Forum: General
Topic: Change Request DHCP Client: Assign Dynamic Route to Interface
Replies: 3
Views: 454

Re: Change Request DHCP Client: Assign Dynamic Route to Interface

Obviously not so much response to that change request - maybe because I oversaw something? Why is it apparently non-trivial to have that "common" functionality as known from Windows/Unix? These routes as described above worked at beginning but RouterOS started to get confused again and par...
by dke
Tue Sep 22, 2020 10:03 am
Forum: General
Topic: Ripple20 - Treck stack vulnerabilities
Replies: 6
Views: 1233

Re: Ripple20 - Treck stack vulnerabilities

Thank you very much for this information. Not that I would not believe, but do you have any more insights (e.g. the scripts to test, a report or something similar)?
by dke
Tue Sep 22, 2020 9:26 am
Forum: General
Topic: Ripple20 - Treck stack vulnerabilities
Replies: 6
Views: 1233

Re: Ripple20 - Treck stack vulnerabilities

Any updates on this topic?
by dke
Wed Sep 02, 2020 9:50 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Yes, certainly I tried this (see initial post), but RouterOS seems to be confused by the same gateway IP address. I guess I found Chupakas Tutorial on Routing Failover you mentioned, but I doubt that this will work with the same gateway as the same problem persists. I finally found a configuration t...
by dke
Wed Sep 02, 2020 9:48 am
Forum: General
Topic: Change Request DHCP Client: Assign Dynamic Route to Interface
Replies: 3
Views: 454

Change Request DHCP Client: Assign Dynamic Route to Interface

I was struggling in this thread to configure a quite common behavior: Have WAN on two interfaces pointing to same router/gateway, prefer ether1 over wlan1. This is the default behavior for all common desktop operating systems (e.g. Windows 10): When I'm connected to WiFi and plug an Ethernet cable, ...
by dke
Tue Sep 01, 2020 5:09 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

PS: Which ROS are you on? hAP ac v6.47.2 Have you removed all the "bonding" you mentioned earlier? Yes You must have two GW uplinks (one on ETH1 and one on WLAN). With two different GW IP? No, it's the same router, same gateway. The use case is that I do not always have the possibility to...
by dke
Tue Sep 01, 2020 12:57 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

If you have DHCP client with add dynamic route it on ETH1 and you unplug the cable it should not be reachable. It is remains on reachable as not recognized automatically. Only once I do a manual Release/Renew it is no longer reachable via ether1. Have you put anither fixed address on ETH1? No. My c...
by dke
Tue Sep 01, 2020 11:47 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Use your DHCP client on ETH1 with "add default route" checked. and on your DHCP client on WLAN uncheck the default route. In IP/Route add one route for 0.0.0.0 with distance "20" that goes towards your WLAN interface... This one will not be active until you DISCONNECT the ETH1 e...
by dke
Mon Aug 31, 2020 12:58 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Is there more info/config you need? Or do you guys suggest to create a new topic?
Any suggestions very welcome.
by dke
Fri Aug 28, 2020 10:12 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Hi, I'm not sure what happened but my failover WAN (via wlan1) isn't working anymore. I have a failover WAN bonding interface with active-backup and mii monitoring: /interface bonding add name=bond_wan slaves=ether1,wlan1 primary=ether1 mode=active-backup The router gets IP and Gateway via DHCP, but...
by dke
Tue Jul 14, 2020 1:03 pm
Forum: SwOS
Topic: Can't update/upgrade RB260GSP CSS106-1G-4P-1S
Replies: 1
Views: 594

Re: Can't update/upgrade RB260GSP CSS106-1G-4P-1S

Not sure what happened but after another restart I am on v2.11.
by dke
Tue Jul 14, 2020 12:47 pm
Forum: SwOS
Topic: Can't update/upgrade RB260GSP CSS106-1G-4P-1S
Replies: 1
Views: 594

Can't update/upgrade RB260GSP CSS106-1G-4P-1S

Hi, I have several RB260GSP here and for this one I am not able to upgrade it. Few months ago I was able to upgrade to v2.10, now wanted to upgrade to v2.11. When clicking on "Download & Upgrade" it says shortly "Upgrading... (Please do not interrupt)", then "Rebooting.....
by dke
Sun Jun 28, 2020 1:09 am
Forum: Scripting
Topic: Feature request: tool/fetch new property - no-log
Replies: 13
Views: 5135

Re: Feature request: tool/fetch new property - no-log

+1 for the request
by dke
Wed Jun 10, 2020 1:39 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

The duration of fail-over is not of importance for our application.
I did a quick non-formal test and the outage was approx 4.5 seconds for each of both directions (i.e. master->slave, plugging of ethernet cable, and slave->master, plugging back ethernet cable).
Thanks again!
by dke
Wed Jun 10, 2020 11:11 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

in the meantime, I think a simple bounding would definitely work Thank you very much solar77! This is exactly what I was looking for. No custom routes, just a redundancy, perfect :-) At first I was a bit frustrated because it did not work, but a router reboot solved it. What I did: Added both inter...
by dke
Mon Jun 08, 2020 11:59 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

So they are connecting to the same router for Internet access ? I assume you want some redundancy if ether1 fails. Exactly. but first try not use add default route in DHCP client, add static route yourself and use the interface as gateway, instead of an IP address. I am not sure if this is going to...
by dke
Fri Jun 05, 2020 7:49 am
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

I think, with distance on ether1 set to 1 and distance on wlan1 set to 2, as long as ether1 is running, Mikrotik will route all traffic through ether1. this is what you want yes? Yes, exactly. But this is not what the router does :( With distance you are referring to the default-route-distance in I...
by dke
Thu Jun 04, 2020 6:38 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

metric?
Not sure what you mean with metric? I just see a "Distance" in the IP > Routes that is read-only, presumably because of the dynamic route?
by dke
Thu Jun 04, 2020 5:54 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Thanks for digging in but I think there is still a misunderstanding. I have an Ethernet cable plugged to ether1 and an active WiFi connection at wlan1 interface. Both are connected to the internetz and configured as WAN. Now I want to have the route to 0.0.0.0/0 via ether1 interface active (as it is...
by dke
Thu Jun 04, 2020 3:15 pm
Forum: Beginner Basics
Topic: reset-configuration with run-after-reset not working
Replies: 13
Views: 9810

Re: reset-configuration with run-after-reset not working

It is important to note that for certain devices, the configuration has to be placed inside the flash\ folder. Warning: If the device has a folder named "flash", then the confscript.rsc file must be stored in that folder to work with "run-after-reset" command. Everything outside ...
by dke
Thu Jun 04, 2020 2:41 pm
Forum: Scripting
Topic: Script input from console ... works!
Replies: 4
Views: 1789

Re: Script input from console ... works!

This does not work for me in v6.47. I'm not getting prompted for input and this is printed then:
Login is [] and password is []
Is there a working user input in v6.47? I also did not succeed with viewtopic.php?t=87744.
by dke
Thu Jun 04, 2020 2:37 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Re: Redundant WAN, Prefer ether1 over wlan1

Yes, also the DAS (Dynamic Active Static) indicates this. But how can I enforce the ether1 route to be the active one?
by dke
Thu Jun 04, 2020 7:55 am
Forum: Scripting
Topic: Scripting - Asking user for input.
Replies: 9
Views: 4579

Re: Scripting - Asking user for input.

You need to :put $userinput, not :put $read :)
:put $userinput
is also empty for me after asked for a value (v6.47).
by dke
Tue Jun 02, 2020 5:11 pm
Forum: Beginner Basics
Topic: Redundant WAN, Prefer ether1 over wlan1
Replies: 25
Views: 2864

Redundant WAN, Prefer ether1 over wlan1

Given two redundant WAN on ether1 and wlan1, I'd like to have ether1 route preferred over wlan1, in case both are available. Current setup has two DHCP clients with two separate IP addresses. I tried a lower "Default Route Distance" for ether1 in its DHCP Client > Advanced options, but IP ...
by dke
Thu Jan 16, 2020 12:44 pm
Forum: SwOS
Topic: RB260GSP - Activate DHCP server
Replies: 4
Views: 4381

Re: RB260GSP - Activate DHCP server

... (more over, it does not have DHCP client either). Refer to the following page for more info: http://wiki.mikrotik.com/wiki/SwOS That it is not true. The RB260GSP is a smart switch and has a DHCP client (no server though), see https://wiki.mikrotik.com/wiki/SwOS/CSS106#System Address Acquisition...