Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Laptop to server with personal WG, but then outside with mullvad WG

    Scheduled Pinned Locked Moved WireGuard
    2 Posts 2 Posters 748 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kodols
      last edited by

      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.

      cmcdonaldC 1 Reply Last reply Reply Quote 0
      • cmcdonaldC
        cmcdonald Netgate Developer @Kodols
        last edited by

        @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.

        Need help fast? https://www.netgate.com/support

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.