Community discussions

MikroTik App

Search found 553 matches

  • 1
  • 2
by TheCat12
Sat May 10, 2025 3:23 pm
Forum: General
Topic: IPv6 link local editing [SOLVED]
Replies: 7
Views: 618

Re: IPv6 link local editing [SOLVED]

I would try with "Disable link-local address" off and "Auto link-local" on and see what the behavior of the parameter - does it remove the auto generated link-local address for the interface, do they coexist but one gets preferred over the other, etc.
by TheCat12
Sat May 10, 2025 11:52 am
Forum: Beginner Basics
Topic: Virtual IP to access modem web interface?
Replies: 1
Views: 301

Re: Virtual IP to access modem web interface?

It's the same principle as described in the OPNsense forum: add an .100.x address on the interface facing the modem and create a src-nat rule: /ip address add address=192.168.100.2/30 interface="modem_facing_int" /ip firewall nat add action=masquerade chain=srcnat dst-address=192.168.100.1
by TheCat12
Sat May 10, 2025 11:41 am
Forum: General
Topic: IPv6 link local editing [SOLVED]
Replies: 7
Views: 618

Re: IPv6 link local editing [SOLVED]

Doesn't the relatively new auto-link-local address option allow you to manually create one and override the dynamically created? At least that's how I interpret the description of the parameter in the docs
by TheCat12
Wed Apr 23, 2025 6:27 pm
Forum: General
Topic: IPSec at WAN2 VPN Multi WAN Routing Mark skips for WAN1
Replies: 3
Views: 833

Re: IPSec at WAN2 VPN Multi WAN Routing Mark skips for WAN1

A full export is needed due to the multiple interconnections between the settings of the router:
/export file=anynameyouwish
(minus sensitive info like serial number, public IPs, passwords, etc.)
by TheCat12
Thu Apr 17, 2025 1:48 pm
Forum: General
Topic: How to implement pppoe dialing with 5 minutes interval between every two dials
Replies: 9
Views: 1176

Re: How to implement pppoe dialing with 5 minutes interval between every two dials

Try by changing the keepalive-timeout parameter in the PPPoE client settings to 150 seconds or greater
by TheCat12
Tue Apr 15, 2025 11:04 pm
Forum: Beginner Basics
Topic: Srcnat problem
Replies: 1
Views: 395

Re: Srcnat problem

Do you have SIP NAT helper enabled?
by TheCat12
Tue Apr 15, 2025 9:41 am
Forum: Beginner Basics
Topic: PPPOE with static IP
Replies: 20
Views: 1957

Re: PPPOE with static IP

The disconnection problem is probably on ISP's side. The last firewall rule "Drop all from WAN not DST-NATed" should apply to out-interface=pppoe-out1 and not ether1 . You're also missing a rule for dropping all input not from LAN, so again you're vulnerable. The default firewall should be...
by TheCat12
Mon Apr 14, 2025 4:12 pm
Forum: General
Topic: VPN Server: Problems with L2TP IPsec: failed to pre-process ph2 packet
Replies: 5
Views: 8862

Re: VPN Server: Problems with L2TP IPsec: failed to pre-process ph2 packet

Would you post your log with topics=ipsec,!debug and config here?

export file=anynameyouwish (minus sensitive info)
by TheCat12
Mon Apr 14, 2025 4:04 pm
Forum: Beginner Basics
Topic: PPPOE with static IP
Replies: 20
Views: 1957

Re: PPPOE with static IP

What I meant under default firewall is to implement additional rules which are present in the default configuration becuase now your connection to the internet is even more insecure! I don't have them at hand but they have been posted multiple times and can be found almost everywhere
by TheCat12
Thu Apr 10, 2025 7:33 pm
Forum: Beginner Basics
Topic: PPPOE with static IP
Replies: 20
Views: 1957

Re: PPPOE with static IP

Also, may I inquire what the purpose of the 255.255.255.0 route is?

And update your fiewall to the default one, as your router is insecure at the moment
by TheCat12
Thu Apr 10, 2025 12:47 pm
Forum: General
Topic: Masquerade and PTP problem
Replies: 1
Views: 417

Re: Masquerade and PTP problem

Technically, the PTP should allow "foreign" networks to pass through it, so you would just need to disable the masquerade rule.
by TheCat12
Thu Apr 10, 2025 12:35 pm
Forum: Beginner Basics
Topic: PPPOE with static IP
Replies: 20
Views: 1957

Re: PPPOE with static IP

I'll have to disappoint you, but you'll need the use one command on the terminal to export the configuration and post it here for review: /export file=anynameyouwish This command will generate a file in the routers' files which you'll copy over to your computer, open with Notepad, remove any serial ...
by TheCat12
Mon Apr 07, 2025 4:45 pm
Forum: General
Topic: Inter-VLAN routing not working
Replies: 1
Views: 497

Re: Inter-VLAN routing not working

If this is your whole configiration, you have missed to set up Bridge VLAN filtering. You need to define which ports in the bridge will be access for which VLAN and which port will be the trunk one (I assume that will be ether3). Suggest you read the following quite useful topic: https://forum.mikro...
by TheCat12
Fri Apr 04, 2025 7:14 pm
Forum: General
Topic: Problem IPSEC v7 with 3DES as Phase2 proposal
Replies: 2
Views: 664

Re: Problem IPSEC v7 with 3DES as Phase2 proposal

3DES is considered insecure and it's deprecated: A CVE released in 2016, CVE-2016-2183, disclosed a major security vulnerability in the DES and 3DES encryption algorithms. This CVE, combined with the inadequate key size of 3DES, led to NIST deprecating 3DES in 2019 and disallowing all uses (except p...
by TheCat12
Fri Apr 04, 2025 7:09 pm
Forum: General
Topic: l2tp + ipsec
Replies: 2
Views: 745

Re: l2tp + ipsec

Based on the following log entry:

09:39:50 ipsec 1.1.1.1 request for establishing IPsec-SA was queued due to no phase1 found.

I'm prone to conclude that the problem is with Phase 1, i.e. the Profile settings
by TheCat12
Wed Apr 02, 2025 5:07 pm
Forum: General
Topic: ECMP over IPSec
Replies: 2
Views: 669

Re: ECMP over IPSec

Or any tunneling protocol in that manner - EoIP, IPIP, GRE
by TheCat12
Tue Apr 01, 2025 3:56 pm
Forum: General
Topic: Help configuring IPsec through IKEv2 only LAN
Replies: 4
Views: 1792

Re: Help configuring IPsec through IKEv2 only LAN

BTW, I think you confused "level" and "action" in your config:
My bad, you're right! Edited it accordingly. And after educating myself a bit more on the topic of mode-config, I made a small edit to point 2
by TheCat12
Sun Mar 30, 2025 2:06 pm
Forum: General
Topic: AP Connect to Config Tasmota?
Replies: 8
Views: 1149

Re: AP Connect to Config Tasmota?

The wifi2 interface should be out of any bridge and to do the masquerade:
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wifi2
Also, if it's connected, the status of the interface should be R (running)
by TheCat12
Sun Mar 30, 2025 11:21 am
Forum: General
Topic: station v station-bridge mode
Replies: 9
Views: 1493

Re: station v station-bridge mode

Yes, the old package is wireless and it can be installed but I don't know how well or if it works at all in conjunction with the new one. Best case you'll have to uninstall the new one and use the old one
by TheCat12
Sun Mar 30, 2025 11:15 am
Forum: General
Topic: AP Connect to Config Tasmota?
Replies: 8
Views: 1149

Re: AP Connect to Config Tasmota?

I would temporarily connect one of the wifi interfaces to the given dimmer as a station, assign it an IP via DHCP or static (depending on the setup), and masquerade it
by TheCat12
Tue Mar 25, 2025 4:48 pm
Forum: General
Topic: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets
Replies: 5
Views: 1412

Re: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets

/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN protocol=udp src-port=162 to-ports=162
Put the rule before any other masquerade one
by TheCat12
Tue Mar 25, 2025 4:38 pm
Forum: Beginner Basics
Topic: Simple LAN with Routerboard and map lite - struggling! [SOLVED]
Replies: 2
Views: 7916

Re: Simple LAN with Routerboard and map lite - struggling! [SOLVED]

The easiest way would be to set up DHCP on the hAP as you've already done, connect the mAP lite, put all of its ports and Wi-Fi interfaces in a bridge, give the bridge an IP from the hAP subnet and voila
by TheCat12
Fri Mar 21, 2025 8:33 pm
Forum: General
Topic: Help configuring IPsec through IKEv2 only LAN
Replies: 4
Views: 1792

Re: Help configuring IPsec through IKEv2 only LAN

1. L2TP and IKEv2 do not interfere with one another if configured properly. 2. For the site-to-site IKEv2 there is no need for split-include in the mode config. If you leave it as it is, dismiss point 4 3. Also no need for additional NAT and RAW rules 4. To enable routing between the two sites, a fu...
by TheCat12
Fri Mar 21, 2025 7:01 pm
Forum: Beginner Basics
Topic: Help in setting up VPN exceptions
Replies: 4
Views: 1273

Re: Help in setting up VPN exceptions

I'd be glad to provide it – but what menu level do you need me to [export]? A full one through the command we posted - you paste it in the CLI, download the resulting file on your computer and edit out sensitive info with Notepad As for the way I'm planning to identify the sites, it's mainly primev...
by TheCat12
Fri Mar 21, 2025 6:55 pm
Forum: Beginner Basics
Topic: AT&T Router Passthrough Setup
Replies: 12
Views: 2226

Re: AT&T Router Passthrough Setup

To work properly, the WAN ports should either stay as disabled members of the bridge or, even better, be removed from the bridge
by TheCat12
Wed Mar 19, 2025 5:56 pm
Forum: Beginner Basics
Topic: AT&T Router Passthrough Setup
Replies: 12
Views: 2226

Re: AT&T Router Passthrough Setup

Is this the default firewall rules? /ip firewall filter add action=accept chain=input comment="accept established,related,untracked" connection-state=established,related,untracked add action=drop chain=input comment="drop invalid" connection-state=invalid add action=accept chain...
by TheCat12
Wed Mar 19, 2025 1:41 pm
Forum: General
Topic: ICMP reply not routed correctly on MikroTik [SOLVED]
Replies: 4
Views: 8501

Re: ICMP reply not routed correctly on MikroTik [SOLVED]

Try removing the src-address parameter from the output mangle rule and replacing it for a connection-mark=icmp-con
by TheCat12
Wed Mar 19, 2025 1:24 pm
Forum: Beginner Basics
Topic: AT&T Router Passthrough Setup
Replies: 12
Views: 2226

Re: AT&T Router Passthrough Setup

Before doing anything about the internet connection of the LAN devices, you need to implement a firewall ASAP! The default one is the bare minimum. After you urgently do that, you can remove the WAN port from the bridge, add it to the WAN interface list and check whether "Add default route"...
by TheCat12
Wed Mar 19, 2025 12:36 pm
Forum: Beginner Basics
Topic: Help in setting up VPN exceptions
Replies: 4
Views: 1273

Re: Help in setting up VPN exceptions

Would you be so kind as to give more details on what VPN type is being deployed - Wireguard, IPsec? An export of the configuration would be most helpful:

/export file=anynameyouwish (minus sensitive info)
by TheCat12
Sat Mar 15, 2025 10:41 pm
Forum: Beginner Basics
Topic: Acces Remote Gateway for settings Via Wireguard
Replies: 3
Views: 1493

Re: Acces Remote Gateway for settings Via Wireguard

Additionally, in Location B, you're missing a masquerade rule for traffic going out ether1:
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
by TheCat12
Fri Mar 14, 2025 11:30 pm
Forum: Beginner Basics
Topic: vlan change based on mac
Replies: 1
Views: 1227

Re: vlan change based on mac

That would be your explanation: MAC-based VLANs will only work properly between switch ports and not between switch ports and CPU. When a packet is being forwarded to the CPU, the pvid property for the bridge port will be always used instead of new-vlan-id from ACL rules. Quote is from the docs: htt...
by TheCat12
Fri Feb 07, 2025 7:11 pm
Forum: General
Topic: Router reaches the Internet, subnets do not
Replies: 13
Views: 3623

Re: Router reaches the Internet, subnts do not

I believe that in the NAT rule you need to use a concrete IP address and not the default masquerade because of the many addresses on the ether1 interface:
/ip firewall nat
add action=src-nat chain=srcnat ipsec-policy=out,none out-interface-list=WAN to-addresses="specific_public_IP"
by TheCat12
Fri Feb 07, 2025 7:04 pm
Forum: General
Topic: Windows Cast between subnets?
Replies: 2
Views: 1800

Re: Windows Cast between subnets?

After a quick research, I found out that Miracast uses mDNS, so I believe that an mDNS repeater will do the job for you:
/ip dns
set mdns-repeater-ifaces="subnet_interfaces"
by TheCat12
Fri Feb 07, 2025 6:47 pm
Forum: General
Topic: Troubleshooting IPSEC and IPIP Tunnel Routing Issues Between Multiple Sites
Replies: 2
Views: 1982

Re: Troubleshooting IPSEC and IPIP Tunnel Routing Issues Between Multiple Sites

If we could see the exported configs of routers A, B and C, then we might be able to deduce what the problem is:

export file=anynameoyuwish (minus sensitive info like public IPs, passwords, etc.)
by TheCat12
Thu Feb 06, 2025 7:51 pm
Forum: General
Topic: How can I have a vpn server ( Layer 2 Tunneling Protocol)
Replies: 4
Views: 2849

Re: How can I have a vpn server ( Layer 2 Tunneling Protocol)

A public IP is a premise for every VPN server. However, if not acquirable and the setup is home/SOHO, there is this thing called BTH (Back To Home), which is basically Wireguard + Mikrotik relay server for public IP and hole punching if behind CGNAT. More info on them: https://mikrotikmasters.com/se...
by TheCat12
Thu Feb 06, 2025 1:19 pm
Forum: Beginner Basics
Topic: Static routes L2TP
Replies: 9
Views: 3416

Re: Static routes L2TP

It's because of the local address of the PPP secrets on the L2TP server - if you set it to be one and the same for both secrets (say 10.1.1.1), then there should be no need for the two routes. I don't expect it to make problems the way it is, so if you don't mind the routes, you can leave it as it is
by TheCat12
Thu Feb 06, 2025 12:07 pm
Forum: Beginner Basics
Topic: Static routes L2TP
Replies: 9
Views: 3416

Re: Static routes L2TP

Now that I think about it, the routes really are a bit odd... Would you mind posting an exported config of the VPN server as well as at least one of the clients?

export file=anynameyouwish (minus sensitive info like serial numbers, public IPs, etc.)
by TheCat12
Thu Feb 06, 2025 11:52 am
Forum: Beginner Basics
Topic: Static routes L2TP
Replies: 9
Views: 3416

Re: Static routes L2TP

If the solution is the one you posted under the quote, it's the right one and the same as mine. I missed to mention that the routes I posted are additional to the ones that were to be seen on the network diagram
by TheCat12
Thu Feb 06, 2025 11:43 am
Forum: General
Topic: How can I have a vpn server ( Layer 2 Tunneling Protocol)
Replies: 4
Views: 2849

Re: How can I have a vpn server ( Layer 2 Tunneling Protocol)

1. It depends on your budget and needs - I would personally go for a RB5009 but a hEX would also do a great job 2. Definitely yes 3. https://help.mikrotik.com/docs/spaces/ROS/pages/2031631/L2TP or https://mikrotikmasters.com/mikrotik-l2tp-vpn-server-with-ipsec/ 4. Why don't you use Wireguard? It's m...
by TheCat12
Thu Feb 06, 2025 11:33 am
Forum: Beginner Basics
Topic: Static routes L2TP
Replies: 9
Views: 3416

Re: Static routes L2TP

No need to be sorry for "bad knowledge" - everyone has to start from somewhere after all :) As for the routes, luckily it's quite easy to set them up - on the 10.1 router you add a route that points to 20.1 with gateway the VPN and vice versa: # 192.168.10.x router /ip route add dst-addres...
by TheCat12
Wed Feb 05, 2025 10:15 am
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

Sorry to dissapoint but your firewall is still a giant mess. You still don't have sufficient forward rules to block malicious traffic. I don't see how rules 1, 2 and 3 "whitelist" certain IPs and you still haven't allowed proper access for the VPN to work (I don't know how it hasn't broken...
by TheCat12
Sat Feb 01, 2025 8:53 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

Made an edit accordingly
by TheCat12
Sat Feb 01, 2025 8:27 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

In short, you need to implement the following default rules: /ip firewall filter add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked add action=drop chain=input comment="defconf: drop invalid" connec...
by TheCat12
Fri Jan 31, 2025 10:42 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

I'm thinking of a nifty trick which hypothetically should work, but practically not so sure. However, you would need to shift the L2TP pool range to somewhere after the .151 address. To the PPP profile you would add an address list name and then use it in the following NAT rule: /ip firewall nat add...
by TheCat12
Fri Jan 31, 2025 10:05 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

To diagnose the issue, a full exported config would be needed:

export file=anynameyouwish (minus sensitive info like serial number, passwords, etc.)

If you paste it as plain text, make sure to surround it with code tags
by TheCat12
Fri Jan 31, 2025 9:19 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

If you define everything manually, no, you won't turn it off completely
by TheCat12
Fri Jan 31, 2025 8:56 pm
Forum: General
Topic: Wireguard + VLAN -> Route one client through Wireguard tunnel [SOLVED]
Replies: 8
Views: 8378

Re: Wireguard + VLAN -> Route one client through Wireguard tunnel [SOLVED]

Suggest adding the WG interface to the WAN interface list:
/interface list member
add interface=MullvadWG_1 list=WAN
by TheCat12
Fri Jan 31, 2025 8:48 pm
Forum: General
Topic: issue with l2tp/ipsec
Replies: 22
Views: 5343

Re: issue with l2tp/ipsec

You would untick the use-ipsec option in the L2TP server settings and create the IPsec configuration manually - you have already defined profile and proposal, all that is left is a policy template, a peer and an identity
by TheCat12
Fri Jan 31, 2025 12:13 pm
Forum: Beginner Basics
Topic: How to forward port? [SOLVED]
Replies: 12
Views: 11597

Re: How to forward port? [SOLVED]

Try removing the src-port parameter from the NAT rules
by TheCat12
Thu Jan 30, 2025 11:32 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

Always glad to help! If you have remaining questions/problems, don't hesitate to write
by TheCat12
Thu Jan 30, 2025 11:11 pm
Forum: Beginner Basics
Topic: No Android Push Notifications with Wireguard Roadwarrorier Setup
Replies: 6
Views: 5248

Re: No Android Push Notifications with Wireguard Roadwarrorier Setup

I'm starting to think the following rule is the culprit:
add action=accept chain=input comment=\
    "VPN | WireGuard Port vom WAN aus erlauben" dst-port=13231 \
    in-interface-list=WAN protocol=udp
Try removing the in-interface-list and see if anything changes
by TheCat12
Thu Jan 30, 2025 11:08 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

Use the following command then:
/ip address
set 0 interface=lan
by TheCat12
Thu Jan 30, 2025 10:48 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

Here is the thing you couldn't find from above:
/ip address
add address=10.3.9.1/24 interface=sfp-sfpplus1 network=10.3.9.0
Change the interface=sfp-sfpplus1 to interface=lan
by TheCat12
Thu Jan 30, 2025 9:52 pm
Forum: Beginner Basics
Topic: How to forward port? [SOLVED]
Replies: 12
Views: 11597

Re: How to forward port? [SOLVED]

Probably the ISPs are to blame if the WAN IPs aren't public or their devices aren't in bridge mode
by TheCat12
Thu Jan 30, 2025 9:30 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

This should be removed:
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether1 network=\
    192.168.88.0
This should be changed to interface=lan:
add address=10.3.9.1/24 interface=sfp-sfpplus1 network=10.3.9.0
And the recommendations from my previous post
by TheCat12
Thu Jan 30, 2025 8:51 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

I'll copy off anav and say the same: post your latest full config for review
by TheCat12
Thu Jan 30, 2025 4:35 pm
Forum: General
Topic: only one host to wan
Replies: 7
Views: 3660

Re: only one host to wan

I concur. Default firewall rules: /ip firewall filter add chain=input action=accept connection-state=established,related,untracked comment="defconf: accept established,related,untracked" add chain=input action=drop connection-state=invalid comment="defconf: drop invalid" add chai...
by TheCat12
Thu Jan 30, 2025 4:33 pm
Forum: General
Topic: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server
Replies: 10
Views: 5293

Re: Tunnel Is UP, But Host Behind IPSEC Mikrotik Unable To Ping Remote Server

Or, since we're dealing with VLANs, arp=proxy-arp on the VLAN interfaces but just a wild guess
by TheCat12
Thu Jan 30, 2025 4:25 pm
Forum: Beginner Basics
Topic: Need Port Forwarding Help
Replies: 2
Views: 4510

Re: Need Port Forwarding Help

There is a discrepancy between the addresses on the MT <-> Server link - they're not in the same subnet
by TheCat12
Thu Jan 30, 2025 4:11 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

I'll use the bestowed upon me freedom to give a few more suggestions :wink: 1. Disable detect-internet because it is almost always a pain in the behind: /interface detect-internet set detect-interface-list=all to /interface detect-internet set detect-interface-list=none 2. Instead of listing out all...
by TheCat12
Thu Jan 30, 2025 2:26 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

Silly me, forgot the www service: /ip service set www address=10.3.9.0/24,192.168.100.0/24 Of course, if you need access through the other protocols via WG, you should add its subnet to every IP service needed. Also, the firewall rules have duplicated themselves. You should remove one of two sets. L...
by TheCat12
Thu Jan 30, 2025 1:44 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

Your firewall is hazardous for yourself! Unplug from the internet and add the following default rules: /ip firewall filter add chain=input action=accept connection-state=established,related,untracked comment="defconf: accept established,related,untracked" add chain=input action=drop connec...
by TheCat12
Wed Jan 29, 2025 10:38 pm
Forum: Beginner Basics
Topic: Wireguard Road Warrior - can access everything except Router
Replies: 22
Views: 5811

Re: Wireguard Road Warrior - can access everything except Router

A posted config would be much appreciated.

The command to export one is:
export file=anynameyouwish
After that, you copy it from the Files menu to your local machine and open it with Notepad to edit out some sensitive info like serial number, passwords, etc.
by TheCat12
Wed Jan 29, 2025 9:29 pm
Forum: General
Topic: l2TP ,IP SEC,IKEv1 and IkeV2 in more Details and information
Replies: 2
Views: 2868

Re: l2TP ,IP SEC,IKEv1 and IkeV2 in more Details and information

Could you post your config here beforehand because this shouldn't be the case

export file=anynameyouwish (minus sensitive info)

And to answer your question, IKEv2 can work alongside L2TP if configured properly
by TheCat12
Wed Jan 29, 2025 8:38 pm
Forum: General
Topic: only one host to wan
Replies: 7
Views: 3660

Re: only one host to wan

A simple firewall rule:
/ip firewall filter
add action=drop chain=forward in-interface=eth2-lan out-interface=eth1-wan src-address=!a.a.a.a
where a.a.a.a is the IP of the specific host that needs to reach the internet
by TheCat12
Wed Jan 29, 2025 11:55 am
Forum: Beginner Basics
Topic: No Android Push Notifications with Wireguard Roadwarrorier Setup
Replies: 6
Views: 5248

Re: No Android Push Notifications with Wireguard Roadwarrorier Setup

Since you haven't posted the full config, you have to make sure the WG interface is part of the LAN interface list. And the hairpin NAT rule should be the first one because rules are evaluated from top to bottom And the AllowedIPs of the peer should be set to 0.0.0.0/0 to send all traffic through th...
by TheCat12
Tue Jan 28, 2025 10:45 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4468

Re: Dual PPPoE Wan failover with specific port

