Wiregaurd to NordVPN
-
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
-
@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:
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:
-
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 ???