routing and openvpn



  • Hello,

    on my site A i have 2 Gateways (GWa1 192.168.32.1 and GWa2 192.168.32.2)
    I setup a openvpn server on a machine (192.168.32.5) which is using GWa1

    On a site B I have only one gateway GWb 192.168.1.1
    I have also a openvpn client on a machine (192.168.1.5) and which can ping all machines on site A even if they are using GWa2. (DEFAULT OPENVPN CONFIGURATION)

    I decide to use PFsense for GWa1 with a openvpn server and use another PFsense for GWb with openvpn client.
    GWb can ping GWa1 no prob.
    But GWb cannot ping machines on the site A which are using GWa2 as gateway.

    I could solve the situation by adding a route "192.168.1.0/24 via GWa1" on every machines on site A which are using GWa2 (it works).

    But i would like to find a solution by adding a route or something directly on the Pfsense GWa1 or GWb.

    I hope this is clear enough.
    Any advise or help is welcomed