I believe I've found a bug in how the web front end imports and transforms an OpenVPN client file. Specifically the remote aaa.bbb.ccc
line is excluded when attempting to connect to a DNS name in the .dev
TLD. To reproduce:
- Get any valid OpenVPN client config file and replace the
remote
line withremote foo.bar.dev
. - Start the VPN via the web UI
- ssh into the modem and look at the config file the OpenVPN binary is referencing (
/tmp/ovpnclient/ovpnclient
)
Results:
The remote ...
line is missing, and the VPN connection hangs until it times out.
Expected:
The remote ...
line is persisted into the config that the OpenVPN binary is reading.
I'm reproducing this on a GL.iNet GL-MT1300.
Admin Panel Version: 4.3.17
OpenWrt Version: 22.03.4 r20123-38ccc47687
Kernel Version: 5.10.176