Jump to content

I've set up OpenVPN on my RPi3 and It's connected directly to my router. It's BTHub6 and I want be able to connect from LAN side of the BTHub6 which is 192.168.1.x and to my pfsense. Which has a wan IP of 192.168.1.82. The LAN which is used on the Pfsense is 172.16.105.0. What I want is when I VPN into my RPi3 I want be able to access the 172.16.105.x network when I'm connected to through my VPN

 

This is the network diagram:

 

47325b4f95781e8cc31fbc77cb927c60.png

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/821971-raspberry-pi-3-openvpn-routing/
Share on other sites

Link to post
Share on other sites

I'm not sure i understand 100% from where you are connecting.

I'm guessing you want to connect from the internet to your Pi and then be able to connect to the 172.x.x.x network from that pi?

 

IF that is the case, it would make more sense to make the pfSense box the server for your VPN and connect directly to it. 

Like in this example:(didn't use the guide myself) https://www.sparklabs.com/support/kb/article/setting-up-an-openvpn-server-with-pfsense-and-viscosity/

 

Or moving the PI behind the pfSense box would make things simpler, too.  

 

OR do you want to connect from your 172.x.x.x Network to the PI to access the 192.168.x.x network? to change router settings for example?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×