Community discussions

MikroTik App
 
User avatar
Cha0s
Forum Guru
Forum Guru
Topic Author
Posts: 1162
Joined: Tue Oct 11, 2005 4:53 pm

Feature Request: Wireguard over VRF

Tue Nov 14, 2023 5:04 am

According to VRF’s supported features list Wireguard is not yet supported.
https://help.mikrotik.com/docs/pages/vi ... edfeatures

I would like to request to add support for Wireguard to be able to use a VRF on the peer endpoint address, much like L2TP Tunnels using the ip@vrf_name format.

A use-case for such functionality would be for example when having two uplinks (eg DSL modem/routers) with conflicting IPs, that you cannot control/change their subnets (ie: both are in the 192.168.1.0/24 range with both gateways being .1 ). With VRFs you could do Wireguard tunnels on both uplinks without any conflicts.

Request ticket id: SUP-134306
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22089
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Feature Request: Wireguard over VRF

Tue Nov 14, 2023 6:14 am

Sweet, without VRF, there appears to be anarchy in the wireguard world, I support getting rid of anarchy, with chaos :-)
Last edited by anav on Fri Jan 03, 2025 6:13 pm, edited 1 time in total.
 
mainTAP
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Tue Oct 02, 2012 4:01 am

Re: Feature Request: Wireguard over VRF

Fri Dec 08, 2023 12:52 am

VRF support for Wireguard would be very appreciated.
 
divB
Member Candidate
Member Candidate
Posts: 101
Joined: Mon Jul 06, 2015 8:18 pm

Re: Feature Request: Wireguard over VRF

Thu Sep 12, 2024 9:50 pm

Yes, please add VRF support for Wireguard!

I am not sure is this is 100% the same issue but I am seeing something odd:
  • I place one internet connection (interface + default route) into a VRF, say "wwan"
  • I add mangle+snat rules to force a specific wireguard endpoint (for tunnel "wg-wwan") into this VRF
  • Now while the traffic doe this tunnel endpoint is in VRF wwan, I'd expect that the interface itself (wg-wwan) is in the main VRF
  • However, it seems wg-wwan is now also in VRF wwan which is completely undesired. I can ping the other address of the tunnel by adding "vrf=wwan" but when doing a normal ping or "vrf=main" I am getting a timeout
 
User avatar
spippan
Member
Member
Posts: 478
Joined: Wed Nov 12, 2014 1:00 pm

Re: Feature Request: Wireguard over VRF

Fri Jan 03, 2025 3:46 pm

VRF support for Wireguard Interfaces! Please!
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22089
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Feature Request: Wireguard over VRF

Fri Jan 03, 2025 6:14 pm

Why, network better -- dont create overlapping subnets............
Wireguard works just fine, if done properly.
(caveat home user, dont support real work)
 
User avatar
spippan
Member
Member
Posts: 478
Joined: Wed Nov 12, 2014 1:00 pm

Re: Feature Request: Wireguard over VRF

Mon Jan 06, 2025 12:00 pm

Why, network better -- dont create overlapping subnets............
Wireguard works just fine, if done properly.
(caveat home user, dont support real work)
and also here ... it does not have to do something with overlapping networks.
don't always assume stuff without properly knowing any background.
 
User avatar
Cha0s
Forum Guru
Forum Guru
Topic Author
Posts: 1162
Joined: Tue Oct 11, 2005 4:53 pm

Re: Feature Request: Wireguard over VRF

Mon Jan 06, 2025 12:58 pm

Why, network better -- dont create overlapping subnets............
Wireguard works just fine, if done properly.
(caveat home user, dont support real work)
Why post better -- don't post useless stuff just for the sake of posting.................

If you don't need VRF support in wireguard, good for you. Nobody cares for your non-needs.

Instead of being a wise-ass, either post a real working solution to my use case or GTFO.

It really gets on my nerves when people shit on others feature requests, when those requests won't affect ANYTHING on their workflow.

I remember the same kind of behavior of other idiots when I was one of the first to ask for IPv6 NAT support.
In the end MikroTik did add it. Where are all those opposing it? Did it cause any problems to them? No. They were just being arrogant for "knowing better" for "IPv6 is all about end to end connectivity" and other bs like that.

If you don't care about Wireguard VRF support, and if you don't have valid criticism why it shouldn't be implemented, please, stay away from my thread.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22089
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Feature Request: Wireguard over VRF

Mon Jan 06, 2025 4:32 pm

Tongue in cheek Chaos, of course you guys (real IT and not homeowners) are stuck with dealing with such stupid setups such as below:

A use-case for such functionality would be for example when having two uplinks (eg DSL modem/routers) with conflicting IPs, that you cannot control/change their subnets (ie: both are in the 192.168.1.0/24 range with both gateways being .1 ). With VRFs you could do Wireguard tunnels on both uplinks without any conflicts.


It would seem like a no brainer to be able to combine VRF and wireguard, but is the limiting factor that wireguard is NOT like other VPNs and doesnt have the flexibility to be used for VRF??
I dont know...... but if your experience and knowledge says it should be fairly easy then one would expect MT to do so SOONEST, as it provides a unique capability that makes the competitive advantage of MT RoS, that much greater.

Time will tell....... have you got an answer on your SUP yet???
 
User avatar
Cha0s
Forum Guru
Forum Guru
Topic Author
Posts: 1162
Joined: Tue Oct 11, 2005 4:53 pm

Re: Feature Request: Wireguard over VRF

Tue Jan 07, 2025 2:23 pm

14/Nov/23 11:01 AM

Hello,

Thank you for contacting MikroTik Support.
Its not supported, we will see if that could be implemented in the future.

Best regards,
 
User avatar
spippan
Member
Member
Posts: 478
Joined: Wed Nov 12, 2014 1:00 pm

Re: Feature Request: Wireguard over VRF

Tue Jan 07, 2025 2:24 pm

so we wait.

cummulus (and therefore linux) is able to do that
 
User avatar
infabo
Forum Guru
Forum Guru
Posts: 1474
Joined: Thu Nov 12, 2020 12:07 pm

Re: Feature Request: Wireguard over VRF

Tue Jan 07, 2025 3:31 pm

Tongue in cheek Chaos, of course you guys (real IT and not homeowners) are stuck with dealing with such stupid setups such as below:

A use-case for such functionality would be for example when having two uplinks (eg DSL modem/routers) with conflicting IPs, that you cannot control/change their subnets (ie: both are in the 192.168.1.0/24 range with both gateways being .1 ). With VRFs you could do Wireguard tunnels on both uplinks without any conflicts.
This isn’t about "stupid setups" but rather about real-world problems that one inevitably encounters. Even though I only use VPNs personally - some for for work-related purposes - I’ve also faced the issue of overlapping subnets. However, that was neither stupid on my part nor on the part of the remote admin in any way.

I'd like to express my +1 for this feature request.
 
User avatar
spippan
Member
Member
Posts: 478
Joined: Wed Nov 12, 2014 1:00 pm

Re: Feature Request: Wireguard over VRF

Tue Jan 07, 2025 4:46 pm

...or if one has "n" customers on a CCR cluster and customers are in their own VRF respectively
so in no case whatsoever it is remotely stupid

Who is online

Users browsing this forum: gianry and 106 guests