Page 1 of 1

Connect vpn client with the same net class

Posted: Tue Feb 03, 2015 8:47 pm
by dinu
Hello,
I have a openvpn server(also application server) witch runs on a lan 192.168.1.0/24. Various clients connects through Internet using openvpn client. Now I got a new client with a lan having the same 192.168.1.0/24. It is difficult for me to ask either of the organizations to change their net class. I've configured a few openvpn on client's workstations. It connects but lan printing and Internet access stop working. I need to access only the remote server using vpn(192.168.1.100). Openvpn is configured on tcp, it pushes the route 192.168.1.0/255.255.255.0 and no gateway redirect.

Can anybody have any idea ?

Re: Connect vpn client with the same net class

Posted: Wed Feb 04, 2015 8:38 am
by maikcat
you can push a 32bit mask route like

Code: Select all

push "route 192.168.1.100 255.255.255.255"
and no other routes,but the client will loose local 1.100 server

other approach is to use openvpn's nat function.

Michael.