Wanted: OpenVPN without local network access

How to customize and extend your OpenVPN installation.

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

Post Reply
User avatar
NiMing8
OpenVpn Newbie
Posts: 19
Joined: Tue Jul 25, 2017 2:02 am

Wanted: OpenVPN without local network access

Post by NiMing8 » Sat Feb 01, 2020 10:46 am

I've set up many OpenVPN Servers on a Raspberry Pi and am very pleased with the performance.

But they all give full local network access to any client that connects to them.

I'd like to block that - but still allow Internet access.

Any way to do that?

Basically, I'm using these OpenVPN servers to allow secure connections when on public WiFi's so that I can browse securely, and I'd like to give friends accesss to my OpenVPN server as well - just not access to my home network.

I'm sure this has been asked before, I just don't know how to search for this. So, please point me to the thread(s) and I''ll be on my way.

Thanks!

User avatar
NiMing8
OpenVpn Newbie
Posts: 19
Joined: Tue Jul 25, 2017 2:02 am

Re: Wanted: OpenVPN without local network access

Post by NiMing8 » Tue Feb 11, 2020 7:40 am

Trying to bubble this to the top again...

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

Re: Wanted: OpenVPN without local network access

Post by Pippin » Tue Feb 11, 2020 2:50 pm

We do not know your configs, please see:
viewtopic.php?t=22603

Guessing, look into ip_forward and route to LAN...
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

Post Reply