Route openvpn clients through site-to-site vpn



  • hello guys,

    i have a little question about routing and openvpn.
    first a little graphic for better understanding:

    I have succesfully configured a site-to-site openvpn as shown in the graphic. From the pfsense01 i can reach the network of pfsense02.
    From pfsense02 i can reach the network of pfsense 01. That works fine!
    From my OpenVPN clients with the ip range of 192.168.20.0/28 i can reach the network of pfsense01. Now i want to reach the network of pfsense02.
    Which settings should i have to do?

    Thanks in advance :)


  • LAYER 8 Netgate

    You didn't specify which node is the server for the site-to-site.

    Bottom line is you need to push the route 192.168.100.0/26 to mobile clients and push the route 192.168.20.0/28 to pfSense02.

    If pfSense01 is the server for the site to site then add 192.168.20.0/28 to the list of local networks on the site-to-site server and 192.168.100.0/26 to the list of local networks on the mobile server.  Pretty sure that's all you'll need.

    That and make sure your OpenVPN firewall rules on pfSense01 and pfSense02 pass the appropriate traffic.



  • first, thank you for the fast reply!
    you are right, pfsense01 is the server for the site-to-site and also the openvpn server.
    i will try that and give a feedback!



  • Short feedback:

    it works perfect, thank you very much!



  • sorry if sounding stupid.  same sort of issue i have.

    How do i push the routes?


  • LAYER 8 Netgate

    If pfSense01 is the server for the site to site then add 192.168.20.0/28 to the list of local networks on the site-to-site server and 192.168.100.0/26 to the list of local networks on the mobile server.  Pretty sure that's all you'll need.

    You'll have to customize it for your own IP scheme or start a thread with your specifics.



  • I have posted a thread but no answers as of yet. just saw this and thought maybe this is the issue im having


Log in to reply