I would like to have a VPN tunnel for one of my VLANs. All outbound traffic from that VLAN should be routed through that tunnel, but not my other VLANs. Preferably I would like to use Wireguard, but OpenVPN is an option.
I’m pretty tech-savvy, but I have not fiddled much with routing and VPNs, so in that area I’m pretty much a noob. So basically: Can anyone point me to some good documentation to read on this topic?
I’m running Netgate 2100 with pfSense 22.05-RELEASE on, and I have access to VMs on a couple of external localtions, which will be my VPN endpoint.
Actually, if you have control of the other side also, you should also be able to use static routes. Then you have to add your remote networks to the OpenVPN client config.
What I’ve described earlier is if you are going through a paid for VPN service which is what I thought you meant, but I think you don’t. However saying that changing the GW should still work.
The advantage of the remote routes is that you can access both the remote location and the rest of the internet, just for reference.