Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    OpenVPN with Multiple gateways same subnet

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jaleel
      last edited by

      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

      1 Reply Last reply
      Reply Quote 0
      • H
        heper
        last edited by

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

        You basically nat your vpn subnet into the lan

        1 Reply Last reply
        Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          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).

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply
          Reply Quote 0
          • J
            jaleel
            last edited by

            thanks for your advice

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

            1 Reply Last reply
            Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              Yeah outbound NAT on LAN

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy