How do I allow client to access two subnets?



  • Network A is 192.168.0 and Network B is 192.168.2.  I have a pfSense box at each location with an OpenVPN link between the two that works great.  Now I'm adding a roaming laptop with the OpenVPN client installed that connects to pfSense box A for email, etc.  I would like to map a drive to a shared folder at Network B.  The laptop can ping anything in site A, but nothing in site B.  A tracert shows anything in site A is going through the tunnel, but anything in site B is going to external DNS.

    How do I get the client to talk to Network B?  What am I missing?  Thanks for any help you can give me.



  • you can connect from network A to B, so that would mean routes for those subnets are OK.

    Can i assume the roaming laptop is on a different subnet (for example 192.168.x.0/24)?
    I'm guessing the traffic from laptop will reach Pfsense B (or even Network B) but it does not know how/where to return traffic originating from this unknown "roaming" subnet.

    If my assumption is correct the you'd need a route on pfsense B. This route should point 192.168.x.0/24 to PFsense A.

    kind regards

    jeroen



  • As heper said you have to put the route poniting to your subnet. But you have to add more options in your configuration. I dont know what is your exact configuration but maybe this tutorial can help you http://blog.stefcho.eu/?p=733



  • That is awesome.  Thank you very much.  I had everything but the route on the box 2.  I added the route, and it started talking immediately.  I can't thank you enough.


Log in to reply