Routing openvpn clients between two networks



  • Hi.

    I have two networks A: 192.168.1.0/24 and B: 192.168.2.0/24 linked with a site to site openvpn connection, and everything works ok. You can reach from both networks the other network. The pfsense on network A works as the server, and the pfsense on network B works as client. The virtual networks is 10.0.1.0/24

    But I've created a new openvpn server on network B, and the clients connected can't reach network A. The virtual pool at the openvpn server is 10.0.2.0/24

    I'm not sure if I need to add a static route or what. Any ideas?

    Thanks!



  • You have to add the network information to the servers for adding needed routes.

    On the client access server on B add 192.168.1.0/24 to the "Remote Networks".
    On A site add the access servers tunnel network (10.0.2.0/24) to the "Remote Networks" in the site-to-site server settings.



  • Thanks viragomann.

    I've forgot to add 10.0.2.0/24 on the site-to-site server.

    It works now, thanks!!


Log in to reply