Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




546 posts

Ultimate Geek


#233274 8-Apr-2018 15:17
Send private message

I use a vpn to access blocked content which I just found out can be setup on pfsense.

 

My pfsense box has a 4 port network card 1 - wan 3 - bridge lan. Pretty basic setup only extras i have is an OpenVPN server.

 

Am I able to setup the vpn so only 1 of the LAN ports is dedicated to the vpn traffic? I would like to put a spare wifi router on the VPN for a chromecast and a tablet.

 

If so is there a walk through quide?

 

 


Create new topic
2270 posts

Uber Geek

Trusted

  #1991937 9-Apr-2018 12:19
Send private message

You can do policy routing - so that only 1 IP even is routed via the VPN.

 

Basically you create the policy that says "source address of X" where X is the device (or network if you want to route a whole /24 that way) use THIS gateway instead.

 

The gateway is the VPN you've setup.

 

 

 

I don't know about any step-by-step guide, but read up on the pfSense Wiki, it's pretty easy.  Create the VPN Client, bind it to an interface and put the policy route in as above.




546 posts

Ultimate Geek


  #1992900 10-Apr-2018 18:17
Send private message

muppet:

 

You can do policy routing - so that only 1 IP even is routed via the VPN.

 

Basically you create the policy that says "source address of X" where X is the device (or network if you want to route a whole /24 that way) use THIS gateway instead.

 

The gateway is the VPN you've setup.

 

 

 

I don't know about any step-by-step guide, but read up on the pfSense Wiki, it's pretty easy.  Create the VPN Client, bind it to an interface and put the policy route in as above.

 

 

 

 

Great idea in theory. I have tried multiple ways and no luck. Issue is as soon as the vpn connection is live I lose wan access. I am able to change the firewall outbound to let openvpn through but this also redirects all lan traffic through the vpn. I have not been able to split the LAN traffic.

 

Thinking this is above me now.


 
 
 
 


2270 posts

Uber Geek

Trusted

  #1992905 10-Apr-2018 18:25
Send private message

As soon as the VPN is live you loose WAN access?  Is the VPN teaching you a default route?  If so, you need to stop it doing that.

 

You need the bring up the VPN but learn no routes across it - you want to tick the "Don't pull routes" option in the client setup.




546 posts

Ultimate Geek


  #1994319 11-Apr-2018 16:10
Send private message

muppet:

 

As soon as the VPN is live you loose WAN access?  Is the VPN teaching you a default route?  If so, you need to stop it doing that.

 

You need the bring up the VPN but learn no routes across it - you want to tick the "Don't pull routes" option in the client setup.

 

 

 

 

Sort of correct I have not been able to get it working by ticking that box. The missing step was I needed to assign it as an interface.

 

Once that was sorted all I need to do was Alias the IP range either VPN(220-229) or NONVPN(same as DHCP 10-199) then set the LAN firewall to direct the correct traffic. Now I have assigned DHCP leases by mac address for the devices I want on the VPN in the 220 range. Working well so far.

 

This Video helped lots https://www.youtube.com/watch?time_continue=109&v=ekRgAATnIsU


2270 posts

Uber Geek

Trusted

  #1994320 11-Apr-2018 16:11
Send private message

what was the trick to it not breaking when the VPN was connected, if it wasn't stopping the pull of routes?




546 posts

Ultimate Geek


  #1994374 11-Apr-2018 17:05
Send private message

muppet:

 

what was the trick to it not breaking when the VPN was connected, if it wasn't stopping the pull of routes?

 

 

 

 

Not entirely sure I deleted and added so many different things when testing. I think it may of been a firewall rule that was in the OpenVPN tab for the server i had running. I found and deleted a few rules that were any to any.

 

I also could of had it going quicker if I knew about the states reset. I thought that when you applied a rule it was good but if there was a state already open it remains in its original state.


Create new topic




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.