Quite sure that would suffice. The first routing rule you quote, as I said in a previous post, ensures that local traffic dosn't get routed through the WG tunnel. The second one is the policy based routing and if the failover is configured correctly, there should be no need for additional routes in ...
by TheCat12
Tue Jan 28, 2025 10:39 pm
Forum: General
Topic: Blocking admin services - Firewall rules
Replies: 30
Views: 8312

Re: Blocking admin services - Firewall rules

Or better yet, just use the default firewall rule "Drop all not coming from LAN" as the last of the chain:
/ip firewall filter
add action=drop chain=input in-interface-list=!LAN
by TheCat12
Tue Jan 28, 2025 10:28 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4468

Re: Dual PPPoE Wan failover with specific port

I saw my mistake, forgot to add the routing table parameter, thank you!
by TheCat12
Tue Jan 28, 2025 6:57 pm
Forum: Beginner Basics
Topic: Management access to PtP link
Replies: 9
Views: 4834

Re: Management access to PtP link

Here you can find details about the reset/Netinstall process for hAP lite: https://help.mikrotik.com/docs/spaces/UM/pages/16351380/hAP+lite And here more about them generally: https://help.mikrotik.com/docs/spaces/ROS/pages/24805498/Reset+Button Technically I think they don't need to be on the same ...
by TheCat12
Tue Jan 28, 2025 4:10 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4468

Re: Dual PPPoE Wan failover with specific port

@TheCat12 <- you created a to_WAN_pppoe2 table that doesn't have a default gateway It has a gateway - the failover PPPoE interface can act as one since we're talking about a PtP protocol He wrote that failover was working properly, I believe that the main table is ok. The main table routing rule, i...
by TheCat12
Tue Jan 28, 2025 1:27 pm
Forum: Beginner Basics
Topic: Dual PPPoE Wan failover with specific port
Replies: 9
Views: 4468

Re: Dual PPPoE Wan failover with specific port

An edited version of @panisk0's short version will do the job because his is a bit overcomplicated and there are some things whose logic I don't understand (for example the use of routing marks): /routing table add fib name=to_WAN_pppoe2 /ip route add dst-address=0.0.0.0/0 gateway="backup_PPPoE...
by TheCat12
Mon Jan 27, 2025 10:16 pm
Forum: General
Topic: VLANs under the bridge
Replies: 8
Views: 4671

Re: VLANs under the bridge

Your config is understandable but a network diagram with trunk and access ports is highly advisable because on some ports which claim to be access ones there aren't any visible PVIDs
by TheCat12
Mon Jan 27, 2025 9:01 pm
Forum: Beginner Basics
Topic: Routing specific host via WireGuard to Internet through MT VPS [SOLVED]
Replies: 2
Views: 10807

Re: Routing specific host via WireGuard to Internet through MT VPS [SOLVED]

Since the local MT would need to access the internet through WG, I would put allowed-addresses=0.0.0.0/0 on the peer for starters. After that, I would add the following routing rule before the one you created: /routing rule add action=lookup-only-in-table dst-address=10.0.0.0/24 table=main Since the...
by TheCat12
Mon Jan 27, 2025 8:49 pm
Forum: Beginner Basics
Topic: Management access to PtP link
Replies: 9
Views: 4834

Re: Management access to PtP link

For the spare hAP lite, I would suggest resetting it by pushing the small RES button on bootup and then trying to connect to it. If it fails, may Netinstall be on your side. For the bare minimum to access internet and such through the office LAN, you would use the DHCP subnet of the VM router by set...
by TheCat12
Mon Jan 27, 2025 5:10 pm
Forum: General
Topic: Problems with NAT, I need to disable it.
Replies: 2
Views: 2721

Re: Problems with NAT, I need to disable it.

Or better yet, export the config of the router and post it here since I'm expecting to see some firewall/NAT rules added to the hotspot chain system by the integrator that affect the VPN

/export file=anynameyouwish (minus sensitive info like public IPs, serial number, passwords, etc.)
by TheCat12
Mon Jan 27, 2025 4:21 pm
Forum: Beginner Basics
Topic: Management access to PtP link
Replies: 9
Views: 4834

Re: Management access to PtP link

Perhaps you could do something else but that would require a second (preferably MT) router - put the Virgin Media router into bridge/modem mode and add your router behind it with more capabilities. That way you'll also be partially independent from the VM router
by TheCat12
Mon Jan 27, 2025 12:13 am
Forum: Beginner Basics
Topic: Management access to PtP link
Replies: 9
Views: 4834

Re: Management access to PtP link

1. Better fixed IPs, since you'll have only four devices in the subnet and you'll need static routing 2. You could give it whatever IP range you want. The only requirement is that it doesn't clash with any other preexisting subnet. You could do the following: 1. Add an address to ether5: /ip address...
by TheCat12
Sun Jan 26, 2025 9:09 pm
Forum: Beginner Basics
Topic: First L2TP Packet Log Message
Replies: 1
Views: 3868

Re: First L2TP Packet

Perhaps you have inadvertently enabled it through the QuickSet settings? That aside, you can disable the L2TP server if you're not using it: /interface l2tp-server server set enabled=no You should also blacklist the IPs which seem to have gained access to your subnet as well as change username and p...
by TheCat12
Sat Jan 25, 2025 5:03 pm
Forum: General
Topic: CoreTransit /29 Routable IP L2TP Service
Replies: 12
Views: 3149

Re: CoreTransit /29 Routable IP L2TP Service

Basically whatever is coming from 192.168.88.0/24 goes out the default route. (the spectrum main dhcp'd ip) Anything that comes over the l2tp connection say 216.146.17.128/29 goes out of the route of the l2tp connection but is another subnet on the bridgeLocal interface. That's the part where it ge...
by TheCat12
Thu Jan 23, 2025 11:32 pm
Forum: General
Topic: CoreTransit /29 Routable IP L2TP Service
Replies: 12
Views: 3149

Re: CoreTransit /29 Routable IP L2TP Service

Wait a second... Do you just want the LAN to go out to the internet through a public WAN IP and/or the other way around? If that's the case, it could be achieved with policy routing: /ip address add address=216.146.17.129/29 interface=lo /routing table add fib name=thr_l2tp /routing rule add action=...
by TheCat12
Thu Jan 23, 2025 8:39 pm
Forum: General
Topic: CoreTransit /29 Routable IP L2TP Service
Replies: 12
Views: 3149

Re: CoreTransit.net /29 Routable IP L2TP Service

You still haven't answered my question - why do public IPs and local ones need to be on the same interface? Do you want a specific device to have a public IP? Does it need to access the internet from it? Do you want to forward the addresses to another router?
by TheCat12
Tue Jan 21, 2025 10:12 pm
Forum: General
Topic: How to create hairpin rune?
Replies: 2
Views: 2310

Re: How to create hairpin rune?

Add the following NAT rule before the default masquerade one:
/ip firewall nat
add action=masquerade chain=srcnat dst-address=192.168.12.8 src-address=192.168.12.0/24
by TheCat12
Tue Jan 21, 2025 10:04 pm
Forum: General
Topic: CoreTransit /29 Routable IP L2TP Service
Replies: 12
Views: 3149

Re: CoreTransit.net /29 Routable IP L2TP Service

I still cannot comprehend the purpose of having local and public IPs on the same interface. Kindly clarify it
by TheCat12
Tue Jan 21, 2025 11:48 am
Forum: General
Topic: CoreTransit /29 Routable IP L2TP Service
Replies: 12
Views: 3149

Re: CoreTransit.net /29 Routable IP L2TP Service

A network diagram as well as stating your requirements in the form "which users are part of what network and what should they be able to reach from where" would be quite helpful
by TheCat12
Tue Jan 21, 2025 9:45 am
Forum: Beginner Basics
Topic: Trying to access a Luleey SFP module
Replies: 7
Views: 8877

Re: Trying to access a Luleey SFP module

You added it as the first rule, right? Because rules are evaluated from top to bottom
by TheCat12
Tue Jan 21, 2025 12:06 am
Forum: General
Topic: L2tp/ipsec windows does not connect
Replies: 7
Views: 3723

Re: L2tp/ipsec windows does not connect

I personally don't see any errors in the log so the most likely culprit is the Windows 11 machine
by TheCat12
Mon Jan 20, 2025 8:10 pm
Forum: Beginner Basics
Topic: Trying to access a Luleey SFP module
Replies: 7
Views: 8877

Re: Trying to access a Luleey SFP module

It's probably the NAT that's messing things up, so try adding the following rule on the top:
/ip firewall nat
add action=src-nat chain=srcnat dst-address=192.168.1.1 out-interface=sfp-sfpplus1 to-addresses=192.168.1.2
by TheCat12
Mon Jan 20, 2025 10:38 am
Forum: Beginner Basics
Topic: Trying to access a Luleey SFP module
Replies: 7
Views: 8877

Re: Trying to access a Luleey SFP module

It is hard to work with snippets since everything is interconnected, so kindly attach a full exported config of the router:

export file=anynameyouwish (minus sensitive info like serial numbers, public IPs, etc.)
by TheCat12
Mon Jan 20, 2025 10:33 am
Forum: General
Topic: Help : 2 WAN 1 LAN Configuration [SOLVED]
Replies: 3
Views: 3189

Re: Help : 2 WAN 1 LAN Configuration [SOLVED]

I don't know if it would make any change but try using src-address directly instead of src-address-list in the mangle rules
by TheCat12
Sun Jan 19, 2025 9:55 pm
Forum: General
Topic: Routing based on wildcard DNS name
Replies: 1
Views: 1994

Re: Routing based on wildcard DNS name

With an address list and some mangling, it's possible to route through the VPN. But first, an exported config to see the type of VPN, if there are other active routing rules and/or mangling, etc., would be appreciated:

export file=anynameyouwish (minus sensitive info)
by TheCat12
Fri Jan 17, 2025 9:26 pm
Forum: General
Topic: dynamic identity generation for IKEv2/IPSec RSA?
Replies: 2
Views: 1904

Re: dynamic identity generation for IKEv2/IPSec RSA?

It should be possible with the appropriate script but I'm no expert in scripting
by TheCat12
Fri Jan 17, 2025 9:25 pm
Forum: General
Topic: Reach another Mikrotik router webfig via L2TP
Replies: 1
Views: 1794

Re: Reach another Mikrotik router webfig via L2TP

Exported configs of both router are needed:

export file=anynameyouwish (minus sensitive info like serial numbers, passwords, public IPs, etc.)
by TheCat12
Wed Jan 15, 2025 7:39 pm
Forum: General
Topic: L2TP via IPv6 doesn't connect
Replies: 3
Views: 3052

Re: L2TP via IPv6 doesn't connect

Without a config we can't tell anything:

/export file=anynameyouwish (minus sensitive info)
by TheCat12
Tue Jan 07, 2025 8:36 pm
Forum: Beginner Basics
Topic: Simple Bridge with Firewall rules for Ether1 (internet))
Replies: 16
Views: 6254

Re: Simple Bridge with Firewall rules for Ether1 (internet))

Per your example from a previous post, to port forward 192.168.88.50:80, you would need to add the following NAT rule: /ip firewall nat add action=dst-nat chain=dstnat dst-port=80 in-interface-list=WAN protocol=tcp to-addresses=192.168.88.50 Before adding it, you would need to consider whether you h...
by TheCat12
Sun Jan 05, 2025 9:29 pm
Forum: Beginner Basics
Topic: Wireguard + Hairpin NAT issue
Replies: 15
Views: 4977

Re: Wireguard + Hairpin NAT issue

May I suggest a simpler approach for policy routing in this case? Instead of mangling, use routing rules:
/routing rule
add action=lookup-only-in-table min-prefix=0 table=main
add action=lookup src-address=192.168.88.5 table=vpn_mark
Order of rules is important
by TheCat12
Sun Jan 05, 2025 3:37 pm
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

Bridge is required for switching, aka if you have multiple ports attached to it, which share the same VLAN. In this case, when there is just one single interface running VLANs, you can just attach VLAN interfaces directly to eth4. I mean it will work either way, but in this case, bridge part looks ...
by TheCat12
Sun Jan 05, 2025 3:27 pm
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

