Local network access blocked!

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
ianmc2
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 15, 2022 3:15 am

Local network access blocked!

Post by ianmc2 » Mon Aug 15, 2022 3:30 am

Hi

I setup openvpn on a linode server using this guide.
https://www.youtube.com/watch?v=gxpX_mubz2A

I used a slightly different script from the video to get it to work well with pihole, which I installed there already. It is DNS blocking software.

The purpose is to have an ad/tracking blocking vpn.
It is working as expected.
There is one issue that is becoming a major problem.

At home, using windows & linux, it generally works as expected.

On my android phone - a samsung A12, have openvpn installed through google play store.
It works as expected but - when the vpn is activated at home , local traffic to the LAN - such as my NAS & smart TV are blocked.

I want the vpn on all the time.
How do I access my local network when the vpn is on.

Here is the generated ovpn file I use:

client
proto udp
explicit-exit-notify
remote <Ip and port number>
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-KEY_RELATED_DETAILS_NOT-SHOWING
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
<ca>
------My certificates-------

This is an issue of great frustration for me.
A solution would be very much appreciated.

It may involve a 'route' option added to the file. What exactly I do not know.

Thanks

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Local network access blocked!

Post by TinCanTech » Mon Aug 15, 2022 9:17 am

We need to see your server configuration. Please see example: viewtopic.php?t=22603#p68963

Post Reply