Community discussions

MikroTik App

Search found 62 matches

by Kamaz
Sat Jan 20, 2024 5:02 pm
Forum: Beginner Basics
Topic: How to remove strings from ROS logs [SOLVED]
Replies: 2
Views: 674

Re: How to remove strings from ROS logs [SOLVED]

Or you could exclude from logging all "info" data
Looks like I'll use your suggestion an will disable logging with "info" level. Thanks.
by Kamaz
Sat Jan 20, 2024 1:46 pm
Forum: Beginner Basics
Topic: How to remove strings from ROS logs [SOLVED]
Replies: 2
Views: 674

How to remove strings from ROS logs [SOLVED]

Hello everybody. I have a problem with type-c LAN card of one of my laptops - it's not going to sleep mode with laptop. It's not an issue for me but it generates a looooot of logs like ether2-LAN link down ether2-LAN link up (speed 1G, full duplex)" every 5 seconds. Is it possible to delete the...
by Kamaz
Wed Aug 02, 2023 7:43 pm
Forum: General
Topic: DNS over HTTPS
Replies: 258
Views: 121327

Re: DNS over HTTPS

Yeh, it works, thank you!
by Kamaz
Mon Jul 31, 2023 10:59 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

First, the second rule should be 192.168.1 .0 /24 The first thing I want to say "thank you" for your help during this year! And looks like this is my typo. I have 3 routers with similar configuration and I spent last days reading about routing and trying various things. I can see needing ...
by Kamaz
Mon Jul 31, 2023 10:21 pm
Forum: General
Topic: DNS over HTTPS
Replies: 258
Views: 121327

Re: DNS over HTTPS

Hello everybody. Can somebody please help me with my problems. Here is my config /ip dhcp-client set WAN use-peer-dns=no /ip firewall nat add chain=dstnat action=redirect protocol=tcp dst-port=53 comment="Redirect port 53" /ip firewall nat add chain=dstnat action=redirect protocol=udp dst-...
by Kamaz
Mon Jul 31, 2023 2:33 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

And one more thing. Can you please share a little bit of additional info how routing works in current conditions. In a simple words if it's possible. You have currently created the required components for WG. /routing rule add action=lookup src-address=192.168.33.0/24 table=use-WG-table /routing tab...
by Kamaz
Sun Jul 30, 2023 10:31 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

We use a similar rule in case a third party provider is giving issues........ wasnt expecting that from your VPS. Called mSS clamping /ip firewall mangle add action=change-mss chain=forward comment="Clamp MSS to PMTU for Outgoing packets" new-mss=clamp-to-pmtu out-interface=wireguard1 pas...
by Kamaz
Fri Jul 28, 2023 1:30 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

OMG!!! I found the issue! https://forum.mikrotik.com/viewtopic.php?t=184115 https://help.mikrotik.com/docs/display/ROS/Mangle#Mangle-ChangeMSS Change MSS It is a known fact that VPN links have a smaller packet size due to encapsulation overhead. A large packet with MSS that exceeds the MSS of the VP...
by Kamaz
Fri Jul 28, 2023 1:28 pm
Forum: General
Topic: TLS handshake failing via the WireGuard (PPPoE) [SOLVED]
Replies: 6
Views: 3308

Re: TLS handshake failing via the WireGuard (PPPoE) [SOLVED]

As per conversation with MikroTik support I have changed tcp-mss value to 1360 and MTU on WG interface to 1400. That didn't work so then I remembered that long time ago I've set MTU to 9000 and txqueuelen to 10000 on Debian running WG server. Changing back to 1500 and 1000 in conjunction with MT Su...
by Kamaz
Fri Jul 28, 2023 12:07 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

Hello again. The previous configuration was working fine during last year, thank you again. But users behind Mikrotiks are facing a very strange issue with some well-known web sites like Github, Duckduckgo, Iherb, Aliexpress. It was not important during this time but it's not good for now. Chrome g...
by Kamaz
Sun Sep 04, 2022 11:06 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

just for giggles here is you config, cleaned up ;-)
...............................
Hi, sorry for the late response. Thank you so much for the help, now it work like a charm!
by Kamaz
Tue Jul 26, 2022 5:27 pm
Forum: General
Topic: Feature requests
Replies: 1742
Views: 637473

Re: Feature requests

However I hope we will see the current DoH implementation (and fetch tool?) to be updated to use HTTP3, which then includes Quic for layer 4 transport.
Do you mean this news?
https://security.googleblog.com/2022/07 ... droid.html
by Kamaz
Sat Jul 23, 2022 4:58 pm
Forum: General
Topic: How to block IPV6 from ISP
Replies: 32
Views: 9909