I also have a question for @anav regarding PCC: shouldn't the PCC part of mangling take place in the prerouting chain instead of the forward one since routing decisions are taken after the prerouting and before the forward?
by TheCat12
Sun Jan 05, 2025 3:12 pm
Forum: Beginner Basics
Topic: Did the Mikrotik firewall block the open ports?
Replies: 38
Views: 9447

Re: Did the Mikrotik firewall block the open ports?

Typo of the poster, it should be srcnat
by TheCat12
Sat Jan 04, 2025 3:22 pm
Forum: General
Topic: route/bgp/blackhole command changes in 7.16.2
Replies: 1
Views: 2618

Re: route/bgp/blackhole command changes in 7.16.2

A route can still be marked as blackhole by just writing blackhole but for the BGP communities probably addtional filter rules would be needed, something like append or I don't know
by TheCat12
Sat Jan 04, 2025 3:02 pm
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

A. OK B. and C. The port forwarding and the VPN would be a bit tricky if you don't have public IPs and on top of that there were some issues between Wireguard and mangle I think D. Shouldn't the third PPPoE client be on ether3 judging by the mangle rules? E. The output mark-routing rules were a good...
by TheCat12
Sat Jan 04, 2025 12:05 am
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

7) The whole bridge config and VLANs: looks like you've made a duplicate. At one hand you've created VLAN interfaces associated with eth4, at the other hand, you've put eth4 into bridge and set VLANs there as well. Generally, you configure VLANs over the bridge while doing switch-like config, and p...
by TheCat12
Fri Jan 03, 2025 6:58 pm
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

I personally find them unnecessary because they don't have any relevant function. However, if you need to access resources that are in the subnets of the PPPoE interfaces, you could transform them to something like: add action=accept chain=prerouting dst-address="PPPoE_1_subnet" in-interfa...
by TheCat12
Fri Jan 03, 2025 4:28 pm
Forum: Beginner Basics
Topic: two isp active at the same time
Replies: 2
Views: 3923

Re: two isp active at the same time

It's not impossible but an exported config would be helpful to determine the type of VPN, subnets, etc.:

export file=anynameyouwish (minus sensitive info like public IPs, passwords, etc.)
by TheCat12
Fri Jan 03, 2025 4:24 pm
Forum: Beginner Basics
Topic: Rate my config
Replies: 20
Views: 6045

Re: Rate my config

Suggest eliding the public key of the Wireguard peer from the config In the LAN interface list, instead of ether4 you should reference the VLAN interfaces because technically they become the L3 interfaces Would you elaborate on the usage of the first three mangle rules? The last three mangle rules ...
by TheCat12
Fri Jan 03, 2025 3:54 pm
Forum: Beginner Basics
Topic: Simple Bridge with Firewall rules for Ether1 (internet))
Replies: 16
Views: 6254

Re: Simple Bridge with Firewall rules for Ether1 (internet))

You need to disconnect from the internet and implement at least the default firewall ASAP because now you're an open door to the world. After that we can talk about port forwarding (allowing access to internal service through public IP)
by TheCat12
Fri Jan 03, 2025 11:02 am
Forum: General
Topic: Trying to fix configuration of DHCP client using VLAN Interface
Replies: 4
Views: 2861

Re: Trying to fix configuration of DHCP client using VLAN Interface

Only problem I see is that the bridge is not a tagged member of the VLAN1000

/interface bridge vlan
add bridge="All Ports Bridge" tagged="All Ports Bridge",bond_sfpplus1-sfpplus2 disabled=yes vlan-ids=1000
by TheCat12
Fri Jan 03, 2025 10:32 am
Forum: Beginner Basics
Topic: mac adress work not guest
Replies: 4
Views: 4064

Re: mac adress work not guest

The first list determines whether there is already an entry for the computer on the other DHCP server so it doesn't get duplicated. If the variable is empty (nil) and the compiter that is trying to connect is the desired one, a DHCP server blocking lease will be added on the other one. Although ther...
by TheCat12
Thu Jan 02, 2025 11:10 pm
Forum: Beginner Basics
Topic: mac adress work not guest
Replies: 4
Views: 4064

Re: mac adress work not guest

You could write the following lease script on the DHCP servers (sorry that it's a little bit lengthy): :local var [/ip dhcp-server lease get [ find server=*second_server* && mac-address=\$leaseActMAC ]] :if (\$lease-hostname = "desired_hostname" && \$var = nil) do={ [/ip dh...
by TheCat12
Thu Jan 02, 2025 7:39 pm
Forum: General
Topic: IKEv2 IPsec / Windows VPN not working
Replies: 7
Views: 3042

Re: IKEv2 IPsec / Windows VPN not working

If it's the unacceptable credentials error, you can try this:

viewtopic.php?t=178377
by TheCat12
Thu Jan 02, 2025 6:24 pm
Forum: Beginner Basics
Topic: Simple Bridge with Firewall rules for Ether1 (internet))
Replies: 16
Views: 6254

Re: Simple Bridge with Firewall rules for Ether1 (internet))

If the default bridge config is the exported one, remove ether1 from the bridge, set the DHCP client on ether1 and add some firewall rules Default ones: /ip firewall filter add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,re...
by TheCat12
Thu Jan 02, 2025 6:13 pm
Forum: General
Topic: IKEv2 IPsec / Windows VPN not working
Replies: 7
Views: 3042

Re: IKEv2 IPsec / Windows VPN not working

add action=dst-nat chain=dstnat dst-address=Public-IP-2 dst-port=500 \ protocol=udp to-addresses=192.168.10.11 to-ports=500 add action=dst-nat chain=dstnat dst-address=Public-IP-2 dst-port=4500 \ protocol=udp to-addresses=192.168.10.11 to-ports=4500 add action=dst-nat chain=dstnat dst-address=Publi...
by TheCat12
Thu Jan 02, 2025 6:00 pm
Forum: General
Topic: IKEv2 IPsec / Windows VPN not working
Replies: 7
Views: 3042

Re: IKEv2 IPsec / Windows VPN not working

Could you surround the config with code blocks, pretty please? You select the config and press the </> button. That way it will be more readable
by TheCat12
Thu Jan 02, 2025 12:53 pm
Forum: General
Topic: IPsec tunnel not working
Replies: 23
Views: 4134

Re: IPsec tunnel not working

Perhaps also a policy template is advisable alongside the tunnel one you've created which would be added to the identity: /ip ipsec policy group add name=socitrans-policy-group /ip ipsec policy add group=socitrans-policy-group proposal=socitrans-proposal template=yes /ip ipsec identity set policy-te...
by TheCat12
Thu Jan 02, 2025 12:26 pm
Forum: General
Topic: IPsec tunnel not working
Replies: 23
Views: 4134

Re: IPsec tunnel not working

Maybe it's the first NAT rule that is src-natting before a packet gets encrypted, after which it cannot be encrypted because the src-address mismatches that of the policy: /ip firewall nat add action=src-nat chain=srcnat out-interface=ether1-WAN-MAIN-DSL-MODEM ipsec-policy=out,none to-addresses=yyy....
by TheCat12
Tue Dec 31, 2024 1:09 pm
Forum: Beginner Basics
Topic: How to connect mikrotik as an ikev2 client? [SOLVED]
Replies: 5
Views: 10556

Re: How to connect mikrotik as an ikev2 client? [SOLVED]

Ok, for starters you would have to download ISRG ROOT X1 and R10 and R11 as .pem, add them to the router's files ajd import them /certificate import isrgrootx1.pem import r10.pem import r11.pem After that, you would create an IPsec profile and proposal: /ip ipsec profile add name=TheSafety_VPN /ip i...
by TheCat12
Mon Dec 30, 2024 9:07 pm
Forum: Beginner Basics
Topic: No connection with winbox
Replies: 4
Views: 4577

Re: No connection with winbox

I think the "problem" is in the router because it hasn't got a wireless chip :)
by TheCat12
Mon Dec 30, 2024 9:02 pm
Forum: Beginner Basics
Topic: How to connect mikrotik as an ikev2 client? [SOLVED]
Replies: 5
Views: 10556

Re: Now to connect mikrotik as an ikev2 client? [SOLVED]

If the VPN provider is the one you've posted, then you're out of luck because IKEv2 with username and password means that they're using an EAP method of authentication, which means that you neeed the whole certificate chain of trust. If you kindly ask them which are their root CA and intermediate ce...
by TheCat12
Sat Nov 23, 2024 11:55 pm
Forum: Beginner Basics
Topic: WAN interface intermittently receiving DHCP from DHCP server
Replies: 5
Views: 3098

Re: WAN interface intermittently receiving DHCP from DHCP server

Maybe I'm blind but I don't see anything irregular in the configuration you have provided besides the following thing: /interface bridge add add-dhcp-option82=yes admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=\ "LAN bridge" dhcp-snooping=yes name=bridge1 It's probably best to remove it s...
by TheCat12
Tue Nov 19, 2024 10:43 pm
Forum: Beginner Basics
Topic: ipsec between two mikrotiks
Replies: 5
Views: 2847

Re: ipsec between two mikrotiks

introduction, there are two devices on the Internet with public IPv4, no NAT and masquerading, no local subnets, A masquerade is always needed to access the internet: /ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN ipsec-policy=out,none And no local subnets sounds impossi...
by TheCat12
Sun Nov 17, 2024 1:34 pm
Forum: Beginner Basics
Topic: ipsec between two mikrotiks
Replies: 5
Views: 2847

Re: ipsec between two mikrotiks

For the firewall it's easy - you add two rules allowing input from UDP 500 and 4500 and IPsec ESP on the IPsec server. For the policies it depends what subnets you want to route through the tunnel
by TheCat12
Wed Nov 06, 2024 6:41 pm
Forum: General
Topic: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP
Replies: 9
Views: 2128

Re: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP

The aforementioned policies should be added as additional ones to the template. As to why does the Wireguard get affected, I can't really tell
by TheCat12
Wed Nov 06, 2024 9:41 am
Forum: General
Topic: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP
Replies: 9
Views: 2128

Re: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP

I forgot that you wanted to route all traffic through IKEv2. Luckily, it's a matter of a few small changes on Router B: /ip ipsec policy add action=none src-address=192.168.95.0/24 dst-address=192.168.95.0/24 add action=encrypt level=unique proposal=ikev2 srx-address=192.168.95.0/24 dst-address=0.0....
by TheCat12
Wed Nov 06, 2024 12:02 am
Forum: General
Topic: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP
Replies: 9
Views: 2128

Re: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP

On Router A:
/ip ipsec policy
add action=encrypt tunnel=yes proposal=ikev2 src-address=10.0.88.0/24 dst-address=192.168.95.0/24
On Router B:
/ip ipsec policy
add action=encrypt tunnel=yes proposal=ikev2 dst-address=10.0.88.0/24 src-address=192.168.95.0/24
by TheCat12
Tue Nov 05, 2024 9:47 am
Forum: General
Topic: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP
Replies: 9
Views: 2128

Re: Routing all traffic through Site A over IKEv2 or IKEv2 and EOIP

It is possible to route traffic without EoIP with the appropriate policies but an exported config is advisable:

export file=anynameyouwish (minus sensitive info like public IPs, passwords, etc.)
by TheCat12
Tue Nov 05, 2024 9:35 am
Forum: Beginner Basics
Topic: Problem with failover to backup ISP [SOLVED]
Replies: 10
Views: 4408

Re: Problem with failover to backup ISP [SOLVED]

I think the two default routes that are with direct gateways to the ISPs, i.e. the ones without comment, are messing around with the failover. Disable them and try tripping the ISP into switching over again
by TheCat12
Sun Nov 03, 2024 4:14 pm
Forum: Beginner Basics
Topic: Separate internet while using 3 modems
Replies: 12
Views: 2514

Re: Separate internet while using 3 modems

Looking at the diagram, the following setup would suffice - bridge ether1 with ether4, ether2 with ether5, ether3 with ether6, create an interface list for the bridges and add them to it accordingly and then create the following firewall rule: /ip firewall filter add action=accept chain=forward in-i...
by TheCat12
Sat Nov 02, 2024 1:09 pm
Forum: Beginner Basics
Topic: Separate internet while using 3 modems
Replies: 12
Views: 2514

