Netgate SG-1000 microFirewall

Author Topic: OpenVPN client connection with same subnet  (Read 73 times)

0 Members and 1 Guest are viewing this topic.

Offline cehss

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
OpenVPN client connection with same subnet
« on: February 02, 2018, 11:00:21 am »
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!