Hello,
This is the first time I try to set up a VPN so I have no experience at all.
I need to make some devices (NAS and PC) on the LAN to be accessible over VPN.
I have below devices available to build an OpenVPN based network:
- a tp-link AX5400 Archer AX73 router which supports OpenVPN server/client modes (has a static IPv4 address)
- a VPS server (debian 11 with OpenVPN Community Edition installed on it - also has a static IPv4 address)
- another VPS server which I can use to issue CA keys
I have tried to set up the VPN based on
this how to and the VPS VPN server is working. I can connect to it using my PC with a client and it seems that the router can also connect to it as another client but I can not access any devices behind the router.
Based on what I have read in the OpenVPN documentation I think I need to set up the router as VPN server and the VPS server in bridge mode but I do not know how to do that and I did not find any working configuration.
I have
drawn a diagram of what I want to achieve.
Could you please point me in the right direction I would be more than happy indeed.