Community discussions

MikroTik App

Search found 27 matches

by 4lphanumeric
Fri Aug 11, 2023 7:48 pm
Forum: General
Topic: OPENVPN [SOLVED]
Replies: 4
Views: 1984

Re: OPENVPN [SOLVED]

Try to match the "Allowed Data Encryption Algorithm" in the PFSense side to a cipher that is supported by Mikrotik, and reflect that changes on the config in client side.
by 4lphanumeric
Thu Aug 10, 2023 9:16 pm
Forum: General
Topic: [PROPOSAL] Event driven scripting
Replies: 34
Views: 4251

Re: [PROPOSAL] Event driven scripting

I liked the implementation idea by pe1chl, it's llike doing a tail -f on the log. Pass each and every line to a string/topic matcher and you got an event trigger.
by 4lphanumeric
Sat Aug 05, 2023 11:33 am
Forum: Scripting
Topic: QOS Dynamic simple queue, MAC address list, files & DB
Replies: 1
Views: 3981

Re: QOS Dynamic simple queue, MAC address list, files & DB

I think as per https://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server#Rate_limiting the only supported way to have dynamic queue is only on a static lease (by making the lease static and setting /ip dhcp-server lease [n] rate-limit= which poses unnecessary wear/tear on the NAND flash especially in a h...
by 4lphanumeric
Sat Aug 05, 2023 10:28 am
Forum: General
Topic: Connecting 2 mikrotiks over internet [SOLVED]
Replies: 37
Views: 6587

Re: Connecting 2 mikrotiks over internet [SOLVED]

If both were behind NAT and otherwise inaccessible due to private IPs, I think you need another server with public IP as a gateway. What kind of traffic passes through the LAN between clients? If its not remarkably high-throughput maybe you can get away with cheap VPS in your region. That way you ca...
by 4lphanumeric
Sat Aug 05, 2023 10:15 am
Forum: General
Topic: Cannot access the Mikrotik uplink router through OpenVPN
Replies: 0
Views: 708

Cannot access the Mikrotik uplink router through OpenVPN

Hello, I have a trouble accessing my uplink router from VPN through Mikrotik. I'm using OpenVPN. The Topology is: [my local IP 192.168.1.x] -> [router gateway 192.168.1.1 {A} ] -> Public IP from ISP -> VPN to Mikrotik -> Endpoint Public IP from ISP -> [uplink router in Mikrotik side, gateway 192.168...
by 4lphanumeric
Fri Jul 21, 2023 6:43 pm
Forum: General
Topic: Queue bucket-size option explained
Replies: 27
Views: 104922

Re: Queue bucket-size option explained

Any way to incorporate the bucket size option in hotspot? I don't think /ip/hotspot/profile rate-limit had this option implemented.
by 4lphanumeric
Fri Jul 21, 2023 6:38 pm
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

The first reset will be matched and and dropped in a period of 5 seconds. The next four will be accepted or accepted because the address-list entry has timed out. By adding more nth you can filter more reset replies. Underneath the first two reset replies are dropped within 5 seconds. /ip firewall ...
by 4lphanumeric
Tue Jul 18, 2023 3:19 am
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

Think about it you sitting, and waiting for the correct bus. one, is take the first bus and if you not get on that bus you have to wait again for bus six or then eleven.... two, get on the second bus and if you don't catch that one, take bus seven or even twelve.... It is not timing out, you hide (...
by 4lphanumeric
Tue Jul 18, 2023 2:21 am
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

I'm on the client side. Yes, it's possible to filter said RST packet but only globally, hence the unexpected problem on other sites due to legitimate RST packet being dropped. What makes you think that, if you somehow manage to filter the injected RST packets, connection would continue? If I'd be i...
by 4lphanumeric
Mon Jul 17, 2023 10:38 pm
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

this is the last part from your referenced link above. To help protect the router from TCP RST and SYN DoS attacks: Issue the tcp ack-rst-and-syn command in Global Configuration mode. host1(config)#tcp ack-rst-and-syn Use the no version to disable this protection (the default mode). and I don't kno...
by 4lphanumeric
Mon Jul 17, 2023 5:53 pm
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

