flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

Enabling local LAN access with OVPN-Admin #187

Closed jl-678 closed 1 year ago

jl-678 commented 1 year ago

I have installed ovpn-admin using Docker and the default config enables VPN clients to access the public Internet. However, my use case centers on enabling local LAN access for remote server management, and that is not working.

The official openvpn docs say that I should add something like line below, but if I do that, the ovpn-admin build fails.

route 10.0.0.0 255.255.255.0 10.3.0.1

I acknowledge that this could be a user error issue, but I am certain that others have this requirement and so would love any suggestions on how to address this.

Edit: I opened a discussion about this with no responses and so am hoping that opening an issue might get more help.

jl-678 commented 1 year ago

Update: I gave up on this and instead switched to using the ovpn-binary along with my existing ovpn installation which is running in an LXC container. While there were issues getting it running caused by ovpn-user, I eventually got it working and so am closing this case.

For future visitors, I still have no idea how to enable local access with the Docker version of OVPN-Admin and OpenVPN.