Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN client connection with same subnet

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 470 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.
    • C
      cehss
      last edited by

      Hi,

      I'm trying to have multiple open connections to different servers using OpenVPN.

      My IP subnet: 172.20.35.0/24 (there isn't any problem with this)

      Client1 subnet: 192.168.1.0/24
      Client1 server: 192.168.1.2
      Tunnel IP: 10.0.100.0/24

      Client2 subnet: 192.168.1.0/24
      Client2 server: 192.168.1.100/24
      Tunnel IP: 10.0.101.0/24

      Is it possible to connect to both clients? If I connect the OpenVPN client (Client1) all the traffic to the subnet (192.168.1.0/24) will be routed to the tunnel IP of this client, and I won't be able to connect to the server of Client2 because this have the same subnet IP.

      Client1 connection: 192.168.1.0/24 –> 10.0.100.x --> 192.168.1.2
      Client2 connection: 192.168.1.0/24 --> 10.0.100.x --> No connection to 192.168.1.100

      Can anyone help me?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.