Re: How to block IPV6 from ISP

/ipv6 firewall filter
add chain=forward action=drop
I have a question, but not completely sure is this correct topic.
How can I disable ipv6 on MT with ROS 7.3 ? I want to block it totally (in, out, forwarding packets).
by Kamaz
Wed Jul 20, 2022 1:18 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

So lets talk about what you are using L2TP VPN with PPP for ???? SSH for ??? You are using wireguard and it appears RDP over wireguard which is much better than RDP by itself!!! I don't have such possibility to use L2tp/ipsec because of the restrictions of my ISP. It was MT<>MT VPN. So now I change...
by Kamaz
Wed Jul 20, 2022 1:13 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

/interface bridge settings set use-ip-firewall=yes (2) The second thing I would get rid of is IP filter strict...................... its use is definitely not compatible with dual wans and again, rarely used. /ip settings set rp-filter=strict Done, both disabled. LOOSE TRACKING is NOT SELECTED Done...
by Kamaz
Tue Jul 19, 2022 5:34 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

Yeah that is my mistake, the fib needs to come after the add. SO /routing table add fib name=xxxxxxx OR /routing table add name=xxxxxx fib Hi. Here is the commands I used /routing table add name=use-WG-table fib /routing rule add src-address=192.168.33.0/24 action=lookup table=use-WG-table /ip rout...
by Kamaz
Mon Jul 18, 2022 10:46 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

(1) The IP address for the mikrotik client should be as follows: /ip/address add address=10.8.0.2 /24 interface=WG_to_VPS the windows clients being single entities should be /32 (2) Assuming you want the MT Client router to provide/force VPS internet for MT client users - hence the 0.0.0.0/0 allowe...
by Kamaz
Sun Jul 17, 2022 2:37 am
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Re: Wireguard configuration

1, 2, 3, and 4 https://forum.mikrotik.com/viewtopic.php?t=182340 3 https://forum.mikrotik.com/viewtopic.php?t=182072 Hi. Thank you for useful links, I'll read them tomorrow. Here is a small update: 1) Was done. 2) One missed route for Mikrotik. Fixed, done. 3) Working on that. 4) srcnat + port forw...
by Kamaz
Sat Jul 16, 2022 6:57 pm
Forum: General
Topic: Wireguard configuration
Replies: 23
Views: 3295

Wireguard configuration

Hi there. I have a VPS running WireGuard server. And it's possible to connect there from my Windows PC using WireGuard client. All traffic is going through my Wireguard server. That's ok. And my first goal. But the problem is in fact, that I can't redirect all traffic from my network via Mikrotik vi...
by Kamaz
Tue Oct 12, 2021 4:39 pm
Forum: Scripting
Topic: L2TP session time limit [SOLVED]
Replies: 2
Views: 3991

Re: L2TP session time limit [SOLVED]

In the /ppp profile you can use the session-timeout parameter...
https://wiki.mikrotik.com/wiki/Manual:PPP_AAA
Thank you! You saved me!
by Kamaz
Fri Oct 08, 2021 8:59 pm
Forum: Scripting
Topic: L2TP session time limit [SOLVED]
Replies: 2
Views: 3991

L2TP session time limit [SOLVED]

Hi there. Can anybody help me with script creation? I'd like to limit L2TP session time as 8 hours. So the idea is to get time when user connected to VPN and drop it's connection in a 8 hours. The only idea I have is to pars logs and get connection time from there. Or from connection itself. TO star...
by Kamaz
Thu Dec 10, 2020 4:16 pm
Forum: General
Topic: [Feature Request] ODoH
Replies: 2
Views: 938

[Feature Request] ODoH

How does Oblivious DNS over HTTPS (ODoH) work? ODoH is an emerging protocol being developed at the IETF. ODoH works by adding a layer of public key encryption, as well as a network proxy between clients and DoH servers such as 1.1.1.1. The combination of these two added elements guarantees that only...
by Kamaz
Thu Oct 22, 2020 4:47 pm
Forum: Announcements
Topic: v6.47.6 [stable] is released!
Replies: 39
Views: 24637

Re: v6.47.6 [stable] is released!

This is now suffering the log messages on default configuration script we had in testing before: system;error;critical error while running customized default configuration script: expected end of command (line 1337 column 53) This happens without wireless package only. HEX with latest firmware and ...
by Kamaz
Tue Sep 29, 2020 2:20 am
Forum: Announcements
Topic: Newsletter 97 (September 2020)
Replies: 87
Views: 38341

