pFsense pros

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

redeamon

Active Member
Jun 10, 2018
291
207
43
I have the following setup:

Lan A (10.0.1.0/24) (Home) -> Internet <- Lan B (192.168.0.0/24) (Datacenter)

I have a tunnel between them that runs perfectly (on another network, but I forgot the ip- shouldn't matter though). I can ping any machine on the 192 side from the 10 side no problem and vise-versa.

If I OpenVpn to Lan A however- I cannot ping any 192.168.0.x machine on Lan B. Same if I vpn to Lan B (cannot ping any 10.x machine).

Note: On Lan A pfense: IPv4 Local network(s) is set to: 10.0.1.0/24, 192.168.0.0/24

Still no dice.

I can SSH to a 10.0.1.x machine, then SSH to a 192.168.0.x machine (not a surprise). How do I make the 192. network available from the 10.x side when VPNing into it?
 
Last edited:

Terry Wallace

PsyOps SysOp
Aug 13, 2018
197
118
43
Central Time Zone
The root issue is that those are both private network (as they should be) so there is no automatic routing between them.
When you VPN into Lan A OpenVPN will tell your remote machine about the machines you can get to on (IT's) network which is Lan A. and by tell your machine.. I mean provided a route to your remote box stating that network 10.0.1.0 is located on the other end of this vpn link.
If you want openVPN to tell your remote machine about a different network. Such as the 192.168 one that happens to be reachable from the 10.0.1 network you have to ask openVPN to provide that routing information to your vpn client. (As per the instructions Klui linked above).
If you have any problems getting it working drop me a PM and I'll give you a hand.
:)