OpenVPN with Multiple gateways same subnet



  • Successfully Created & establish OpenVPN connection to the server from remote client, I can
    Ping and RDM with my LAN Clients whose default gateway pointed to PFsense fire wall.
    I have and second gateway in same subnet, clients pointed to my second gateway (TMG )not able to ping from my remotevpn computer
    Is there any way to communicate without changing default gateway for the second group?
    VPN client tunnel IP=10.8.0.0/24
    May LAN =192.168.50.0/24
    PFsense  fire wall gateway -192.168.50.100
    ISA Fire wall (gateway ) -192.168.50.200
    Regards



  • Tinkering with nat is a bit of a hack, but can work.

    You basically nat your vpn subnet into the lan


  • Netgate

    Yeah outbound NAT on LAN sourced from the OpenVPN tunnel network with a destination of LAN (or a subset of LAN hosts) NAT address should be the interface address (or a VIP).



  • thanks for your advice

    please elaborate on NAT interface 
    INTERFACE=openvpn
    Protocol –TCP
    Destination LAN address
    Destination port ?
    Redirect Target = ?
    And redirect port ?
    Regards


  • Netgate

    Yeah outbound NAT on LAN