Accessing local and remote networks simultaneously

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
potph01
OpenVpn Newbie
Posts: 2
Joined: Thu Oct 27, 2022 4:43 pm

Accessing local and remote networks simultaneously

Post by potph01 » Fri Oct 28, 2022 7:30 am

Good morning. Please bear with me as I have no network experience, however I have successfully managed to configure a Raspberry pi as a VPN router by following instructions I found on the internet.

I have successfully tested the solution using the OpenVPN client on my laptop being able to access resources on my remote devices however there is a problem for which I need assistance in resolving.

It would appear that when using the OpenVPN client all network traffic is sent over the VPN link so that I lose access to resources on the local network.

Can anyone advise whether it is possible to configure the OpenVPN client to ignore traffic on the local network e.g. an exclusion of my local lan address range 192.168.*.* so that I can access both local and remote networks simultaneously.

Any assistance in resolving this issue would be gratefully received.

Phil. P.

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Accessing local and remote networks simultaneously

Post by Pippin » Fri Oct 28, 2022 7:51 am

Hi,

Post server and client config files. Omit sensitive information before posting.
viewtopic.php?t=22603#p68963

Take a look at manual 2.5:
https://build.openvpn.net/man/openvpn-2 ... vpn.8.html

Especially --redirect-gateway flags
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

potph01
OpenVpn Newbie
Posts: 2
Joined: Thu Oct 27, 2022 4:43 pm

Re: Accessing local and remote networks simultaneously

Post by potph01 » Tue Nov 01, 2022 2:37 pm

Thank you for the swift response. I am currently out of the country and will upload the files upon my return to the UK.

Post Reply