Re: Newsletter 97 (September 2020)

Any news about WPA3 ?
by Kamaz
Tue Sep 29, 2020 2:00 am
Forum: Scripting
Topic: PATCH Request with fetch
Replies: 9
Views: 5858

Re: PATCH Request with fetch

+1 for PATCH method
by Kamaz
Tue Sep 29, 2020 1:49 am
Forum: General
Topic: WPA3 on existing Mikrotik routers/APs [SOLVED]
Replies: 27
Views: 38007

Re: WPA3 on existing Mikrotik routers/APs [SOLVED]

+1 for WPA3
by Kamaz
Tue Sep 29, 2020 1:30 am
Forum: General
Topic: Please add basic portScan tool ( port scanner scan )
Replies: 80
Views: 47841

Re: Please add basic portScan tool ( port scanner scan )

+1 for TCP/UDP scanner
by Kamaz
Sat Jun 27, 2020 10:15 pm
Forum: Announcements
Topic: v6.47 [stable] is released!
Replies: 348
Views: 172814

Re: v6.47 [stable] is released!

Hi, I'm facing with such errors DNS warning DoH max concurrent queries reached, ignoring query and DNS error DoH server connection error: Network is unreachable mikro.png Mikrotik ac2, ROS 6.47 Once per day or two, router drops down L2TP connection because it can't resolve L2TP server's name. Any id...
by Kamaz
Mon Jun 22, 2020 5:35 pm
Forum: Wireless Networking
Topic: hAP ac^2: Q on passwords and wireless speed
Replies: 18
Views: 4149

Re: hAP ac^2: Q on passwords and wireless speed

Hi,
I have same router and want to figure out one thing. What is Radio name? What value should it has? Should it be equal to MAC address?
by Kamaz
Thu May 28, 2020 12:44 pm
Forum: General
Topic: Feature request - DNSCrypt support...
Replies: 173
Views: 81167

Re: Feature request - DNSCrypt support...

+1 for DoT.
by Kamaz
Thu May 28, 2020 12:40 pm
Forum: General
Topic: Feature Request: IPSEC Improvements
Replies: 148
Views: 45623

Re: Feature Request: IPSEC Improvements

VTI +1
XAuth +1
by Kamaz
Thu May 28, 2020 12:36 pm
Forum: RouterOS beta
Topic: Feature Request - Wireguard Protocol
Replies: 167
Views: 84478

Re: Feature Request - Wireguard Protocol

+1 for Wireguard support
by Kamaz
Tue May 12, 2020 12:21 am
Forum: General
Topic: [Feature request] Wireguard
Replies: 148
Views: 65827

Re: [Feature request] Wireguard

+1 for WireGuard
by Kamaz
Thu Dec 05, 2019 10:17 pm
Forum: Beginner Basics
Topic: How to configure client for L2TP+IPSEC in OpenWRT
Replies: 0
Views: 1391

How to configure client for L2TP+IPSEC in OpenWRT

Guys does anyone have step-by-step instruction how to configure L2TP+IPSEC client in OpenWRT 18?
There is a L2TP+IPSEC server (Mikrotik) with various clients but I can't find any manual how properly configure L2TP+IPSEC client in OpenWRT 18.
by Kamaz
Thu Oct 31, 2019 9:45 am
Forum: General
Topic: WPA3 on existing Mikrotik routers/APs [SOLVED]
Replies: 27
Views: 38007

Re: WPA3 on existing Mikrotik routers/APs [SOLVED]

+1 for WPA3
by Kamaz
Tue May 07, 2019 9:31 am
Forum: General
Topic: RADIUS - Framed-Pool
Replies: 1
Views: 916

Re: RADIUS - Framed-Pool

Did you create dhcp_wifi-guests pool in Mikrotik?
by Kamaz
Mon May 06, 2019 3:46 pm
Forum: The User Manager
Topic: Radius + pppoe + address-list - different machines
Replies: 10
Views: 11635

Re: Radius + pppoe + address-list - different machines

How to assign PPTP user in Freeradius with Mikrotik's adress-list ? I'm using Mysql+Freeradius. I've tried to add data to radreply INSERT INTO radius.radreply (username, attribute, op, value) VALUES ('user1', 'Mikrotik-Address-List', ':=', 'remote_managers'); but I can see in Log that Mikrotik get M...
by Kamaz
Thu May 02, 2019 5:03 pm
Forum: General
Topic: WiFi and L2TP authorization via freeradius [SOLVED]
Replies: 8
Views: 5232

Re: WiFi and L2TP authorization via freeradius [SOLVED]