Re: Separate internet while using 3 modems

The image of the diagram is a bit broken. Could you repost it somehow? Also, it would be nice to answer @anav's questions whether a fallback scenario (one modem stops functioning) would be needed and whether there'll be incoming VPNs
by TheCat12
Thu Oct 31, 2024 7:53 pm
Forum: Beginner Basics
Topic: Sites connected with Wireguard but not able to access other hosts
Replies: 8
Views: 2360

Re: Sites connected with Wireguard but not able to access other hosts

My suspicions were confirmed: you added on both sides in the allowed-address field a /32 instead of the whole subnet: On Router A: /interface wireguard peers add allowed-address=10.2.200.2/30, 192.168.201.1/32 endpoint-address=\ <code> endpoint-port=59123 interface=wg-fs name=\ fs persistent-keepali...
by TheCat12
Thu Oct 31, 2024 12:31 pm
Forum: Beginner Basics
Topic: Separate internet while using 3 modems
Replies: 12
Views: 2514

Re: Separate internet while using 3 modems

I think you need a router with more ports or possibly you would have to configure VLANs but would still need an additional switch
by TheCat12
Thu Oct 31, 2024 12:11 pm
Forum: Beginner Basics
Topic: Sites connected with Wireguard but not able to access other hosts
Replies: 8
Views: 2360

Re: Sites connected with Wireguard but not able to access other hosts

Without config there's nothing we can tell...

export file=anynameyouwish (minus sensitive info)

My guess would be that you haven't configured allowed addresses and routes properly but that's just a guess
by TheCat12
Sun Oct 27, 2024 8:36 am
Forum: General
Topic: IPsec Tunnel (NordVPN) works only internally - but not for clients
Replies: 1
Views: 399

Re: IPsec Tunnel (NordVPN) works only internally - but not for clients

Since we can't see your configuration through a crystal ball, please post it here:

export file=anynameyouwish (minus sensitive info like public IPs, passwords, etc.)
by TheCat12
Sun Oct 27, 2024 8:14 am
Forum: Beginner Basics
Topic: Wireless AP and Router on different subnets - imperfect communication
Replies: 3
Views: 1482

Re: Wireless AP and Router on different subnets - imperfect communication

That is because of the following rule on the AP: /ip firewall filter add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN If you disable it, you should be able to access wireless devices from...
by TheCat12
Thu Oct 24, 2024 12:12 pm
Forum: Beginner Basics
Topic: GRE over CUSTOM IPSec [SOLVED]
Replies: 5
Views: 1975

Re: GRE over CUSTOM IPSec [SOLVED]

Instead of using the "IPsec secret" option in the GRE menu, you can add a custom identity which would be configured with the custom IPsec configuration
by TheCat12
Wed Oct 23, 2024 10:26 am
Forum: Beginner Basics
Topic: Port Forwarding not working properly
Replies: 3
Views: 1591

Re: Port Forwarding not working properly

Looking at the config, most probably an ISP problem. Only one tip for the firewall: the fasttrack connection rule is a bit too forward for my liking, better put it somewehere after, for example, the "Accept established, related" one
by TheCat12
Tue Oct 22, 2024 10:29 pm
Forum: General
Topic: Connect 2 l2tp clinets to same l2tp server with diffrent wan interface
Replies: 2
Views: 404

Re: Connect 2 l2tp clinets to same l2tp server with diffrent wan interface

Before suggesting anything, I would like to have a look at the exported config of the server:

export file=anynameyouwish (minus sensitive info like serial numbers, passwords, public IPs etc.)
by TheCat12
Tue Oct 22, 2024 10:16 pm
Forum: General
Topic: l2tp subnet routing router to router
Replies: 11
Views: 1036

Re: l2tp subnet routing router to router

Maybe I'll have to see the configurations of at least the two L2TP servers just to check what the situation is:

export file=anynameyouwish (minus sensitive info like public IPs, passwords etc.)
by TheCat12
Tue Oct 22, 2024 11:27 am
Forum: General
Topic: l2tp subnet routing router to router
Replies: 11
Views: 1036

Re: l2tp subnet routing router to router

Back to the main point, I'll write down a list of all the possible route combinations for each and every router, so that everything is accessible through anything. The OP will decide what is needed and what not # 192.168.98.0/24 router /ip route add dst-address=192.168.99.0/24 gateway=192.168.100.1 ...
by TheCat12
Mon Oct 21, 2024 11:14 pm
Forum: General
Topic: l2tp subnet routing router to router
Replies: 11
Views: 1036

Re: l2tp subnet routing router to router

It is possible with the help of staric routes but more details are needed - which router(s) is/are L2TP server(s)? How exactly are all the routers connected with each other? A simple diagram would be best
by TheCat12
Mon Oct 21, 2024 11:08 pm
Forum: General
Topic: Translate Google Forms link
Replies: 2
Views: 588

Re: Translate Google Forms link

If no MikroTik solution to your problem pops up, may I suggest printing out a QR code instead of an URL?
by TheCat12
Mon Oct 21, 2024 2:29 pm
Forum: Beginner Basics
Topic: VPN is unable to access the local network
Replies: 8
Views: 4249

Re: VPN is unable to access the local network

The default firewall covers security pretty good, but if you want to strengthen it:

https://help.mikrotik.com/docs/spaces/R ... d+Firewall
by TheCat12
Mon Oct 21, 2024 9:37 am
Forum: Beginner Basics
Topic: ISP routed bridge + traditional NAT setup.
Replies: 2
Views: 1027

Re: ISP routed bridge + traditional NAT setup.

You're lucky that the addresses are being routed to you because you can manage them however you desire: For the pfsense firewalls you can add public IPs directly on the ports facing them. For the unraid server you can add a route with dst-address=public IP and gateway=natted subnet as well as add th...
by TheCat12
Mon Oct 21, 2024 9:12 am
Forum: Beginner Basics
Topic: Bridge interface vs bridge port, publics interfaces [SOLVED]
Replies: 2
Views: 1555

Re: Bridge interface vs bridge port, publics interfaces [SOLVED]

It means that if you set a bridge as the interface, on which the hotspot should be running, no WAN ports should be members of the bridge, only LAN ones
by TheCat12
Sun Oct 20, 2024 11:02 am
Forum: Beginner Basics
Topic: VPN is unable to access the local network
Replies: 8
Views: 4249

Re: VPN is unable to access the local network

These are the default firewall rules which you should have present in the order in which they are posted, i.e. input rules at the top, after that forward rules whereby these three rules: add action=accept chain=forward comment=FTP dst-port=21 protocol=tcp add action=accept chain=forward dst-port=500...
by TheCat12
Sat Oct 19, 2024 7:58 pm
Forum: Beginner Basics
Topic: VPN is unable to access the local network
Replies: 8
Views: 4249

Re: VPN is unable to access the local network

If this router is not behind a stronger firewall, then my condolences to you (revert to a default firewall filter because your network is as open as a door in a field). Then we will discuss the matter of the VPNs
by TheCat12
Wed Oct 16, 2024 8:12 pm
Forum: General
Topic: Problem to connect to ISP via PPPOE
Replies: 19
Views: 4429

Re: Problem to connect to ISP via PPPOE

Looking at the error - wrong username/password or the PPPoE server has a problem
by TheCat12
Mon Oct 14, 2024 10:37 pm
Forum: General
Topic: Opening ports makes me lose connection
Replies: 5
Views: 516

Re: Opening ports makes me lose connection

Without seeing the config I can't tell nothing, so:

export file=anynameyouwish (minus sensitive info)
by TheCat12
Sun Oct 13, 2024 10:14 pm
Forum: Beginner Basics
Topic: Use mikrotik router to establish a vpn connection to another mikrotik server
Replies: 1
Views: 920

Re: Use mikrotik router to establish a vpn connection to another mikrotik server

I'd say quite fast: add a L2TP client with "Use IPsec" enabled: https://help.mikrotik.com/docs/display/ROS/L2TP After that, create a routing table, add a default route pointing to the L2TP interface on both main and newly created routing tables and use routing rules to specify which client...
by TheCat12
Sun Oct 13, 2024 4:55 pm
Forum: General
Topic: How to distribute public ip that is on the same route but multiple block
Replies: 1
Views: 376

Re: How to distribute public ip that is on the same route but multiple block

I'd suggest using src- and dst-nat rules in order to translate all addresses to corresponding VPN ones 1:1 : /ip firewall nat add action=dst-nat chain=dstnat dst-address=99.99.99.6 to-addresses=11.11.11.3 add action=src-nat chain=srcnat to-addresses=99.99.99.6 src-address=11.11.11.3 and so on. Maybe...
by TheCat12
Sat Oct 12, 2024 10:20 am
Forum: Beginner Basics
Topic: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]
Replies: 11
Views: 2152

Re: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]

One way is the aforementioned one, another way is to create a backup file through the Files menu whose content you cannot view, edit, etc. because it's a binary file
by TheCat12
Sat Oct 12, 2024 10:13 am
Forum: Beginner Basics
Topic: NAT - Port forwarding, closing ports
Replies: 4
Views: 904

Re: NAT - Port forwarding, closing ports

We need to have a look at the configuration because that doesn't sound like normal port forwarding behavior

export file=anynameyouwish (minus sensitive info like serial number, public IPs, passwords, etc.)
by TheCat12
Sat Oct 12, 2024 10:06 am
Forum: Beginner Basics
Topic: How do I specify an address pool for a ppp profile? [SOLVED]
Replies: 2
Views: 1123

Re: How do I specify an address pool for a ppp profile? [SOLVED]

Looking at the screenshot, you're trying to add the pool to a secret, not to the profile which is, as correctly suggested by most internet resources, located in the PPP –> Profile section
by TheCat12
Sat Oct 12, 2024 10:02 am
Forum: Beginner Basics
Topic: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]
Replies: 11
Views: 2152

Re: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]

Then I guess that is the problem since the first address of a subnet is mostly reserved for the gateway, i.e. the GPON
by TheCat12
Fri Oct 11, 2024 11:39 pm
Forum: Beginner Basics
Topic: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]
Replies: 11
Views: 2152

Re: IP and Routing: SFP GPON Module WebUI access hmm [SOLVED]

/ip address
[...]
add address=192.168.1.1/24 interface=sfp1 network=192.168.1.0
Shouldn't the address be something other than 192.168.1.1? Maybe .2?
by TheCat12
Wed Oct 09, 2024 8:00 pm
Forum: Beginner Basics
Topic: How to solve the problem with DHCP
Replies: 2
Views: 807

Re: How to solve the problem with DHCP

It should also be possible with a RADIUS server (or User Manager for that matter): It is also possible to hand out leases for DHCP clients using the RADIUS server; the supported parameters for a RADIUS server are as follows: Access-Request: NAS-Identifier - router identity NAS-IP-Address - IP addres...
by TheCat12
Wed Oct 09, 2024 7:38 pm
Forum: General
Topic: Streaming Error for Surveillance Cameras (NO NAT)
Replies: 8
Views: 1472

Re: Streaming Error for Surveillance Cameras (NO NAT)

First off, your firewall is a mess to say the very least - misordered rules, redundant rules, etc.

Secondly, I suspect you're missing some NAT port forwardings like 80,443,554
by TheCat12
Tue Oct 08, 2024 11:24 pm
Forum: General
Topic: Streaming Error for Surveillance Cameras (NO NAT)
Replies: 8
Views: 1472

Re: Streaming Error for Surveillance Cameras (NO NAT)

https://en.akinator.com/

or

export file=anynameyouwish (minus sensitive info like public IPs, passwords, etc.)
by TheCat12
Tue Oct 08, 2024 10:11 pm
Forum: General
Topic: Split Tunneling for L2TP on MikroTik RouterOS
Replies: 1
Views: 478

Re: Split Tunneling for L2TP on MikroTik RouterOS

If you're configuring L2TP over IPsec (which you probably should be) there's an option in the mode configurations named "split-include" but for you to be able to use it you would have to configure the whole IPsec part by yourself instead of just adding IPsec secret under the PPP profile wh...
by TheCat12
Tue Oct 08, 2024 9:36 pm
Forum: Beginner Basics
Topic: Add public subnet to WAN with and without NAT [SOLVED]
Replies: 8
Views: 1761

