OpenVPN and dual LAN



  • I have configuration with two LAN interfaces:

    WAN
    LAN  (192.168.174.0/24)
    LAN2 (192.168.175.0/24)

    OpenVPN server is configured in pfSense for RoadWariors:
    Address pool: 10.5.5.0/24
    Local network: 192.168.175.0/24

    In this configuration access to 192.168.175.0/24 is OK, but to 192.168.174.0/24 there no access at all.
    If I change Local network to 192.168.174.0/24 now 192.168.174.0/24 is OK, but I have no access to 192.168.175.0/24 at all…

    I need to have access to both networks. How can I do this?



  • Ok, problem solved with custom options:

    push "route 192.168.174.0 255.255.255.0"
    

    But the client will need "Network Administrator" rights on Windows workstation.
    Can this be done only on server side?


  • Rebel Alliance Developer Netgate

    The client has to know to send that traffic over the VPN in the first place, which requires routes, which requires administrator privileges… No way around that on the client side.


Locked