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

    Wiregaurd to NordVPN

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 917 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.
    • C
      Chaos-Tech
      last edited by

      Hi
      I am running pfSense 2.5.2 with wiregaurd on to connect my phone to my net work. This works OK, on my phone with wireguard off typing whats my ip gives adress of cell phone operator, with it on gives ip of my home WAN as it should and access to my home network. The main thing i use my phone for is to listen to US Radio station 101 The Fox (I am in UK) This is no longer available at the moment in UK (It keeps getting blocked and unblocked intermittently). Also on my pfSense box i run NordVPN so at home i can still listen to radio by pointing squeezbox server at a US VPN. Would it be possible to create a rule that when wiregaurd is on on my phone it connects to the VPN rather than my WAN address ?

      Phone ----> Wiregaurd tunnel ----> PFsenseBox ----> NordVPN (USA) ----> 101 The Fox.

      Thanks Chris

      D 1 Reply Last reply Reply Quote 0
      • D
        dma_pf @Chaos-Tech
        last edited by

        @chaos-tech said in Wiregaurd to NordVPN:

        Would it be possible to create a rule that when wiregaurd is on on my phone it connects to the VPN rather than my WAN address ?

        Hi chaos, that's certainly posible. You need to add a policy routing firewall rule on the Wireguard interface. It will look something like this:

        eb947ffb-85aa-4120-9594-28203a81bafb-image.png

        In your case your source would be be the IP address of the phone and the gateway would be your NordVPN interface. Detailed setup would be like this:

        8b43c635-defa-4284-976a-0a15d48a90d6-image.png

        1 Reply Last reply Reply Quote 0
        • C
          Chaos-Tech
          last edited by

          Can't seem to get it going. In Firewall-Rules-wiregaurd I have a the rule that allows Devices (currently only my phone) to connect to my network.
          Interface = Wireguard
          Source = Network 10.1.15.0/24 that i change to Single host or alias 10.1.15.2 (Phone ip).
          then in advanced, I change gateway from Default to NordVPN at this point the phone looses connection ???

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