Re: Add public subnet to WAN with and without NAT [SOLVED]

Probably because the VLAN should also be src-natted:
/ip firewall nat
add action=src-nat chain=srcnat src-address=10.0.100.0/24 to-addresses=188.213.95.249
by TheCat12
Tue Oct 08, 2024 11:15 am
Forum: Beginner Basics
Topic: Add public subnet to WAN with and without NAT [SOLVED]
Replies: 8
Views: 1761

Re: Add public subnet to WAN with and without NAT [SOLVED]

That is the more fortunate situation because you can do the following: For the server you can add one of the addresses directly on the Ethernet port facing it. For the VLANs and other NATted subnets you could add routes pointing to their gateways with dst-address being a public IP: /ip route add dst...
by TheCat12
Tue Oct 08, 2024 10:14 am
Forum: Beginner Basics
Topic: Add public subnet to WAN with and without NAT [SOLVED]
Replies: 8
Views: 1761

Re: Add public subnet to WAN with and without NAT [SOLVED]

If that's really the first usable address, it could be that they're routing the /29 block to you and they're using different addresses for the PPPoE link?
by TheCat12
Tue Oct 08, 2024 10:00 am
Forum: Beginner Basics
Topic: Add public subnet to WAN with and without NAT [SOLVED]
Replies: 8
Views: 1761

Re: Add public subnet to WAN with and without NAT [SOLVED]

Is your ISP the gateway (they have the first usable address of the subnet for their router) or do they route the /29 block to you?
by TheCat12
Sun Oct 06, 2024 12:20 am
Forum: General
Topic: Problem to connect to ISP via PPPOE
Replies: 19
Views: 4429

Re: Problem to connect to ISP via PPPOE

Without an exported config it would be very hard to diagnose the problem: export file=anynameyouwish (minus sensitive info like serial numbers, passwords, etc.) Nevertheless, I'll have a shot in the dark and guess misconfigured NAT masquerading, e.g. the PPPoE interface is not added to the WAN inter...
by TheCat12
Sun Oct 06, 2024 12:14 am
Forum: General
Topic: Can't ping a public ip over a vlan interface
Replies: 4
Views: 480

Re: Can't ping a public ip over a vlan interface

Does the LTE interface add a default route?

Aside from that, mixing VLAN and non-VLAN traffic on the same interface never leads to anything good. Keep that in mind
by TheCat12
Thu Oct 03, 2024 11:03 pm
Forum: Beginner Basics
Topic: 2 ISP CONFIGURTAION PROBLEM
Replies: 5
Views: 825

Re: 2 ISP CONFIGURTAION PROBLEM

Would it not be for the second bit...... ???? /ip route add check-gateway=ping dst-address=0.0.0.0/0 gateway=192.168.100.1%"ISP1_interface" distance=1 add check-gateway=ping dst-address=0.0.0.0/0 gateway=192.168.100.1%"ISP2_interface" distance=2 add dst-address=0.0.0.0/0 gateway...
by TheCat12
Wed Oct 02, 2024 9:31 pm
Forum: Beginner Basics
Topic: 2 ISP CONFIGURTAION PROBLEM
Replies: 5
Views: 825

Re: 2 ISP CONFIGURTAION PROBLEM

you cant as far as im awear run two isp in to the mikrotik at the same time As a matter of fact you can, but since both ISPs provide addresses from the same address space, the routing part would be a bit tricky. First, the creation of routing tables and mangling which is typical load balancing, sho...
by TheCat12
Wed Oct 02, 2024 8:58 pm
Forum: Beginner Basics
Topic: Access Printer from another Mikrotik Router [SOLVED]
Replies: 11
Views: 12603

Re: Access Printer from another Mikrotik Router [SOLVED]

I did this, but I had no luck and how can I grant access only to the printer IP?
May we then have a look at the exported config of the router?

export file=anynameyouwish (minus sensitive info like passwords, etc.)
by TheCat12
Sat Sep 28, 2024 1:30 pm
Forum: General
Topic: PUBLIC IP DISTRIBUTE TO VPN
Replies: 6
Views: 1120

Re: PUBLIC IP DISTRIBUTE TO VPN

You still have to answer my question whether both sides of the L2TP tunnel are MikroTik routers because routing will be made on the router with the public IPs
by TheCat12
Sat Sep 28, 2024 1:21 pm
Forum: Beginner Basics
Topic: Access Printer from another Mikrotik Router [SOLVED]
Replies: 11
Views: 12603

Re: Access Printer from another Mikrotik Router [SOLVED]

No need for the last two NAT rules, most probably you're missing a route:
/ip route
add dst-address=192.168.18.0/23 gateway=192.168.18.1
by TheCat12
Sat Sep 28, 2024 10:39 am
Forum: General
Topic: To limit one device from accessing another on the same subnet.
Replies: 4
Views: 993

Re: To limit one device from accessing another on the same subnet.

You can create address lists and block traffic using only the "forward" chain but you have to enable "Use IP Firewall" and "Use IP Firewall for VLAN" from the bridge settings
by TheCat12
Sat Sep 28, 2024 10:26 am
Forum: Beginner Basics
Topic: Why no Internet access? [SOLVED]
Replies: 2
Views: 1156

Re: Why no Internet access? [SOLVED]

The SFP port should be part of the WAN interface list in order for the NAT masquerade rule to work properly:
/interface list member
add interface=sfp1 list=WAN
by TheCat12
Thu Sep 26, 2024 9:47 pm
Forum: General
Topic: PUBLIC IP DISTRIBUTE TO VPN
Replies: 6
Views: 1120

Re: PUBLIC IP DISTRIBUTE TO VPN

i want to create a pptp vpn server
Better create a L2TP server here too, because PPTP is deprected.

Aside from that, are both sides of the existing L2TP tunnel MikroTik? What do you mean by "distribute the public IPs to clients"? Maybe you meant PPPoE instead of PPTP?
by TheCat12
Tue Sep 24, 2024 11:18 pm
Forum: General
Topic: Help please with guest wlan
Replies: 8
Views: 1359

Re: Help please with guest wlan

For such a simple setup VLANs would be a pushover in my opinion. Appropriate firewall rules and assigning the wlan1 interface to a bridge to be used for DHCP so that it doesn't show red should be enough
by TheCat12
Tue Sep 24, 2024 11:10 pm
Forum: General
Topic: Help please with guest wlan
Replies: 8
Views: 1359

Re: Help please with guest wlan

This would be done with the help of firewall rules, of course: /ip firewall filter add action=accept chain=forward connection-state=established,related,untracked add action=drop chain=forward in-interface=bridge1 out-interface=wlan1 add action=accept chain=forward protocol=tcp dst-port=80,443 in-int...
by TheCat12
Mon Sep 23, 2024 11:15 pm
Forum: General
Topic: Router on a Stick with Inter-VLAN L3 Routing on Switch CRS504-4XQ-IN
Replies: 1
Views: 888

Re: Router on a Stick with Inter-VLAN L3 Routing on Switch CRS504-4XQ-IN

and when I create IP addresses that collide with the upstream router's default VLAN gateway (10.60.0.1) Why do you create addresses that are the same as the DHCP servers' if I understand your lexicon correctly? Since you're running DHCP, why don't let the servers assign such: /ip dhcp-client add in...
by TheCat12
Sun Sep 22, 2024 7:11 pm
Forum: General
Topic: "Routing Rules" vs "Mangle Route Rule"
Replies: 11
Views: 2356

Re: "Routing Rules" vs "Mangle Route Rule"

Am I missing a reference in the main table for 192.168.9.9, even though it's brought in by the wireguard interface as being reachable on REMOTE1? Possibly, better add the route to roll it out as a probable cause. It could also be of higher distance if ECMP is not desired and one gateway is to be pr...
by TheCat12
Sun Sep 22, 2024 7:05 pm
Forum: General
Topic: "Routing Rules" vs "Mangle Route Rule"
Replies: 11
Views: 2356

Re: "Routing Rules" vs "Mangle Route Rule"

I have noticed this train of thought on the forum recently and I don't get it. Why presence of a route to a given destination (or even less logically, of a default route) in the main table should be a mandatory pre-requisite for a route to that destination to work in another table? For the followin...
by TheCat12
Sun Sep 22, 2024 11:43 am
Forum: General
Topic: "Routing Rules" vs "Mangle Route Rule"
Replies: 11
Views: 2356

Re: "Routing Rules" vs "Mangle Route Rule"

Could it be that they are missing the default route from the custom routing table in the main one?
by TheCat12
Sat Sep 21, 2024 11:22 am
Forum: Beginner Basics
Topic: Trouble configuring a router from behind a DMZ
Replies: 5
Views: 1304

Re: Trouble configuring a router from behind a DMZ

There is a small detail from the default firewall I forgot about - the rule "Drop all input not coming from LAN". If you edit it, for example, to also allow your main network as src-address, then you should start accessing the RB5009 from behind the hEX S
by TheCat12
Fri Sep 20, 2024 1:18 pm
Forum: Beginner Basics
Topic: Failover WAN issues - could use a config check
Replies: 1
Views: 825

Re: Failover WAN issues - could use a config check

To be able to use check-gateway you have to disable add-default-route on the primary WAN DHCP client and add a static route pointing to the its gateway manually: /ip route add check-gateway=ping dst-address=0.0.0.0/0 gateway="Primary_WAN_gateway" If you want your failover to be even more r...
by TheCat12
Thu Sep 19, 2024 9:18 pm
Forum: General
Topic: Help with Bandwidth Allocation on Mikrotik RouterOS
Replies: 1
Views: 678

Re: Help with Bandwidth Allocation on Mikrotik RouterOS

Is the bandwidth symmetrical (equal download and upload)? Should only download be allocated or both?
by TheCat12
Thu Sep 19, 2024 9:14 pm
Forum: General
Topic: How to apply NAT rules based on Interface.
Replies: 2
Views: 775

Re: How to apply NAT rules based on Interface.

Source NAT, as the name suggests, applies for packets that originate from the NAT-ted network, i.e. your network, whose source address should be change/translate to one specified in the according rule. That's why src-nat rules will apply only on out-interface - the interface from which packets will ...
by TheCat12
Tue Sep 17, 2024 4:52 pm
Forum: General
Topic: Separate dhcp pools for each interface on CCR2004-1G-12S+2XS
Replies: 1
Views: 594

Re: Separate dhcp pools for each interface on CCR2004-1G-12S+2XS

If everything should be interconnected, then adding a separate DHCP server per interface would be the solution
by TheCat12
Tue Sep 17, 2024 9:44 am
Forum: General
Topic: How to prioritize packets to/from LAN IP
Replies: 9
Views: 2540

Re: How to prioritize packets to/from LAN IP

@TheCat12, your rules rewrite the connection mark (even twice) when handling each packet, what's the point? The very idea of using connection marks when dealing with QoS is to translate complex match conditions into a connection mark only once, when handling the initial packet of a connection, or m...
by TheCat12
Mon Sep 16, 2024 6:23 pm
Forum: General
Topic: How to prioritize packets to/from LAN IP
Replies: 9
Views: 2540

Re: How to prioritize packets to/from LAN IP

Something like this should work: /ip firewall mangle add action=mark-connection chain=prerouting connection-mark=!LAN_conn new-connection-mark=Other_conn add action=mark-connection chain=prerouting src-address=*LAN_IP* new-connection-mark=LAN_conn add action=mark-connection chain=prerouting dst-addr...
by TheCat12
Mon Sep 16, 2024 5:31 pm
Forum: General
Topic: ikev2 ipsec route not working [SOLVED]
Replies: 5
Views: 2077

Re: ikev2 ipsec route not working [SOLVED]

You're missing a NAT rule on each router to bypass masquerading packets before being encrypted. It should be placed as the first one # Router 1 /ip firewall nat add action=accept chain=srcnat place-before=0 dst-address=192.168.3.0/24 src-address=10.53.2.0/24 # Router 2 /ip firewall nat add action=ac...
by TheCat12
Mon Sep 16, 2024 4:32 pm
Forum: Beginner Basics
Topic: How to Forward Multiple Ports to Two Output Ports on MikroTik RouterOS
Replies: 6
Views: 1603

