Configure VLAN to go via VPN tunnel
-
I have setup so that I can connect to my LAN via Wireguard to my pfSense. Now I want to make it the other way around, make a network/vlan that connects to the internet via a wireguard tunnel.
From my VPN provider I can get a ready made wg0.conf, with all the keys I need... but then what? :)
-
You don't configure VLANs on a VPN. VLANs are configured on Ethernet ports and VLANs are carried on IP. You normally just route the subnets and recreate the VLAN at the other end. OpenVPN supports TAP mode, which might be able to do what you want, but I don't now about Wireguard.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.