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 ?
Connect vpn client with the same net class
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Feb 03, 2015 8:16 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Connect vpn client with the same net class
you can push a 32bit mask route like
and no other routes,but the client will loose local 1.100 server
other approach is to use openvpn's nat function.
Michael.
Code: Select all
push "route 192.168.1.100 255.255.255.255"
other approach is to use openvpn's nat function.
Michael.