Community discussions

MikroTik App
 
l2sverige
just joined
Topic Author
Posts: 23
Joined: Tue Oct 26, 2021 8:40 am

Wireguard site-to-site problem

Tue Dec 12, 2023 11:30 am

Hi!

I have made site-to-site between 2 routers on different wan locations. both have public IP.

The traffic is being seen on firewall rule from office 1, but no traffic from office 2? Wierd.


I use 0.0.0.0/0 for "allowed IP" from both sites, but I can't ping och get connections to devices between the lans.(I use VLAN on both sites)

I have made routes to local ip and used the WG adress as gateway.

Is there a problem when using it with vlan?
 
User avatar
baragoon
Member
Member
Posts: 394
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Wireguard site-to-site problem

Tue Dec 12, 2023 11:51 am

Is there a problem when using it with vlan?
no problems, 3 sites are connected via wireguard dual stack.
 
l2sverige
just joined
Topic Author
Posts: 23
Joined: Tue Oct 26, 2021 8:40 am

Re: Wireguard site-to-site problem  Topic is solved

Tue Dec 12, 2023 1:59 pm

solved :) The problem was the Public key had been changed by itself for some reason?!...edit them back and everything worked like a charm :)
 
User avatar
baragoon
Member
Member
Posts: 394
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Wireguard site-to-site problem

Tue Dec 12, 2023 2:54 pm

changed by itself for some reason
Image
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22845
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Wireguard site-to-site problem

Wed Dec 13, 2023 8:35 pm

Quick, get rid of your MT device, clearly its possessed by an evil spirit.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22845
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Wireguard site-to-site problem

Wed Dec 13, 2023 8:37 pm

Hi!
I have made site-to-site between 2 routers on different wan locations. both have public IP.
The traffic is being seen on firewall rule from office 1, but no traffic from office 2? Wierd


I use 0.0.0.0/0 for "allowed IP" from both sites, but I can't ping och get connections to devices between the lans.(I use VLAN on both sites)

I have made routes to local ip and used the WG adress as gateway.
Is there a problem when using it with vlan?
Be careful if you add any additional remote users to the config as then it will not necessarily work properly!!!