Previous question was resolved by configuring Default gateway on client side, so everything fine. Next problem is how to assign PPTP user's IP or name (user1 = 10.11.1.145 in my case) with Mikrotik's firewall group ? Because Firewall groups helps to deal with rules. I've tried to add record to radre...
by Kamaz
Mon Apr 22, 2019 2:14 pm
Forum: General
Topic: DHCP accounting and RADIUS packets
Replies: 38
Views: 21077

Re: DHCP accounting and RADIUS packets

Yes, I believe there are many people interested in this topic. Any response would be pleased. "We plan to implement" or "We don't plan to implement" would be sufficient :).
+1
by Kamaz
Thu Apr 18, 2019 5:42 pm
Forum: General
Topic: WiFi and L2TP authorization via freeradius [SOLVED]
Replies: 8
Views: 5232

Re: WiFi and L2TP authorization via freeradius [SOLVED]

Thank you so much for help. But how to assign ip with mask, dns, gateway, and route to client correctly? I need a schema for remote connection to my network for using inner resources but default route shouldn't be modified. All traffic should flow through user's internet channel except 10.10.5.0/24 ...
by Kamaz
Wed Feb 20, 2019 9:21 pm
Forum: General
Topic: WiFi and L2TP authorization via freeradius [SOLVED]
Replies: 8
Views: 5232

Re: WiFi and L2TP authorization via freeradius [SOLVED]

Thank you for your response, my problem becomes more clear!
As far as I understood, the only thing I need is to add record to Radreply table. And that's all? 0_o
by Kamaz
Tue Feb 19, 2019 9:22 am
Forum: General
Topic: WiFi and L2TP authorization via freeradius [SOLVED]
Replies: 8
Views: 5232

Re: WiFi and L2TP authorization via freeradius [SOLVED]

Additional information: I've done my task, Freeradius woks as it should, and wifi and pptp auth works fine to. But now I'm faced with problem when I have to connect every username in Freeradius database with user's IP or pool. I've found such information: https://wiki.freeradius.org/guide/Ippool%20a...
by Kamaz
Mon Jan 14, 2019 11:30 am
Forum: General
Topic: Feature request - DNSCrypt support...
Replies: 173
Views: 81167

Re: Feature request - DNSCrypt support...

Google provides DNS-over-TLS https://developers.google.com/speed/pub ... s-over-tls from January 2019,
also it provides DNS-over-HTTPS https://developers.google.com/speed/pub ... over-https from September 2018.
by Kamaz
Thu Nov 08, 2018 3:33 pm
Forum: General
Topic: WiFi and L2TP authorization via freeradius [SOLVED]
Replies: 8
Views: 5232

WiFi and L2TP authorization via freeradius [SOLVED]

Hello everyone. I need some help with configuration of VPN(l2tp) and WiFi authorization via freeradius. My goal is to configure one point for authorizing all connections. There is no Windows server in my company, so I have to use Linux. Additional information: \ ROS version is 6.42.7 /radius add add...
by Kamaz
Tue Oct 09, 2018 8:39 pm
Forum: General
Topic: Feature request - DNSCrypt support...
Replies: 173
Views: 81167

Re: Feature request - DNSCrypt support...

+1 for DNSSec/DNSCrypt
by Kamaz
Sat Apr 07, 2018 8:24 am
Forum: General
Topic: Secure my DNS requests
Replies: 14
Views: 8777

Re: Secure my DNS requests

Any updates?
by Kamaz
Tue Apr 03, 2018 11:10 am
Forum: General
Topic: Secure my DNS requests
Replies: 14
Views: 8777

Re: Secure my DNS requests

I want to hide my activity to, so it would be great to make such functionality like DNS over HTTPs, DNS over TLS.
by Kamaz
Mon Mar 12, 2018 3:02 pm
Forum: Beginner Basics
Topic: L2TP IPSEC connection problem
Replies: 5
Views: 5588

Re: L2TP IPSEC connection problem

Any records in log while you trying to connect? Are counters working during your connection to l2tp? (On front of your allowing rules) Try to disable all portscan and port knocking protection + allow ping on wan interface and to try to connect to your vpn again. En example of rules for l2tp permissi...
by Kamaz
Mon Mar 12, 2018 2:46 pm
Forum: Beginner Basics
Topic: Need help configuring Android USB tether on hAP ac2
Replies: 5
Views: 5398

Re: Need help configuring Android USB tether on hAP ac2

