Cant access GUI with Open VPN

MdsTech

Dabbler
Joined
Dec 7, 2021
Messages
10
I have a working open vpn service, but even connected to it I can't access the GUI. I can use plex as if I'm in the same network with remote access turned off, I can transfer files to my SMB share, but can't access the GUI.

I found that using this in the additional parameters of the OVPN service setting help me be able to use the GUI, but it redirects all the connection to the VPN, so I cant browse the internet, this is because of the redirect-gateway part of the text, without it I can browse the internet and access my SMB share, but not the GUI.

push "route 192.168.0.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 1.1.1.1"
 

Attachments

  • Captura de pantalla 2022-05-25 155640.jpg
    Captura de pantalla 2022-05-25 155640.jpg
    13.6 KB · Views: 98

MormonBoy

Dabbler
Joined
Mar 17, 2022
Messages
18
Easiest way I found to access WebUIs of plugins/jail's with an OpenVPN configuration was to set up an nginx reverse proxy to the jail. To save a ridiculous amount of headache is you don't know how to do this, I would install in Ubuntu VM with docker and install Nginx Proxy Manager, makes setting this stuff up an absolute breeze, then set up a ui.yourdomain.com pointing to the internal address of your WebUI.
 
Top