VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
Hello,
I couldn't find a solution.
I tried both method for client key and client certificate.
As you say "Alternatively, you can also place the base64 part in the environment variable OPENVPN_CERT, as a single line (so remove the new line characters)."
I am getting an error like below.
2022-08-17T23:05:37Z INFO [routing] default route found: interface eth0, gateway 172.31.0.1 and assigned IP 172.31.0.2
2022-08-17T23:05:37Z INFO [routing] local ethernet link found: eth0
2022-08-17T23:05:37Z INFO [routing] local ipnet found: 172.31.0.0/16
2022-08-17T23:05:37Z INFO [firewall] enabling...
2022-08-17T23:05:37Z INFO [firewall] enabled successfully
2022-08-17T23:05:38Z INFO [storage] merging by most recent 11432 hardcoded servers and 11432 servers read from /gluetun/servers.json
2022-08-17T23:05:38Z ERROR VPN settings: OpenVPN settings: client certificate: cannot decode PEM encoded block
2022-08-17T23:05:38Z INFO Shutdown successful
Hello, I couldn't find a solution. I tried both method for client key and client certificate.
As you say "Alternatively, you can also place the base64 part in the environment variable OPENVPN_CERT, as a single line (so remove the new line characters)."
I am getting an error like below.
2022-08-17T23:05:37Z INFO [routing] default route found: interface eth0, gateway 172.31.0.1 and assigned IP 172.31.0.2 2022-08-17T23:05:37Z INFO [routing] local ethernet link found: eth0 2022-08-17T23:05:37Z INFO [routing] local ipnet found: 172.31.0.0/16 2022-08-17T23:05:37Z INFO [firewall] enabling... 2022-08-17T23:05:37Z INFO [firewall] enabled successfully 2022-08-17T23:05:38Z INFO [storage] merging by most recent 11432 hardcoded servers and 11432 servers read from /gluetun/servers.json 2022-08-17T23:05:38Z ERROR VPN settings: OpenVPN settings: client certificate: cannot decode PEM encoded block 2022-08-17T23:05:38Z INFO Shutdown successful