Page 1 of 1

Wanted: OpenVPN without local network access

Posted: Sat Feb 01, 2020 10:46 am
by NiMing8
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!

Re: Wanted: OpenVPN without local network access

Posted: Tue Feb 11, 2020 7:40 am
by NiMing8
Trying to bubble this to the top again...

Re: Wanted: OpenVPN without local network access

Posted: Tue Feb 11, 2020 2:50 pm
by Pippin
We do not know your configs, please see:
viewtopic.php?t=22603

Guessing, look into ip_forward and route to LAN...