Hi,
I am using purevpn, this docker was working fine for a month or so. but for last 2 weeks i have been getting solid "connection reset" when its trying to connect to openvpn. I have rebuilt docker image, tried older ones, made sure my userid/password are ok. But no joy so far:
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/
2019-07-28 10:36:00.536516 [info] System information Linux 83bfff2fd624 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 GNU/Linux
2019-07-28 10:36:00.557148 [info] PUID defined as '99'
2019-07-28 10:36:00.717512 [info] PGID defined as '100'
2019-07-28 10:36:00.934463 [info] UMASK defined as '000'
2019-07-28 10:36:00.953517 [info] Permissions already set for volume mappings
2019-07-28 10:36:00.975940 [info] VPN_ENABLED defined as 'yes'
2019-07-28 10:36:01.000140 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/nl2-ovpn-tcp-tcp.ovpn
dos2unix: converting file /config/openvpn/nl2-ovpn-tcp-tcp.ovpn to Unix format...
2019-07-28 10:36:01.031151 [info] VPN remote line defined as 'remote nl2-ovpn-tcp.pointtoserver.com 80'
2019-07-28 10:36:01.051488 [info] VPN_REMOTE defined as 'nl2-ovpn-tcp.pointtoserver.com'
2019-07-28 10:36:01.070964 [info] VPN_PORT defined as '80'
2019-07-28 10:36:01.093260 [info] VPN_PROTOCOL defined as 'tcp-client'
2019-07-28 10:36:01.112867 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-07-28 10:36:01.132197 [info] VPN_PROV defined as 'custom'
2019-07-28 10:36:01.151465 [info] LAN_NETWORK defined as '10.2.1.0/24'
2019-07-28 10:36:01.170595 [info] ADDITIONAL_PORTS defined as '8081'
2019-07-28 10:36:01.190308 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2019-07-28 10:36:01.210152 [info] VPN_USER defined as 'purevpn0nnnnnnn'
2019-07-28 10:36:01.229564 [info] VPN_PASS defined as '########'
2019-07-28 10:36:01.248862 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-07-28 10:36:01.268388 [info] ENABLE_PRIVOXY defined as 'yes'
2019-07-28 10:36:01.296143 [info] Starting Supervisor...
2019-07-28 10:36:01,437 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2019-07-28 10:36:01,437 INFO Set uid to user 0 succeeded
2019-07-28 10:36:01,439 INFO supervisord started with pid 6
2019-07-28 10:36:02,441 INFO spawned: 'start-script' with pid 142
2019-07-28 10:36:02,442 INFO spawned: 'watchdog-script' with pid 143
2019-07-28 10:36:02,442 INFO reaped unknown pid 7
2019-07-28 10:36:02,446 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2019-07-28 10:36:02,446 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-28 10:36:02,446 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-07-28 10:36:02,487 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2019-07-28 10:36:02,490 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf
2019-07-28 10:36:02,492 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf
2019-07-28 10:36:02,495 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2019-07-28 10:36:02,497 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf
2019-07-28 10:36:02,499 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf
2019-07-28 10:36:02,502 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2019-07-28 10:36:02,504 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf
2019-07-28 10:36:02,507 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf
2019-07-28 10:36:02,835 DEBG 'start-script' stdout output:
[info] Attempting to load tun kernel module...
2019-07-28 10:36:02,836 DEBG 'start-script' stderr output:
modprobe: FATAL: Module tun not found in directory /lib/modules/4.19.56-Unraid
2019-07-28 10:36:02,836 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module using modprobe, trying insmod...
2019-07-28 10:36:02,836 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory
2019-07-28 10:36:02,837 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module, assuming its dynamically loaded
2019-07-28 10:36:02,840 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...
2019-07-28 10:36:02,841 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.19.56-Unraid
2019-07-28 10:36:02,841 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...
2019-07-28 10:36:02,842 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory
2019-07-28 10:36:02,842 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'
2019-07-28 10:36:02,854 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2019-07-28 10:36:02,857 DEBG 'start-script' stdout output:
[info] Adding 10.2.1.0/24 as route via docker eth0
2019-07-28 10:36:02,857 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2019-07-28 10:36:02,858 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
10.2.1.0/24 via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.3
2019-07-28 10:36:02,858 DEBG 'start-script' stdout output:
--------------------
2019-07-28 10:36:02,873 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0
2019-07-28 10:36:02,893 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0
2019-07-28 10:36:02,901 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2019-07-28 10:36:02,902 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 80 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -s 10.2.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 80 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 10.2.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
2019-07-28 10:36:02,902 DEBG 'start-script' stdout output:
--------------------
2019-07-28 10:36:02,902 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...
2019-07-28 10:36:02,919 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:02 2019 WARNING: file 'credentials.conf' is group or others accessible
Sun Jul 28 10:36:02 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sun Jul 28 10:36:02 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
2019-07-28 10:36:02,919 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:02 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2019-07-28 10:36:02,919 DEBG 'start-script' stdout output:
[info] OpenVPN started
2019-07-28 10:36:02,920 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:02 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]43.226.228.4:80
2019-07-28 10:36:02,920 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:02 2019 Attempting to establish TCP connection with [AF_INET]43.226.228.4:80 [nonblock]
2019-07-28 10:36:04,920 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:04 2019 TCP connection established with [AF_INET]43.226.228.4:80
Sun Jul 28 10:36:04 2019 TCP_CLIENT link local: (not bound)
Sun Jul 28 10:36:04 2019 TCP_CLIENT link remote: [AF_INET]43.226.228.4:80
2019-07-28 10:36:13,595 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:13 2019 Connection reset, restarting [-1]
2019-07-28 10:36:13,595 DEBG 'start-script' stdout output:
Sun Jul 28 10:36:13 2019 SIGHUP[soft,connection-reset] received, process restarting
Any suggestions?