Wireguard as gateway of specific VLAN

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Wireguard as gateway of specific VLAN

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Wireguard as gateway of specific VLAN
Wireguard as gateway of specific VLAN
2024-08-11 14:52:53 - last edited 2024-08-12 01:52:37
Tags: #WireGuard #VLAN
Model: ER707-M2  
Hardware Version:
Firmware Version:

Hello everyone,

let's assume several vlan configured on ER707-M2 and a Wireguard VPN client.

Can I configure a single VLAN for use only wireguard vpn as gateway on internet? 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Wireguard as gateway of specific VLAN-Solution
2024-08-12 01:50:41 - last edited 2024-08-12 01:52:37

Hi @z3n0 

Thanks for posting in our business forum.

WG is creating a virtual interface and IP. It does not have anything to do with the VLAN interface.

If you expect to forward the traffic from the entire VLAN interface, you should use Policy Routing.

PBR for WG VPN is expected to be V5.15.X.

See this request:

Make the wireguard peer generator more friendly (QR codes, exports and autogenerating codes)

Recommended Solution
  1  
  1  
#2
Options
3 Reply
Re:Wireguard as gateway of specific VLAN-Solution
2024-08-12 01:50:41 - last edited 2024-08-12 01:52:37

Hi @z3n0 

Thanks for posting in our business forum.

WG is creating a virtual interface and IP. It does not have anything to do with the VLAN interface.

If you expect to forward the traffic from the entire VLAN interface, you should use Policy Routing.

PBR for WG VPN is expected to be V5.15.X.

See this request:

Make the wireguard peer generator more friendly (QR codes, exports and autogenerating codes)

Recommended Solution
  1  
  1  
#2
Options
Re:Wireguard as gateway of specific VLAN
2024-08-12 08:02:17

  @Clive_A thank you!

So, an entire VLAN will be forwarded through WG virtual interface only from 5.15.x version?

What is the actually version in production?

  0  
  0  
#3
Options
Re:Wireguard as gateway of specific VLAN
2024-08-12 08:12:56

Hi @z3n0 

Thanks for posting in our business forum.

z3n0 wrote

  @Clive_A thank you!

So, an entire VLAN will be forwarded through WG virtual interface only from 5.15.x version?

What is the actually version in production?

It's an estimation. The major release of V5.15. Not a specific timeline or version. Like the link I gave, I have explained about the timeline.

  1  
  1  
#4
Options