homeassistant-openvpn-client
homeassistant-openvpn-client copied to clipboard
Not working on Hassio
I've set this up on my hassio but I can't get the connection to establish and it looks like it's not able to bound the connection:
Sun Apr 26 00:20:02 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]89.249.74.212:443 Sun Apr 26 00:20:02 2020 Socket Buffers: R=[131072->131072] S=[16384->16384] Sun Apr 26 00:20:02 2020 Attempting to establish TCP connection with [AF_INET]89.249.74.212:443 [nonblock] Sun Apr 26 00:20:03 2020 TCP connection established with [AF_INET]89.249.74.212:443 Sun Apr 26 00:20:03 2020 TCP_CLIENT link local: (not bound) Sun Apr 26 00:20:03 2020 TCP_CLIENT link remote: [AF_INET]89.249.74.212:443 Sun Apr 26 00:20:03 2020 Connection reset, restarting [0] Sun Apr 26 00:20:03 2020 SIGUSR1[soft,connection-reset] received, process restarting Sun Apr 26 00:20:03 2020 Restart pause, 5 second(s)
Noticed the lines:
Sun Apr 26 00:19:44 2020 WARNING: file 'client.key' is group or others accessible Sun Apr 26 00:19:44 2020 WARNING: file 'ta.key' is group or others accessible Sun Apr 26 00:19:44 2020 OpenVPN 2.4.8 armv7-alpine-linux-musleabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 7 2020
Not sure if it's my config or if this just doesn't work on hassio.
I'm playing around with this one, almost got it working: https://github.com/Ailme/homeassistant-openvpn-client-addon