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.
Accessing local and remote networks simultaneously
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Oct 27, 2022 4:43 pm
- 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
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
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
Halton Arp
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Oct 27, 2022 4:43 pm
Re: Accessing local and remote networks simultaneously
Thank you for the swift response. I am currently out of the country and will upload the files upon my return to the UK.