Community discussions

MikroTik App

Search found 19 matches

by em2397a
Mon Jul 08, 2024 1:21 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

In the near future the equipment will move to another location and I will exclude PPPoE.
Hopefully the problem is really in the ISP and the problem will be solved.
by em2397a
Mon Jul 08, 2024 12:57 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

The problem was solved using a script on both routers: :local pingresultA [/ping 10.0.203.1 count=5]; :if ($pingresultA <= 0) do= { /interface/wireguard/disable wireguard203; /interface/wireguard/peers/disable 0; delay 600s; /interface/wireguard/enable wireguard203; /interface/wireguard/peers/enable...
by em2397a
Thu Jul 04, 2024 5:56 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

Perhaps I should use a different VPN connection between these routers? For example, IPSec + L2TP?
by em2397a
Thu Jul 04, 2024 5:36 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

My ISP fiber connection:

Could this be a problem? Maybe an ISP GPON terminal?
by em2397a
Thu Jul 04, 2024 5:08 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

Thanks for your reply!
The ip address is always the same because I activated the Public IPv4 service. In this case, I shouldn't have NAT.
by em2397a
Thu Jul 04, 2024 8:19 am
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

I found out empirically that if you turn off the interfaces and peers on both routers for 10-15 minutes and then turn them on, everything works. I think I have seen something similar in the past, if you turned off the wireguard interface and then turned it back on it fairly soon after. It didn't se...
by em2397a
Thu Jul 04, 2024 8:15 am
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

If you're receiving a non-routable IPv4 address over pppoe?
yes
by em2397a
Wed Jul 03, 2024 6:22 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

I found out empirically that if you turn off the interfaces and peers on both routers for 10-15 minutes and then turn them on, everything works.
by em2397a
Wed Jul 03, 2024 4:28 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

The problem only occurs between Router-A and Router-B. I have another router that connects to the Internet via a USB modem and installs a tunnel similar to Wireguard to Router-B, there are no problems with it. This connection works even after a reboot. There is also a 4th router, which is located be...
by em2397a
Wed Jul 03, 2024 4:08 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

Thanks everyone for the answers!
I post the configurations:
by em2397a
Wed Jul 03, 2024 2:39 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

Added a similar rule to Mangle on Router-A:
mangle rule changed by winbox-3.40/tcp-msg(winbox):user@ip (/ip firewall mangle set *1 action=accept chain=prerouting disabled=no log=yes log-prefix="" protocol=udp src-port=52203)
Counter = 0
by em2397a
Wed Jul 03, 2024 2:30 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Re: Wireguard does not work after reboot

Thanks for your reply! I disabled persistent-keepalive on Router-B, changed the port on Router-A to 13231, pings pass, I reboot Router-A, pings do not pass, I see from the Firewall and Mangle counters that packets are arriving: Router-A wireguard info: wireguard203: [Router-B] public_key: Handshake ...
by em2397a
Wed Jul 03, 2024 12:06 pm
Forum: General
Topic: Wireguard does not work after reboot
Replies: 19
Views: 1859

Wireguard does not work after reboot

Good afternoon I configured Wireguard between two Mikrotik routers: Router-A: CCR2004-1G-2XS-PCIe v7.15.2 To access the Internet, a pppoe connection and a static IP address are used. /interface wireguard add comment=Router-B listen-port=52203 mtu=1420 name=wireguard203 /interface wireguard peers add...
by em2397a
Tue Oct 10, 2023 8:22 am
Forum: General
Topic: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe
Replies: 5
Views: 991

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Perhaps we misunderstand each other, I have classic VLANs configured and working, but I need to configure a Private VLAN (when one VLAN contains several others, but they are all located on the same IP network). I found information only about switches: https://wiki.mikrotik.com/wiki/Manual:Switch_Chi...
by em2397a
Mon Oct 09, 2023 4:14 pm
Forum: General
Topic: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe
Replies: 5
Views: 991

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Thank you for your answer, I found the information on the vmware website: "For this reason, it is a requirement that each physical switch, where ESX with PVLANs are connected, must be PVLAN aware.", but in my case the router does not have a switch chip, is it possible to configure this? ht...
by em2397a
Mon Oct 09, 2023 3:13 pm
Forum: General
Topic: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe
Replies: 5
Views: 991

Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Hello, I have the following configuration: an ESXi 6.7 server running vCenter 6.7, connected directly to the CCR2004-1G-2XS-PCIe router via SFP ports (trunk). Private VLAN is configured on the server (screenshots of the settings in the attachment), virtual machines are added to this group of ports (...
by em2397a
Tue Mar 28, 2023 9:49 am
Forum: RouterBOARD hardware
Topic: CCR2004-1G-2XS-PCIe compatibility [SOLVED]
Replies: 2
Views: 2592

Re: CCR2004-1G-2XS-PCIe compatibility [SOLVED]

Thanks for your reply.
by em2397a
Mon Mar 27, 2023 11:32 am
Forum: RouterBOARD hardware
Topic: CCR2004-1G-2XS-PCIe compatibility [SOLVED]
Replies: 2
Views: 2592

CCR2004-1G-2XS-PCIe compatibility [SOLVED]

Hello. I want to buy a CCR2004-1G-2XS-PCIe router for my home lab. Now I have two ESXi servers with Mellanox ConnectX-2 10GE (SFP+) network cards and a Cisco 2960G switch for the rest of my home devices. Suggested wiring diagram in attachments. First question: is CCR2004-1G-2XS-PCIe and Mellanox Con...
by em2397a
Sun Sep 11, 2022 5:37 pm
Forum: Virtualization
Topic: Slow UDP download speed
Replies: 0
Views: 2992

Slow UDP download speed

Good afternoon! My config: ESXi 6.7.0 19195723, VM CHR 7.5, VM Win10 Pro 21H2. VM CHR and VM Win10 connected to one vSwitch. The problem is the low speed of the UDP in one direction: Bandwitch Test on CHR ---> Bandwitch Test v0.1 on Win10 TCP - Tx/Rx Current: 863.8 Mbps/3.5 Gbps (CPU 90-99%) UDP - T...