Re: How to Forward Multiple Ports to Two Output Ports on MikroTik RouterOS

That should be quite achievable:
/interface ethernet switch rule
add new-dst-ports=etherx,ethery src-address=x.x.x.x ports=ethera,etherb
by TheCat12
Sun Sep 15, 2024 6:36 pm
Forum: General
Topic: L2TP VPN subnet routing [SOLVED]
Replies: 10
Views: 3272

Re: L2TP VPN subnet routing [SOLVED]

Perhaps firewall blocking traffic? If Office A router is also MikroTik, consider exporting its config and posting it here
by TheCat12
Sun Sep 15, 2024 6:33 pm
Forum: General
Topic: Passthrough Network Via Mikrotiks
Replies: 14
Views: 2469

Re: Passthrough Network Via Mikrotiks

I can configure VLAN in three places: 1. In the Interface configuration (vlan-mode and vlan-id): [admin@hAP-bedroom] > /interface/wireless/print Flags: X - disabled; R - running 0 R name="telekom-guest" mtu=1500 l2mtu=1600 mac-address=DE:2C:6E:25:88:49 arp=enabled interface-type=virtual m...
by TheCat12
Sun Sep 15, 2024 5:09 pm
Forum: Beginner Basics
Topic: VLANs to segreggate network
Replies: 8
Views: 1353

Re: VLANs to segreggate network

Apparently I read your OP too diagonally and didn't see the obvious problems - the bridges. For VLAN to work properly, you need one bridge with all of the ports on which traffic will be tagged/untagged. Also, the VLAN interfaces shouldn't be members of the bridge(s). That's why before we continue, t...
by TheCat12
Sun Sep 15, 2024 4:02 pm
Forum: General
Topic: L2TP VPN subnet routing [SOLVED]
Replies: 10
Views: 3272

Re: L2TP VPN subnet routing [SOLVED]

That I'll contribute to address space overlapping - a very broad route which could apply to the remote subnet and to the L2TP one. If you change one of them and add appropriate static routes or use a more specific route (e.g. 192.168.100.0/24 instead of 192.168.0.0/16), it should start working as ex...
by TheCat12
Sun Sep 15, 2024 10:58 am
Forum: General
Topic: L2TP VPN subnet routing [SOLVED]
Replies: 10
Views: 3272

Re: L2TP VPN subnet routing [SOLVED]

Wait a minute, have you added a route pointing to the L2TP subnet on Office A router?
by TheCat12
Sun Sep 15, 2024 10:48 am
Forum: Beginner Basics
Topic: VLANs to segreggate network
Replies: 8
Views: 1353

Re: VLANs to segreggate network

Would you export your config and post it here because it seems that my local fortune teller is on vacation:

export file=anynameyouwish (minus sensitive info)
by TheCat12
Sat Sep 14, 2024 10:09 pm
Forum: General
Topic: Passthrough Network Via Mikrotiks
Replies: 14
Views: 2469

Re: Passthrough Network Via Mikrotiks

This part of suggested configuration did not worked: /interface bridge vlan add bridge=bridge tagged=bridge,ether1,wlan1 vlan-ids=10 add bridge=bridge tagged=ether1,wlan3 vlan-ids=20 What is the point behind adding WLAN* interface as tagged? If I understand well, tagging interface means that the in...
by TheCat12
Fri Sep 13, 2024 11:42 am
Forum: General
Topic: ikev2 ipsec route not working [SOLVED]
Replies: 5
Views: 2077

Re: ikev2 ipsec route not working [SOLVED]

Since no problems are visible, the full configuration of both routers would be needed: export file=anynameyouwish (minus sensitive info like public IPs, passwords, etc.) Also, would you elaborate on the following quote from your original post: I have a problem with site to site IKEV/IPSEC vpn that I...
by TheCat12
Fri Sep 13, 2024 9:55 am
Forum: General
Topic: L2TP VPN subnet routing [SOLVED]
Replies: 10
Views: 3272

Re: L2TP VPN subnet routing [SOLVED]

If the real source addresses of those who access Office A aren't of importance, add a masquerade rule for all traffic leaving out of the SSTP tunnel. Otherwise, you might want to look into policy based routing and mangling
by TheCat12
Fri Sep 13, 2024 8:44 am
Forum: Beginner Basics
Topic: Trouble configuring a router from behind a DMZ
Replies: 5
Views: 1304

Re: Trouble configuring a router from behind a DMZ

Have you changed the default Winbox port? If so, edit the rules acceordingly because in theory they should work the way you've created and placed them
by TheCat12
Wed Sep 11, 2024 11:05 pm
Forum: Beginner Basics
Topic: How to Forward Multiple Ports to Two Output Ports on MikroTik RouterOS
Replies: 6
Views: 1603

Re: How to Forward Multiple Ports to Two Output Ports on MikroTik RouterOS

I'll have to disappoint you but I don't think the desired setup is possible with your device even though it's a very powerful one. The only one that will work in your scenario, to my knowledge, is the RB5009
by TheCat12
Wed Sep 11, 2024 6:58 pm
Forum: Beginner Basics
Topic: Trouble configuring a router from behind a DMZ
Replies: 5
Views: 1304

Re: Trouble configuring a router from behind a DMZ

On the last firewall rule add an exception for dst-port=8291
by TheCat12
Tue Sep 10, 2024 8:42 pm
Forum: General
Topic: Passthrough Network Via Mikrotiks
Replies: 14
Views: 2469

Re: Passthrough Network Via Mikrotiks

I think adding a second Ethernet cable between R1 and R2 would simplify the configuration if possible. Since R1 is in bridge mode it won't matter whether you're receiving PPPoE from one port and DHCP from another or both from the same port. In the case with two Ethernet cables you would need to remo...
by TheCat12
Tue Sep 10, 2024 4:02 pm
Forum: Beginner Basics
Topic: Trouble with DNAT rules
Replies: 2
Views: 1017

Re: Trouble with DNAT rules

/ip/firewall/filter print /ip/firewall/filter print Flags: X - disabled, I - invalid; D - dynamic 0 D ;;; special dummy rule to show fasttrack counters chain=forward action=passthrough 1 chain=input action=accept protocol=icmp 2 chain=input action=accept connection-state=established 3 chain=input a...
by TheCat12
Tue Sep 10, 2024 2:45 pm
Forum: General
Topic: Passthrough Network Via Mikrotiks
Replies: 14
Views: 2469

Re: Passthrough Network Via Mikrotiks

A question out of pure curiosity - how would the PPPoE work in conjunction with a VLAN aware bridge? Should the PPPoE interface run on top of a VLAN interface or how?
by TheCat12
Tue Sep 10, 2024 2:33 pm
Forum: Beginner Basics
Topic: Beginner fail to port forwarding [SOLVED]
Replies: 10
Views: 2334

Re: Beginner fail to port forwarding [SOLVED]

Looking at the NAT masquerade rule, I assume you connect to the internet via PPPoE and some questions arise like: Do you have a default route pointing to it? Have you added the PPPoE interface to the WAN interface list? Do you receive a public IP at all? Should the answer to any of the questions be ...
by TheCat12
Mon Sep 09, 2024 9:54 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 2213
Views: 4588285

Re: 📣 WinBox 4 is here 📣

A bit off-topic but since this is the most viewed topic by MikroTik employees as of now, could somebody from the MikroTik Documentation editors correct the spelling of the following page title:

https://help.mikrotik.com/docs/display/ ... prevention
by TheCat12
Fri Sep 06, 2024 11:13 pm
Forum: General
Topic: Help please with guest wlan
Replies: 8
Views: 1359

Re: Help please with guest wlan

The solution would be to create the Virtual AP as you probably did, add it to a second bridge and after that continue configuring DHCP (the bridge will be the interface on which it should be running), firewall rules, etc.
by TheCat12
Fri Sep 06, 2024 9:19 pm
Forum: Beginner Basics
Topic: Add alternate route
Replies: 6
Views: 1308

Re: Add alternate route

How are Router 1 and Router 2 connected? Which router receives what address from the other one as de facto WAN? An export of the configuration of one or both routers would be quite helpful:

export file=anynameyouwish
by TheCat12
Fri Sep 06, 2024 9:08 pm
Forum: Beginner Basics
Topic: IKEv2 Troubles
Replies: 1
Views: 641

Re: IKEv2 Troubles

Could you post an export of your config and one of the IPsec logs?

export file= anynameyouwish (minus sensitive info)
/system logging add topics=ipsec,!debug
by TheCat12
Fri Sep 06, 2024 9:04 pm
Forum: Beginner Basics
Topic: WebFig access issues with VPN through LTE
Replies: 10
Views: 1485

Re: WebFig access issues with VPN through LTE

Not that I expect it to be the problem, but could you add the following firewall rules somewhere in the beginning:
/ip firewall filter
add action=accept chain=input protocol=tcp dst-port=1723
add action=accept chain=input protocol=47 
by TheCat12
Tue Sep 03, 2024 10:57 pm
Forum: General
Topic: /31 through a IPSec over GRE tunnel
Replies: 7
Views: 1149

Re: /31 through a IPSec over GRE tunnel

There is a small hack to use /31 addresses - one address to be the local address and the remote one to be specified as the network. For example, site 1 - address=192.168.1.0 & network=192.168.1.1, site 2 - address=192.168.1.1 & network=192.168.1.0
by TheCat12
Tue Sep 03, 2024 10:45 pm
Forum: Beginner Basics
Topic: WebFig access issues with VPN through LTE
Replies: 10
Views: 1485

Re: WebFig access issues with VPN through LTE

Port 8080 of the dst-nat rule is a reserved port for other use, so change it to a more obsolete one (e.g. 17680)

And you've leaked your PPTP username and password, elide them PRONTO and change them afterwards!
by TheCat12
Mon Sep 02, 2024 11:54 pm
Forum: Beginner Basics
Topic: Feedback on first setup
Replies: 3
Views: 1008

Re: Feedback on first setup

This makes it sound like it would switch to the second server if pihole goes down but then not switch back when it comes back online as 1.1.1.1 will still be online. I am using pihole for some local DNS addresses that i have not assigned on cloudflare so want it to use that server whenever possible...
by TheCat12
Mon Sep 02, 2024 11:39 pm
Forum: Beginner Basics
Topic: WebFig access issues with VPN through LTE
Replies: 10
Views: 1485

Re: WebFig access issues with VPN through LTE

For the love of God and your router, please do not use PPTP! It is obsolete, deprecated and insecure! At least use L2TP over IPsec. And please update your router to either 6.49.17 or 7.x
by TheCat12
Sat Aug 31, 2024 4:03 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 2213
Views: 4588285

Re: 📣 WinBox 4 is here 📣

But at least color contrast was fine 😅

Agree. A little more colour won't harm
by TheCat12
Sat Aug 31, 2024 4:01 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 2213
Views: 4588285

Re: 📣 WinBox 4 is here 📣

Most companies tend to lean towards a more modern UI to please and attract new customers but sometimes they overstep the thin line between usability and aesthetics. I called it "a breath of fresh air" not because it still has a lot of issues and complaints which should be heard and fixed b...
by TheCat12
Sat Aug 31, 2024 3:33 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 2213
Views: 4588285

Re: 📣 WinBox 4 is here 📣

Although I'm still a bit overhauled by the new UI, it was a long-awaited breath of fresh air. And the fact that it's also Linux native makes it even better.

+1 to return tabs
by TheCat12
Sat Aug 31, 2024 3:26 pm
Forum: Beginner Basics
Topic: Feedback on first setup
Replies: 3
Views: 1008

Re: Feedback on first setup

Firstly, I want to congratulate you on your configuration - it looks very promising and surely it will work even without the suggestions/answers I'll give you throughout the post. I am running a local DNS on PiHole on 172.23.20.2 and want the router to default to using this DNS server but if it goes...
by TheCat12
Fri Aug 30, 2024 5:27 pm
Forum: Beginner Basics
Topic: No internet access [SOLVED]
Replies: 2
Views: 1962

Re: No internet access [SOLVED]

