Wireguard as gateway of specific VLAN

Wireguard as gateway of specific VLAN

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)

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. Don't be a lazy asker. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
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)

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. Don't be a lazy asker. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
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.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. Don't be a lazy asker. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#4
Options

Information

Helpful: 0

Views: 141

Replies: 3

Tags

Related Articles