Hi,

On Mon, Mar 07, 2022 at 11:59:53PM +0100, Bo Berglund wrote:
> This is pretty clumsy in my view and I would rather be able to connect to the
> RPi from any device on my LAN without also connecting by VPN from those 
> devices.
> 
> Can this be done in some easy to understand way?

It's - again - all a matter of routing.

The RPi needs to have a route towards your LAN IPs ("push route ..." in 
ccd/ or main openvpn config) and the LAN hosts needs to have a route 
"RPi network -> OpenVPN server" (or the LAN router needs this route, so 
packets go LAN host -> router -> openvpn server - not as efficient, but 
for low-traffic sessions perfectly fine)

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to