first, any isp (read : routers) are mitm - in terms of traffic routing. second, not necessarily because of those chrome or Firefox throw reset error literally means your isp doing dpi/spi (although they are permissible by law). it could be target server itself doing the rst. third, have you ever th...
by 4lphanumeric
Mon Jul 17, 2023 5:30 pm
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

Re: TCP Reset Attack Mitigation on Router Level [SOLVED]

how do you know that? Any attempts to open blocked domain will be thrown into ERR_CONNECTION_RESET in Chrome and PR_CONNECT_RESET_ERROR in Firefox (see https://help.mulesoft.com/s/article/HTTPS-connection-fails-due-to-DPI-Deep-Packet-Inspection and https://superuser.com/a/916086/1820323). This indi...
by 4lphanumeric
Mon Jul 17, 2023 5:01 pm
Forum: General
Topic: TCP Reset Attack Mitigation on Router Level [SOLVED]
Replies: 22
Views: 3012

TCP Reset Attack Mitigation on Router Level [SOLVED]

My ISP employs DPI and as one of its strategy is to use TCP Reset Attack (https://en.wikipedia.org/wiki/TCP_reset_attack). This can be mitigated by adding a firewall filter: /ip firewall filter add comment="tcp attack mitigation" chain=forward protocol=tcp in-interface=ether1 tcp-flags=rst...
by 4lphanumeric
Wed May 20, 2020 7:29 am
Forum: General
Topic: Walled Garden for Encrypted DNS Request
Replies: 0
Views: 728

Walled Garden for Encrypted DNS Request

I'm currently running a hotspot based access point using RB750r2, recently there's a lot of complaints regarding the hotspot availability. I did a few troubleshooting and found out that encrypted dns request is the culprit here. For example, user using Android device use Intra and tunnel their DNS r...
by 4lphanumeric
Sat Feb 22, 2020 8:19 am
Forum: General
Topic: NordVPN IKEv2 EAP VPN tunnel: DNS leak
Replies: 7
Views: 6570

Re: NordVPN IKEv2 EAP VPN tunnel: DNS leak

Bumping this topic, I recently had strange DNS leak issue and was able to pinpoint it to NordVPN's dynamic server in /ip dns
Skimming through, I don't think there's a simple solution (yet) to ignore the dynamic dns set by Nord's IKEv2 tunnel
by 4lphanumeric
Sun Feb 17, 2019 3:17 pm
Forum: General
Topic: Firewall on Mikrotik box outbound connection?
Replies: 9
Views: 1959

Firewall on Mikrotik box outbound connection?

Hi, is it possible to apply firewall rule to Mikrotik's own outbound connection?

My goal is to redirect the DNS port to another port, the DNS will be set in IP/DNS to use Mikrotik's DNS proxy/cache

So
Mikrotik IP/DNS -> DNS:53 -> some rule -> DNS:5353
Thank you for your help.
by 4lphanumeric
Tue Feb 05, 2019 8:08 am
Forum: General
Topic: Feature requests
Replies: 1742
Views: 637516

Re: Feature requests

Ability to swap the rx/tx representation in the graphing setting.

Normal : In -> green, Out -> blue
Swapped: In -> blue, Out -> green
by 4lphanumeric
Sat Feb 02, 2019 7:36 pm
Forum: General
Topic: OpenVPN client cannot resolve DNS through server
Replies: 0
Views: 1748

OpenVPN client cannot resolve DNS through server

The title says it all. I cannot connect to the internet with block-outside-dns option on the OpenVPN client. Without it, I can browse just fine but it's leaking DNS request. 1 name="VPN-PROFILE" local-address=192.168.252.1 remote-address=VPN-POOL use-mpls=default use-compression=default us...
by 4lphanumeric
Tue Jan 29, 2019 5:01 am
Forum: General
Topic: Set L2TP/Ipsec VPN local ip addresses
Replies: 2
Views: 1447

Re: Set L2TP/Ipsec VPN local ip addresses

# DST-ADDRESS PREF-SRC GATEWAY DISTANCE 0 A S 0.0.0.0/0 192.168.1.1 1 1 ADC 1.0.0.1/32 10.000.1.000 SSTP-DNS 0 SSTP-DNS-2 As you can see, there are two SSTP interfaces that show 1.0.0.1/32 as their remote address, what I want to achieve is that so each of them had a unique remote IP address. Changi...
by 4lphanumeric
Sat Jan 26, 2019 7:32 pm
Forum: General
Topic: Set L2TP/Ipsec VPN local ip addresses
Replies: 2
Views: 1447

Re: Set L2TP/Ipsec VPN local ip addresses

Is this not possible to achieve? I'm honestly at lost here, I've tried setting a route rule with the VPN as a gateway but the IP is still not routing the traffic to the VPN
by 4lphanumeric
Sat Jan 26, 2019 5:50 am
Forum: General
Topic: Set L2TP/Ipsec VPN local ip addresses
Replies: 2
Views: 1447

Set L2TP/Ipsec VPN local ip addresses

So, I've got two ipsec VPN up and running on my Mikrotik VPN A: remote addr=1.0.0.1, local addr=dynamic VPN B: remote addr=1.0.0.1, local addr=dynamic I'm somewhat confused because in /ip routes, those two vpn interface share the same remote addr (1.0.0.1), so what I want to achieve is set an IP add...
by 4lphanumeric
Wed Jan 23, 2019 11:37 am
Forum: Beginner Basics
Topic: Two VPN tunnel in Mikrotik, how can I set their IP address?
Replies: 0
Views: 618

Two VPN tunnel in Mikrotik, how can I set their IP address?

So, I've got two ipsec VPN up and running on my Mikrotik VPN A: remote addr=1.0.0.1, local addr=dynamic VPN B: remote addr=1.0.0.1, local addr=dynamic I'm somewhat confused because in /ip routes, those two vpn interface share the same remote addr, so what I want to achieve is set an IP address for e...
by 4lphanumeric
Mon Jan 21, 2019 6:05 pm
Forum: Beginner Basics
Topic: DHCP static lease stuck on "waiting"
Replies: 1
Views: 8490

DHCP static lease stuck on "waiting"

So I've got two APs set as a DHCP client, with their address(es) that I set in the DHCP lease. The problem is, while those two APs are connected (to ether2 & ether3) and I was able to connect and surf the internet through them, the DHCP status keeps in "waiting" state. This made settin...
by 4lphanumeric
Fri Jan 18, 2019 7:36 pm
Forum: Beginner Basics
Topic: Different hotspot landing page based on PVID
Replies: 0
Views: 672

Different hotspot landing page based on PVID

Basically I want to set two VAPs
  • Guest with PVID = 100
  • Office with PVID = 200
Assuming the PVID tagging are working correctly, how do I route the traffic so that PVID100 goes to HotspotServer_A and PVID200 goes to HotspotServer_B?

I'm using RB750r2 and the AP is connected to ether3

Thanks!
by 4lphanumeric
Thu Jan 17, 2019 7:25 am
Forum: Beginner Basics
Topic: Home/office/guest with mikrotik, I'm not certain on how to set this
Replies: 4
Views: 1128

Re: Home/office/guest with mikrotik, I'm not certain on how to set this

I personally think its much better security wise to have total control over what comes in and out of the router to devices behind the router. Double NAT means that the IP the modem/gateway gives you is a private IP already and thus if you want to have the ability for outside users to gain access to...
by 4lphanumeric
Wed Jan 16, 2019 5:36 pm
Forum: Beginner Basics
Topic: Home/office/guest with mikrotik, I'm not certain on how to set this
Replies: 4
Views: 1128

Re: Home/office/guest with mikrotik, I'm not certain on how to set this

Why would you use the ISPs modem and router for anything and you have given the ISP direct access to your traffic coming from wirelessly connected devices? In addition you will suffer from double nat. Can you put the gateway in bridge mode and thus give the Hex router a public IP and thus keep the ...
by 4lphanumeric
Wed Jan 16, 2019 1:14 pm
Forum: Beginner Basics
Topic: Home/office/guest with mikrotik, I'm not certain on how to set this
Replies: 4
Views: 1128

Home/office/guest with mikrotik, I'm not certain on how to set this

This is the planned network topology, I'm not really certain on how to set this one. For now, what's working is: [*]I can connect to the internet from Home_AP [*]Hotspot service is running and the users are able to log in [*]BW management for home/office/guest is ok As for these, I do not know how t...