I am considering having my home network traffic route through Proton VPN using this guide from Proton. Currently most of the devices on the home network already use the VPN client anyway, so this will free up the amount of concurrent connections and will make using things like netbird or tailscale easier.
I would like my guest network, which is on a seperate VLAN, to not be routed through the VPN. Mostly because the guest network is mainly used for work devices and IoT devices that do not play nicely when connected through a VPN.
I know there is a vpnbypass package which is seemingly for this situation but I was hoping to get guidance on
1 - how to use the package.
2 - the changes I would need to make from the original proton guide.
3 - help understanding the firewall zone setup for this.
Tailscale has an integrated Mullvad Exit node see here
Tailscale clients are not location bound, so the Mullvad Exit Node can be accessed from a remote location with no special "Road Warrior" configuration.
This is pretty much standard requirement.
Guest and IoT are usually on separate VLAN/SSIDs.
Guest VLAN is normally configured for device isolation and only provide Internet access.
I will stick with Proton for now. I know Mullvad is amazing but being integrated into the Proton ecosystem provides me with other benefits.
I did a test run and was able to get Proton setup for the home network while having the Guest network bypass it relatively easily thanks to @egc will probably wait to fully implement when I can test a bit more without causing issues to my partner.
One thing I am not sure is how to handle the ephemeral port forwarding when its setup over the router, if anyone has any suggestions.
With Port forwarding usually you use the WAN to enter your router, return traffic must also use the WAN.
But as your default route is via the VPN you have to use PBR to route the appropriate traffic back.
If you are ready to test just make another thread with the specifications of the port forward.
An example, lets say your have transmission running on port 51413 on a server in your LAN with IP address 192.168.1.98 then you make a PBR rule to route that traffic via the WAN.
The PBR rule will use local source: 192.168.1.98, local port: 51413, interface: WAN. As simple as that
That is fine.
Proton also allows to port forward via the VPN that can be useful if you do not have a public IP address on your wan otherwise I would just use the wan to access your home