Setting up multiple VPN with OpenVPN



  • Friends, I need to create 4 VPN Site-to-Site a parent company and three subsidiaries.
    Perhaps there is the need for all to communicate with them, or just the array with each branch without the need for branches to communicate.

    To this demand, OpenVPN serves well, set to PSK?

    And if the affiliates need to communicate between them, the routing is done by pfSense matrix, I need to add routes or dynamic routing protocols? Or pfSense already does the routing automatically?

    I will be very grateful if you could help me with these doubts.



  • Or pfSense already does the routing automatically?

    You should set up routes matching to your criteria and then rules that is fitting the routes.



  • For this, I'd use a simple shared key tun to each remote site.

    Put in the remote side IPV4 subnet in the lower section of the VPN setup and you're done.



  • Thank you friends, I will follow the guidance of Lords.