Is it possible to ping some domain or address via ROS console?
by Kamaz
Sat Feb 17, 2018 8:59 pm
Forum: RouterBOARD hardware
Topic: bandwidth RX / TX on interface
Replies: 14
Views: 39623

Re: bandwidth RX / TX on interface

Thank you for answer, but I've done instructions below and they didn't helped me.
BUT now I can see traffic in queue preferences. Maybe it need some time or reboot router to start to work? 0_o
by Kamaz
Sat Feb 17, 2018 7:37 am
Forum: RouterBOARD hardware
Topic: bandwidth RX / TX on interface
Replies: 14
Views: 39623

Re: bandwidth RX / TX on interface

Maybe someone can help me with the same problem. I have Mikrotik hex (6.41.2) and I want to shape traffic speed on port #4. My first attempt was to set tx speed in interface configuration menu, but it told me that "couldn't change interface <> not supported on this interface". The second a...
by Kamaz
Thu Jan 18, 2018 8:14 pm
Forum: General
Topic: TFTP boot configuration
Replies: 8
Views: 8247

Re: TFTP boot configuration

It's sad but I haven't enough time for that task. I'll resume my experiments in a week)
by Kamaz
Thu Dec 21, 2017 8:56 am
Forum: General
Topic: TFTP boot configuration
Replies: 8
Views: 8247

Re: TFTP boot configuration

There are is records in router's system journal about my problem: tftp, error Error code: 0 string: permission denied! Looks like problem with filesystem permissions. Any thoughts? I found those topics, but I can't realize where is my mistake. https://forum.mikrotik.com/viewtopic.php?t=36036 https:/...
by Kamaz
Wed Dec 20, 2017 1:06 pm
Forum: General
Topic: TFTP boot configuration
Replies: 8
Views: 8247

TFTP boot configuration

Hello everybody. I want to ask for help with my task. I can't configure network boot via TFTP on Mikrotik. I tried various instruction but result is the same, I can't boot PC via PXE on Mikrotik. Here is my configuration: Mikrotik RB3011, ROS 6.39.2, SeliconPower USB 2.0 drive 16Gb Bootloader - pxel...
by Kamaz
Mon Oct 09, 2017 9:34 pm
Forum: General
Topic: securing L2TP/IPsec server connection
Replies: 15
Views: 11171

Re: securing L2TP/IPsec server connection

I found an option how to protect my VPN https://github.com/Onoro/Mikrotik
looks like it work.
by Kamaz
Mon Aug 21, 2017 5:54 pm
Forum: General
Topic: securing L2TP/IPsec server connection
Replies: 15
Views: 11171

Re: securing L2TP/IPsec server connection

Thank you for the quick answer. No need to search links and software, I understood the main idea of your schema. The problem was I didn't know about port-knocking software for Android and IOS)
by Kamaz
Mon Aug 21, 2017 5:43 pm
Forum: Beginner Basics
Topic: Help securing an l2tp/ipsec Ac
Replies: 1
Views: 1376

Re: Help securing an l2tp/ipsec Ac

Hi, settecplus. You configuration is quite right but I suggest you to do couple additional revisions: -to change standard ports 22, 80, 443 and 8291 to something unusual like 45967 end so on. -to use https instead of http -to modify "brutforce prevention" chain adding winbox port to it. -t...
by Kamaz
Sun Aug 20, 2017 9:13 pm
Forum: General
Topic: securing L2TP/IPsec server connection
Replies: 15
Views: 11171

Re: securing L2TP/IPsec server connection

I'm using l2tp + IPSec and there are is a lot of inscriptions on Log like:

aug/20/2017 04:12:00 216.218.206.70 failed to get valid proposal.
aug/20/2017 bla-bla-bla....... 216.218.206.66, wrong password.

How can I get thus IP's from Log to block them via firewwall?
Can I use ordinary regex?
by Kamaz
Sat Aug 19, 2017 11:58 am
Forum: General
Topic: securing L2TP/IPsec server connection
Replies: 15
Views: 11171

Re: securing L2TP/IPsec server connection

How are you using such schema on client side? And which type of clients do you have? I mean Windows, Mikrotik or something else.
by Kamaz
Mon Aug 14, 2017 10:50 pm
Forum: General
Topic: securing L2TP/IPsec server connection
Replies: 15
Views: 11171

Re: securing L2TP/IPsec server connection

Hi everyone, I'm a newbie in ROS but I hope that my message would be helpful for someone. To protect L2TP I'm using such rules: /ip firewall filter add action=drop chain=input comment="L2TP brutforce IP drop" connection-state=new \ dst-port=1701 protocol=udp src-address-list=l2tp-brutforce...