Hi kamoj, I've used your add-on for the past several months (thank you!). My use case is simple: I transitioned from your VPN bypass script posted to the forums, to the add-on for ease. (I also appreciate the enhanced debug screen.)
Unfortunately, I'm not only here to thank you, but to report a potential bug. Admission: I dropped IPVanish shortly before wiping V4 of your add-on, and didn't install V5 until SurfShark was already set-up. As a result, I recognize this could be user error, and I'm happy to run further tests or else provide additional logs. The new VPN was working smoothly until I attempted to install the V5 add-on, though, on both Voxel 72 and 73.
I appreciate any help you can provide, and there's absolutely no rush of course! Thanks for reading, thank you for creating your add-on in the first place, and Happy New Year!
openvpn-client.log
Code:
2019-12-19 08:04:06 [OpenVPN] Client:INFO: NO OpenVPN configuration given. Searching for .ovpn files...
2019-12-19 08:04:06 [OpenVPN] Client:INFO: OpenVPN configuration found: /etc/openvpn/config/client/us-nyc.prod.surfshark.com_udp.ovpn
2019-12-19 08:04:06 [OpenVPN] Client:Check if DNS is already working
2019-12-19 08:04:07 [OpenVPN] Client:us-nyc.prod.surfshark.com_udp.ovpn: Password file given but does not exist
2019-12-19 08:04:07 [OpenVPN] Client:Get password file for: /etc/openvpn/config/client/us-nyc.prod.surfshark.com_udp.ovpn
2019-12-19 08:04:07 [OpenVPN] Client:Processing us-nyc.prod.surfshark.com_udp.ovpn file...
2019-12-19 08:04:07 [OpenVPN] Client:No password file found: /tmp/openvpn_client/idpw. Check pre-defined username/password
2019-12-19 08:04:07 [OpenVPN] Client:No password file found. No pre-defined username/password exist.
2019-12-19 08:04:07 [OpenVPN] Client:ERROR: No password file found and no default passwords exist. Exiting
2019-12-29 21:43:48 [OpenVPN] Client:INFO: NO OpenVPN configuration given. Searching for .ovpn files...
2019-12-29 21:43:48 [OpenVPN] Client:INFO: OpenVPN configuration found: /etc/openvpn/config/client/us-nyc.prod.surfshark.com_udp.ovpn
2019-12-29 21:43:48 [OpenVPN] Client:Check if DNS is already working
2019-12-29 21:43:48 [OpenVPN] Client:us-nyc.prod.surfshark.com_udp.ovpn: Password file given but does not exist
2019-12-29 21:43:48 [OpenVPN] Client:Get password file for: /etc/openvpn/config/client/us-nyc.prod.surfshark.com_udp.ovpn
2019-12-29 21:43:48 [OpenVPN] Client:Processing us-nyc.prod.surfshark.com_udp.ovpn file...
2019-12-29 21:43:48 [OpenVPN] Client:No password file found: /tmp/openvpn_client/idpw. Check pre-defined username/password
2019-12-29 21:43:48 [OpenVPN] Client:No password file found. No pre-defined username/password exist.
2019-12-29 21:43:48 [OpenVPN] Client:ERROR: No password file found and no default passwords exist. Exiting
All the files are in their proper places.
ovpn file, below, in case this exposes an error on my part
Code:
client
dev tun
proto udp
remote us-nyc.prod.surfshark.com 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
remote-cert-tls server
auth-user-pass /etc/openvpn/config/client/auth.txt
#comp-lzo
verb 3
pull
pull-filter ignore "block-outside-dns"
fast-io
cipher AES-256-GCM
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
certificate deleted for length of this post
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
static key deleted for length of this post
-----END OpenVPN Static key V1-----
</tls-auth>