Community discussions

MikroTik App

Search found 38 matches

byarnaldo
Fri Sep 08, 2023 4:45 pm
Forum:General
Topic:Passthrough in a mangle subchain
Replies:1
Views:521

Passthrough in a mangle subchain

I'm looking for a definite answer for what happens when in a mangle subchain called from Prerouting:

- Mangle -> Prerouting -> ChainA

If a rule in ChainA matches and it has Passthrough = no, will it return to the main Prerouting chain or will break the Magle-Prerouting completely?
byarnaldo
Fri Sep 08, 2023 4:39 pm
Forum:General
Topic:Fortigate VPN SSL
Replies:2
Views:707

Re: Fortigate VPN SSL

Interesting to see someone else with a similar problem! As far as I know, Forti SSL VPN is proprietary (not the "standard" one, if there is such a thing). The term SSL VPN mean "encapsulating the data in a TLS session", but the details are often very different (authentication, et...
byarnaldo
Sun Sep 03, 2023 11:19 pm
Forum:General
Topic:Hardware encryption for OpenVPN on x86 hardware
Replies:0
Views:746

Hardware encryption for OpenVPN on x86 hardware

I noticed that when running on x86 with AES-NI, OpenVPN will not use hardware encryption.

AES-NI is being used on x86 for IPSEC since ROS 6.39. Is there any reason for not supporting it for OpenVPN? To my best knowledge, AES-NI can do AES-256-CBC.
byarnaldo
Fri Sep 01, 2023 5:16 pm
Forum:General
Topic:New RouterOS theme
Replies:21
Views:2789

Re: New RouterOS theme

Being another macOS user, I've rarely resorted to WinBox and have managed all my Mikrotiks with WebFig, even when on the early ROS 7 routing was totally broken (used WinBox just to fix routes - running on a Windows VM under UTM on an Apple Silicon Mac). But back to the new theme, similar to the new ...
byarnaldo
Thu Aug 31, 2023 5:08 pm
Forum:General
Topic:2.5Gbps speed on RB5009 not working
Replies:4
Views:948

Re: 2.5Gbps speed on RB5009 not working

Are you sure your 2.5Gbps adapter is working properly? I've seen horror stories with some adapters (Realtek), with poor download or upload speeds.

Try checking the adapter first, without getting the RB5009 involved. Then move back to the router.
byarnaldo
Thu Aug 31, 2023 5:02 pm
Forum:General
Topic:Using PCC more efficient
Replies:4
Views:1204

Re: Using PCC more efficient

The concept is great! But there is an error in the post (probably resulting from cut-paste) is that the second example still has PCC lines 2 to 4. so the correct rules would be (assumes that all packets start as not conn-marked): PCC 4/0 ===> connection mark gateway-25 if not marked ==> connection m...
byarnaldo
Thu Aug 31, 2023 4:44 pm
Forum:General
Topic:Missing veth address in both WinBox and WebFig
Replies:4
Views:1045

Re: Missing veth address in both WinBox and WebFig

WinBox is 3.39 and WebFig 7.11.1 (latest as of this post). Yes, it is correct when using the CLI. Your WinBox image show exactly what I'm talking about: Address: 0.0.0.0/0. It's not a question of being able to check the IP address using WinBox/WebFig, but rather to make changes (need apply/ok). Look...
byarnaldo
Thu Aug 31, 2023 3:10 pm
Forum:General
Topic:Missing veth address in both WinBox and WebFig
Replies:4
Views:1045

Missing veth address in both WinBox and WebFig

I may be missing something, but whenever I display (or try to change) the IP address associated with a veth (for a container) it shows as 0.0.0.0/0 in WinBox and as a "blank" in WebFig.

Is this a bug or I'm really missing something here?

Thanks in advance.
byarnaldo
Wed Feb 22, 2023 7:13 pm
Forum:General
Topic:Certificate Key Import not possible on v7.7
Replies:17
Views:4546

Re: Certificate Key Import not possible on v7.7

I was also having problems importing certificates+key in PKCS#12 format, using a file generated by OpenSSL from PEM files with key and certificate (Lets Encrypt - using a script that is a few years old). I can confirm that the by default OpenSSL will use pbeWithSHA1And40BitRC2 unless RC2 is disabled...
byarnaldo
Thu May 05, 2022 3:11 pm
Forum:General
Topic:PKCS#12 certificate import not working on 7.2.2
Replies:2
Views:946

Re: PKCS#12 certificate import not working on 7.2.2

Usually this indicates the certificate is in the store already... Thanks for the pointer! I've checked that already. But reminding of it gives me a hint. I will remove all certificates (if I can export the CA key, used to sign several OpenVPN certificates) and give it a try. The RB5009 is a fantast...
byarnaldo
Wed May 04, 2022 9:11 pm
Forum:General
Topic:PKCS#12 certificate import not working on 7.2.2
Replies:2
Views:946

PKCS#12 certificate import not working on 7.2.2

I'm trying to import a PKCS#12 certificate and key under 7.2.2 and it's not finding anything inside the P12 file. /certificate/import file-name=test.p12 passphrase=fd6eef05 certificates-imported: 0 private-keys-imported: 0 files-imported: 0 decryption-failures: 0 keys-with-no-certificate: 0 I've dou...
byarnaldo
Mon Feb 28, 2022 5:33 pm
Forum:General
Topic:WireGuard and routing tables
Replies:21
Views:10239

Re: WireGuard and routing tables

I finally managed to get it working this weekend. :D :D :D The problem was that I was using a single wireguard interface for both the site-to-site tunnel and to allow inbound road warriors! The "allowed-ip" were overlapping, even though the road-warriors were "not connected" (but...
byarnaldo
Mon Feb 28, 2022 5:10 pm
Forum:General
Topic:Amazon Prime only blocks NordVPN on MikroTik routerboard
Replies:6
Views:3884

Re: Amazon Prime only blocks NordVPN on MikroTik routerboard

My understanding is that they (Amazon, HBO Max, Netflix, Paramount+, etc) perform IP blacklisting. To counteract, the VPN providers keep changing their IP ranges. It's a never ending cat-and-mouse game. A few years ago most VPN providers would advertise that their service were "great" to b...
byarnaldo
Mon Feb 21, 2022 10:54 pm
Forum:General
Topic:WireGuard and routing tables
Replies:21
Views:10239

Re: WireGuard and routing tables

Finally you should be able to troubleshoot connections by pinging 10.10.10.254 from RouterB and 10.10.192.1 from Router A (who needs IP addresses for wg interface ;-P ) Ha ha ha!!! This is the part that works!!! Pinging either router from the other side! And yes, I have realized that with "all...
byarnaldo
Mon Feb 21, 2022 10:25 pm
Forum:General
Topic:UDP connection tracking not working (OpenVPN)
Replies:7
Views:1441

Re: UDP connection tracking not working (OpenVPN)

it is indeed a "consequence of anonymisation that went wrong" they are the same and they are correct in the real config. The assignment of routing marks to own outgoing traffic of the router is complicated - all the packets are first routed using routing table main, and only then they go t...
byarnaldo
Mon Feb 21, 2022 9:28 pm
Forum:General
Topic:WireGuard and routing tables
Replies:21
Views:10239

Re: WireGuard and routing tables

(不完全是。网关= < peer-address >,but it's just for routing process, WG doesn't care about that. WG determines to which peer it should send it from their allowed-address. That's why you can't have more than one peer with same allowed addresses on one WG interface. Good to know, as I...
byarnaldo
Mon Feb 21, 2022 1:24 pm
Forum:General
Topic:WireGuard and routing tables
Replies:21
Views:10239

Re: WireGuard and routing tables

Thanks for all the comments. Let me start to address some of the points: ALSO I NOTE YOUR DIAGRAM IS WRONG---> the local network A should be 10.10.10.0/20 Ah... nope: 10.10.10.0/20 = IP address 10.10.10.0 on the 10.10.0.0/20 network. The /20 applied to x.x.0.0 will go from x.x.0.0 to x.x.15.255, thu...
byarnaldo
Sun Feb 20, 2022 10:21 pm
Forum:General
Topic:WireGuard and routing tables
Replies:21
Views:10239

WireGuard and routing tables

I'm having a rough time with WireGuard and routing tables. I have a WireGuard VPN between 2 Mikrotik routers (both at 7.1.2, as shown in the diagram bellow: https://i.ibb.co/HdPpHM9/Screen-Shot-2022-02-20-at-5-07-41-PM.png Each side has proper routes to the other side's network, through WireGuard, a...
byarnaldo
Thu Feb 17, 2022 11:30 pm
Forum:General
Topic:UDP connection tracking not working (OpenVPN)
Replies:7
Views:1441

Re: UDP connection tracking not working (OpenVPN)

Ok. Here it is (just the relevant parts) # feb/17/2022 17:56:51 by RouterOS 7.1.2 # software id = MMRW-IEXQ # model = RB5009UG+S+ /interface ethernet set [ find default-name=ether1 ] comment="Ethernet Port #1" set [ find default-name=ether5 ] comment="Ethernet Port #5 - LAN Interface ...
byarnaldo
Thu Feb 17, 2022 8:20 pm
Forum:General
Topic:Open VPN Server Issue on a Dual WAN setup
Replies:13
Views:2104

Re: Open VPN Server Issue on a Dual WAN setup

With dual WAN you need to ensure that inbound packages to the routers will have their responses sent out through the same interface. - Inbound connections on the WANs that are not connection marked need to be tagged (in magle/preroute). One rule per WAN. - On the output flow (mangle/output), if a co...
byarnaldo
Thu Feb 17, 2022 8:05 pm
Forum:General
Topic:UDP connection tracking not working (OpenVPN)
Replies:7
Views:1441

Re: UDP connection tracking not working (OpenVPN)

Packages addressed to the IP address of ISP_B are being returned thru ISP_A, as if connection tracking was not working. But only with UDP packages. TCP works fine.
byarnaldo
星期二2月15, 2022 2:24 am
Forum:General
Topic:RB760iGS - Wireguard - Road Warrior issues
Replies:21
Views:2555

Re: RB760iGS - Wireguard - Road Warrior issues

I put my WireGuard interface on the list of internal interfaces (LAN on the default configuration). This will solve most problems, like masquerading (if needed), firewall rules, forwarding internal to WireGuard road warriors, etc. The only firewall rule I add is to accept UDP port 13231 in the input...
byarnaldo
星期二2月15, 2022 2:12 am
Forum:General
Topic:UDP connection tracking not working (OpenVPN)
Replies:7
Views:1441

UDP connection tracking not working (OpenVPN)

I'm having a problem with connection tracking and UDP, specifically with OpenVPN (ROSv7). While the actual configuration is way more complex (PCC load balancing and recursive routing), I have simplyfied the scenario for testing and for posting here. - There are 2 ISPs: ISP_A and ISP_B - Configuratio...
byarnaldo
Fri Feb 11, 2022 1:27 pm
Forum:Announcements
Topic:v7.1.2 is released!
Replies:127
Views:34801

Re: v7.1.2 is released!

Just found out that OpenVPN server is not working in 7.1.2.
byarnaldo
Thu Feb 10, 2022 1:06 pm
Forum:Announcements
Topic:v7.1.2 is released!
Replies:127
Views:34801

Re: v7.1.2 is released!

WebFig still preent the IP->Routes bug. Will not properly display current routes and will become irresponsive after showing either the "Rules" tab or "Add New" or show route (basically leave and return to the route list tab). Also, there is a really wierd problem with Firefox: it...
byarnaldo
Sun Jan 30, 2022 7:21 pm
Forum:RouterOS beta
Topic:Missing route on webfig
Replies:3
Views:3372

Re: Missing route on webfig

Same here. And it's not only IP->Routes that is "broken" (I did some digging and there are tons of Javascript errors). Another point with IP->Routes is that if you add one route (or simply press "Add New" and "Cancel"). Due to a javascript error you can't add another ro...
byarnaldo
Tue May 08, 2018 1:52 pm
Forum:General
Topic:Access public IP dst-nat from local subnet
Replies:23
Views:20202

Re: Access public IP dst-nat from local subnet

Congratulations for figuring it out. But it looks like you missed this page , it could save you some effort, everything is described there, even with images. But it doesn't hurt when something makes you think and discover stuff by yourself. :) Thanks for the pointer. it's indeed the same explanatio...
byarnaldo
Tue May 08, 2018 3:04 am
Forum:General
Topic:Access public IP dst-nat from local subnet
Replies:23
Views:20202

Re: Access public IP dst-nat from local subnet

I've been trying to make heads and tail about this, specially since all "basic" routers seem to do it without requiring any special configuration. As there are some "solutions" but no explanation of the flow, I was looking at the solutions that claim to be working, so I dare to s...
byarnaldo
Thu Apr 26, 2018 2:02 pm
Forum:General
Topic:SIP Account Registration Problem
Replies:9
Views:4107

Re: SIP Account Registration Problem

Maybe your ISP is filtering port 5060?
I'm running 6.42.1 and SIP is working for me (my ISP filters and I switch to port 5080).

If you are using Mikrotik SIP ALG (service port), try disabling NAT support on your client (SIP device or PBX).
byarnaldo
Sat Apr 21, 2018 11:10 pm
Forum:Scripting
Topic:DynDNS script that works?
Replies:8
Views:11422

Re: DynDNS script that works?

This one allows for multiple interfaces, dynamic interfaces, and even more than one DNS entry per interface. I've been using it for a few years now. :local ifs {"ppp1";"wan1";"wan1"}; :local hostnames {"a.homeip.net";"b.homeip.net";"c.homeip.net...
byarnaldo
Sat Apr 21, 2018 4:13 am
Forum:General
Topic:Fasttrack and route marked packets
Replies:17
Views:5982

Re: Fasttrack and route marked packets

My view of why you don't want to fasttrack "new" connections is that you want the new connection to first go through your firewall to see if safe/trusted, once the new connection is seens as safe/trusted, the established/related part of that connection can be accepted/fasttracked That's h...
byarnaldo
2018年四月19日14点
Forum:General
Topic:Fasttrack and route marked packets
Replies:17
Views:5982

Re: Fasttrack and route marked packets

Took some time to rewrite all the rules (changing route-marks to connection-marks) adjust passthrough and setting the new route-marks. So far seems to be working fine. The idea to add extra connection-mark->route-mark at the top saves most packages from having to traverse the whole chain. Combine th...
byarnaldo
Thu Apr 19, 2018 2:46 am
Forum:General
Topic:Fasttrack and route marked packets
Replies:17
Views:5982

Re: Fasttrack and route marked packets

Thanks for all the insights. Using connection-marks was my original approach, but I went the other way around: route-mark -> connection-mark (not a bright idea) :mrgreen: I think the following code will work: /ip firewall mangle add connection-state=new dst-address=10.10.0.0/16 chain=prerouting acti...
byarnaldo
Wed Apr 18, 2018 3:43 pm
Forum:General
Topic:Fasttrack and route marked packets
Replies:17
Views:5982

Re: Fasttrack and route marked packets

Interesting, my understanding of "route-mark" with a value of "main" is that it means "no routing mark" (if that's true, why not use "no-mark"). This is very confusing. Also, I've tried using routing-table, without success. Anyone knows when "routing-tabl...
byarnaldo
Wed Apr 18, 2018 3:24 am
Forum:General
Topic:Fasttrack and route marked packets
Replies:17
Views:5982

Fasttrack and route marked packets

I know that PBR does not play well with Fasttrack. So, I'm trying to exclude "route-marked" packets from being Fasttracked. To my understanding, the following filter rule should pick all packets that were not mangled with route-mark during prerouting: /ip firewall chain=forward action=fast...
byarnaldo
Thu Oct 13, 2016 11:40 pm
Forum:General
Topic:L2TP/IPSec for Road Warrior
Replies:93
Views:48781

Re: L2TP/IPSec for Road Warrior

Let me joint the party and share my toughts here. With Apple dropping PPTP, this issue has become a more sensitive problem. Setting up an L2TP/IPSEC server for road warriors was not a major problem once I moved to 6.37.1. It works fine for Win7-10, Android, macOS (10.11 and 10.12) and iOS 10. But as...
byarnaldo
Thu Oct 13, 2016 4:06 pm
Forum:General
Topic:L2TP/IPSEC client only connects on ROS reboot
Replies:1
Views:926

L2TP/IPSEC client only connects on ROS reboot

我试图用ROS 6.37.1 (RB750GL)作为L2TP /我PSEC client (user/password + shared key), using the auto-generated IPSEC policies (I do not create the IPSEC policies, ROS does) The setup is quite straight forward and I can get it to work from mobile phones, macOS and Windows. But under ROS I can o...
byarnaldo
Wed Sep 21, 2016 2:45 am
Forum:General
Topic:Need Help: L2TP Client Interface with shared secret key
Replies:24
Views:45580

Re: Need Help: L2TP Client Interface with shared secret key

(at least) On 6.36.3 we can defer the creation of the IPSec peer and policy to ROS, for setting up either a L2TP/IPSec server or client. I need to set up both. Setting up the server works fine and I can connect from our target road warrior devices, iOS and Mac OS X. But I also need to make our Mikro...