May I assume that the mANTBox should receive internet on ether1 via DHCP? If that's the case, remove all DHCP server related configuration (/ip pool, /ip dhcp-server, /ip dhcp-server network). If the Mikrotik connects to the internet via the same port otherwise, just remove it from the bridge
by TheCat12
Thu Aug 29, 2024 9:46 am
Forum: General
Topic: Virtual Subnet Trough Ipsec Tunnel - Mikrotik To Cisco
Replies: 6
Views: 1158

Re: Virtual Subnet Trough Ipsec Tunnel - Mikrotik To Cisco

Have you tried following @sindy's tip? If it doesn't work, please post a full export of the config:

export file=anynameyouwish (minus senstitve info like public IPs, passwords, etc.)
by TheCat12
Mon Aug 26, 2024 10:43 pm
Forum: Beginner Basics
Topic: RouterOS config VLAN/segmentation [SOLVED]
Replies: 4
Views: 2842

Re: RouterOS config VLAN/segmentation [SOLVED]

It would be nice to have a full export of the config to have a general overview of the situation: export file=anynameyouwish (minus any sensitive info) As for your question, you would need to configure a VLAN interface if you will be handling L3 traffic (addresses, DHCP, routing, etc.), and change t...
by TheCat12
Fri Aug 23, 2024 10:36 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

Is there a way to make strongSwan work without going the certificate route? The only other way is configuring User Manager (your router has a beefy flash, so no worries for installing) which could be or could be not more complicated to set up. But let's try anyway. Here you can read what the prereq...
by TheCat12
Fri Aug 23, 2024 8:20 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

@TheCat12, on top of the above, the case brought in by @johnb175a is very different from the other two. Guilty. :( When I looked at the config and the IPsec exports and everything seemed normal, I had to call you in as an IPsec expert. As for the OP's problem, I think I might have found the culprit...
by TheCat12
Fri Aug 23, 2024 7:45 pm
Forum: Beginner Basics
Topic: Route all traffic via WireGuard
Replies: 9
Views: 8027

Re: Route all traffic via WireGuard

Also, I am missing the confic which basically says "all wifi1 users are using the routing table use-WG". How does wifi1 know which routing table to use? The following line from @anav's configuration should answer your question: /routing rule add action=lookup-only-in-table src-address=192...
by TheCat12
Fri Aug 23, 2024 7:35 pm
Forum: Beginner Basics
Topic: Need some help looking at config
Replies: 1
Views: 630

Re: Need some help looking at config

I don't see anywhere in the configuration you provided that VLAN filtering is turned on: /interface bridge set bridge1 vlan-filtering=yes Also, a better option for management access to the router is to remove one port from the bridge and assign it an IP address instead on the whole bridge and when y...
by TheCat12
Thu Aug 22, 2024 8:25 pm
Forum: General
Topic: Can not NAT packets after PBR [SOLVED]
Replies: 6
Views: 2914

Re: Can not NAT packets after PBR [SOLVED]

I replicated the setup and everything works as expected. Maybe it's worth opening a ticket to MikroTik support because it could be a bug
by TheCat12
Thu Aug 22, 2024 8:14 pm
Forum: Beginner Basics
Topic: Understanding/configuration problem switching/routing/NAT
Replies: 10
Views: 2314

Re: Understanding/configuration problem switching/routing/NAT

In this case neither firewall rules and routes, nor use-ip-firewall=yes is needed because a blank firewall allows everything by default, dynamic routes are added when you add an address to an interface and the traffic is not between two bridged ports
by TheCat12
Thu Aug 22, 2024 12:52 pm
Forum: Beginner Basics
Topic: unable to get internet connection
Replies: 14
Views: 1391

Re: unable to get internet connection

Perhaps you have a typo in the ether1 address?
by TheCat12
Thu Aug 22, 2024 12:24 pm
Forum: General
Topic: Can not NAT packets after PBR [SOLVED]
Replies: 6
Views: 2914

Re: Can not NAT packets after PBR [SOLVED]

I think it's due to the usage of action=masquerade , which can cause leakages in your scenario, instead of action=src-nat , which in your case is the preferred way because the IP of the router is static: /ip firewall nat add action=src-nat chain=srcnat to-addresses=192.168.6.1 out-interface=ether2 A...
by TheCat12
Wed Aug 21, 2024 11:23 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

Unfortunately I'm out of options. That's why I'll once again ask @sindy to have a look at your case
by TheCat12
Wed Aug 21, 2024 11:11 pm
Forum: Beginner Basics
Topic: Route all traffic via WireGuard
Replies: 9
Views: 8027

Re: Route all traffic via WireGuard

Since your Mikrotik is currently acting as a switch, you won't be able to perform routing with it. You'll have to configure a DHCP server and deal with double NAT or find another Mikrotik (e.g. hAP ac²) and put it in place of your home router, if possible and your budget allows it, because you'll ha...
by TheCat12
Wed Aug 21, 2024 10:55 pm
Forum: Beginner Basics
Topic: Switch IP address at VLAN [SOLVED]
Replies: 6
Views: 2908

Re: Switch IP address at VLAN [SOLVED]

Because you're dealing with Layer3 traffic you would have to add the bridge interface as a tagged port to the appropriate bridge VLAN table entry:

/interface bridge vlan
add bridge=bridge tagged=\
combo1,sfp1,sfp2,sfp3,sfp18,sfp-sfpplus1,sfp-sfpplus2,bridge untagged=sfp19 \
vlan-ids=10
by TheCat12
Tue Aug 20, 2024 12:48 pm
Forum: Beginner Basics
Topic: Understanding/configuration problem switching/routing/NAT
Replies: 10
Views: 2314

Re: Understanding/configuration problem switching/routing/NAT

Now that I think of it, the problem may be that ether24 is in the same broadcast group as the VLAN, yet it has a different IP from the rest of the subnet, of which the router couldn't know, hence no src-nat. That's why you should remove the port out of the bridge, assign it the 192.168.19.41 address...
by TheCat12
Mon Aug 19, 2024 2:01 pm
Forum: Beginner Basics
Topic: Forwarding 1 interface to another
Replies: 6
Views: 1721

Re: Forwarding 1 interface to another

Easiest way would be to create a routing table, add a default route with gateway the OVPN to it and use routing rules: /routing table add fib name=through_VPN /ip route add dst-address=0.0.0.0/0 gateway="OVPN_interface" routing-table=through_VPN /routing rule add action=lookup-only-in-tabl...
by TheCat12
Sat Aug 17, 2024 12:10 pm
Forum: Beginner Basics
Topic: IPSec site to site VPN
Replies: 4
Views: 1396

Re: IPSec site to site VPN

You're missing firewall rules on both sites to allow traffic between the subnets: /ip firewall filter add action=accept chain=forward src-address=192.168.43.0/24 dst-address=192.168.44.0/24 place-before=8 add action=accept chain=forward dst-address=192.168.43.0/24 src-address=192.168.44.0/24 place-b...
by TheCat12
Wed Aug 14, 2024 9:05 pm
Forum: Beginner Basics
Topic: Understanding/configuration problem switching/routing/NAT
Replies: 10
Views: 2314

Re: Understanding/configuration problem switching/routing/NAT

I forgot about a selector called "out-bridge-port". That could do the trick
by TheCat12
Wed Aug 14, 2024 1:26 pm
Forum: Beginner Basics
Topic: Understanding/configuration problem switching/routing/NAT
Replies: 10
Views: 2314

Re: Understanding/configuration problem switching/routing/NAT

The NAT rule won't work because "Use IP Firewall for Bridge" should be enabled: /interface bridge settings use-ip-firewall=yes use-ip-firewall-for-vlan=yes After that, the src-nat rule should work: /ip firewall nat add action=src-nat chain=srcnat protocol=udp to-addresses=192.168.19.41 src...
by TheCat12
Tue Aug 13, 2024 7:47 pm
Forum: Beginner Basics
Topic: Understanding/configuration problem switching/routing/NAT
Replies: 10
Views: 2314

Re: Understanding/configuration problem switching/routing/NAT

May I inquire what the component is that is sending broadcast messages and why the broadcast messages should be limited only to a specific Ethernet port and, by that, src-natted?
by TheCat12
Tue Aug 13, 2024 7:37 pm
Forum: General
Topic: virtual interface for DHCP Client WAN over VLAN [SOLVED]
Replies: 7
Views: 4531

Re: virtual interface for DHCP Client WAN over VLAN [SOLVED]

No need, I could answer that with ease - leave the WAN interface out of the equation, i.e. remove it from the bridge and remove all VLAN configurations from and associated with it. If you do that, all of your VLANs will have by default internet access which you can then limit with the help of firewa...
by TheCat12
Tue Aug 13, 2024 7:24 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

Should I assign the IP to lo or create a bridge-loopback and assign it there? It's one and the same. The lo interface was exposed precisely to eliminate the need for a loopback bridge It's so strange that this all worked without all these changes a while back. Although I am not sure if it was worki...
by TheCat12
Tue Aug 13, 2024 11:58 am
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

I get "input does not match any value of interface". I see a lo interface, but not a lo1.
So the name is lo:
/ip address
add address=192.168.10.1/24 interface=lo
by TheCat12
Tue Aug 13, 2024 10:31 am
Forum: Beginner Basics
Topic: LAN randomly stops working after NAT and Hairpin NAT
Replies: 3
Views: 1616

Re: LAN randomly stops working after NAT and Hairpin NAT

Unfortunately, I can't tell what the problem could be but I can think of a temporary/permanent solution - setting up VLANs after you undo the port isolation. In your case, it could be done from the same menu, from which you set up port isolation, to take advantage of hardware offloading. The VLANs w...
by TheCat12
Mon Aug 12, 2024 10:59 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

Also, I don't see a policy template:
/ip ipsec policy group
add name=ikev2-policies

/ip ipsec policy
add dst-address=192.168.10.0/24 group=ike2-policies proposal=proposal1 src-address=0.0.0.0/0 template=yes
by TheCat12
Mon Aug 12, 2024 10:46 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

You're missing a loopback address:
/ip address
add address=192.168.10.1/24 interface=lo1
*lo1 should be the name of recently exposed loopback interface, if not, please change "interface=" correspondingly
by TheCat12
Mon Aug 12, 2024 9:02 pm
Forum: Beginner Basics
Topic: 2 ISP Internet / 1 LAN WIFI Router Combine 2 ISP to Network
Replies: 11
Views: 1899

Re: 2 ISP Internet / 1 LAN WIFI Router Combine 2 ISP to Network

Your PPPoE connections are not running. Could your ISPs be using VLANs or maybe only the ISP devices authenticate via PPPoE and you only need DHCP clients on the hEX
by TheCat12
Mon Aug 12, 2024 8:46 pm
Forum: General
Topic: Wireguard Policy Based Routing on ROS7+ - Best Practices
Replies: 11
Views: 2510

Re: Wireguard Policy Based Routing on ROS7+ - Best Practices

1) Yes-ish, because there is no need of the mangle rules (the routing rule does the same) and the nat rule (the default one already does the same) 2) No need, because action=lookup on the routing rule means that routing decisions will fall back to the main table if the route, specified in the wg-nor...
by TheCat12
Mon Aug 12, 2024 8:31 pm
Forum: General
Topic: VPN site-to-site between MiktoTik and Check Point Quantum Spark
Replies: 1
Views: 728

Re: VPN site-to-site between MiktoTik and Check Point Quantum Spark

I'd suggest looking at the following MUM presentation to gain insights on how to configure IKEv2 site-to-site:

https://youtu.be/n5_Af2vllOA?si=OQnzMSIWeViM8xhs

For the Quantum Spark side:

https://youtu.be/jccJI89Xkfk?si=DHNISCrWNEwWJnRo
by TheCat12
Mon Aug 12, 2024 8:21 pm
Forum: General
Topic: My IKEV2 vpn stopped working
Replies: 41
Views: 6038

Re: My IKEV2 vpn stopped working

@johnb175a, in your case, the VPN tunnel establishes, so the problem is somewhere else. That's why I would additionally need a full export of the config:

/export file=anynameyouwish (minus sensitive info)
  • 1
  • 2