Laptop to server with personal WG, but then outside with mullvad WG
-
Hi all, might be a silly question but I've just started playing around with a repurposed box in my cupboard.
Is it possible to have a setup where I can connect to my box using a wireguard server installed on it and at the same time any webpage I would want to go to outside would be going through a VPN.
Idea is this - I have a laptop and it has a WG client on it, I type in an "internal" address and it goes to my server app, but if on my laptop I type a general web address it then goes through my box and then gets routed via a vpn to that web address.
Basically can I have a geo-location switch AND be able to access my server at the same time?
My first thought was to use Mullvad as the VPN provider since they provide simple WG certs rather than being tied down to VPN apps.
Any thoughts welcome.
-
@kodols Sure.
You would create a 'site-to-site' style tunnel between pfSense and Mullvad, and then a second tunnel using the road warrior model. Then it just becomes a matter of setting up policy routing and firewall rules to accomplish the desired outcome.