no lan access for clients connected to remote openVPN server

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
samw5
OpenVpn Newbie
Posts: 5
Joined: Thu Sep 19, 2013 6:15 pm

no lan access for clients connected to remote openVPN server

Post by samw5 » Fri Apr 17, 2015 5:08 pm

So i'm having a small issue where I'm connecting clients to a remote openVPN server.
Everything works fine but while the connection is established I lose local LAN access rightfully so.

I'm trying to figure out how I could modify the client config file to push the local lan route (ideally 2 different lans, one for work one for home... i'd be OK using 2 separate configs if needed).

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: no lan access for clients connected to remote openVPN se

Post by Traffic » Fri Apr 17, 2015 7:33 pm

Please post your configs and logs ..

samw5
OpenVpn Newbie
Posts: 5
Joined: Thu Sep 19, 2013 6:15 pm

Re: no lan access for clients connected to remote openVPN se

Post by samw5 » Fri Apr 17, 2015 8:29 pm

client
dev tun
proto udp
remote us-east.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
auth-user-pass
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.pem

<ca>
-----BEGIN CERTIFICATE-----
CERT HERE
-----END CERTIFICATE-----
</ca>

No server config since I don't manage that side... Trying to push the route to the client so they have access to the local lan from which they are connected to the OpenVPN server.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: no lan access for clients connected to remote openVPN se

Post by Traffic » Fri Apr 17, 2015 8:45 pm

samw5 wrote:No server config since I don't manage that side
Speak to the people that do ..
samw5 wrote:how I could modify the client config file to push the local lan route (ideally 2 different lans, one for work one for home
Openvpn client does not push anything .. I think you misunderstand how openvpn works.

community-open-source-software-overview

samw5
OpenVpn Newbie
Posts: 5
Joined: Thu Sep 19, 2013 6:15 pm

Re: no lan access for clients connected to remote openVPN se

Post by samw5 » Fri Apr 17, 2015 9:23 pm

Was under the impression I could add my own static route via the client config

Post Reply