OpenVPN client connection with same subnet



  • 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!