Jump to content

important

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by important

  1. On 12/2/2019 at 12:01 PM, binhex said:

    ISP or VPN provider outage, it does happen.

    I am still having similar issues but for some reason it seems to affect only a few of my computers. My main computer can connect perfectly. But trying to access the webui from my laptop and nothing happens. I can't figure out why . The laptop connects fine to the NAS and all other services running. What could be causing this?

  2. I have had my container running for a few days and as far as I know it's all been fine until today. All of a sudden I can't access the webui for deluge. I've tried restarting the container, tried disable firewall, restarting NAS etc. But I can't seem to get it to work... The logs says it's running so I'm not sure what the problem could be all of a sudden. I haven't touched any settings since it worked.
     

    2019-12-01 14:52:14.283197 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-12-01 14:52:14.343605 [info] PUID defined as '0'
    2019-12-01 14:52:14.410147 [info] PGID defined as '0'
    2019-12-01 14:52:14.533134 [info] UMASK defined as '100'
    2019-12-01 14:52:14.591885 [info] Permissions already set for volume mappings
    2019-12-01 14:52:14.659500 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-12-01 14:52:14.720468 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-12-01 14:52:14.781215 [info] VPN_ENABLED defined as 'yes'
    2019-12-01 14:52:14.849036 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-12-01 14:52:14.949752 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
    2019-12-01 14:52:15.010139 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
    2019-12-01 14:52:15.078334 [info] VPN_PORT defined as '1194'
    2019-12-01 14:52:15.145235 [info] VPN_PROTOCOL defined as 'udp'
    2019-12-01 14:52:15.205782 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-12-01 14:52:15.266728 [info] VPN_PROV defined as 'custom'
    2019-12-01 14:52:15.330559 [info] LAN_NETWORK defined as '192.168.0.0/24'
    2019-12-01 14:52:15.392882 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
    2019-12-01 14:52:15.457993 [info] VPN_USER defined as 'XX'
    2019-12-01 14:52:15.518433 [info] VPN_PASS defined as 'XX'
    2019-12-01 14:52:15.580568 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-12-01 14:52:15.642579 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-12-01 14:52:15.707276 [info] Starting Supervisor...
    2019-12-01 14:52:16,132 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-12-01 14:52:16,132 INFO Set uid to user 0 succeeded
    2019-12-01 14:52:16,139 INFO supervisord started with pid 7
    2019-12-01 14:52:17,142 INFO spawned: 'start-script' with pid 151
    2019-12-01 14:52:17,145 INFO spawned: 'watchdog-script' with pid 152
    2019-12-01 14:52:17,145 INFO reaped unknown pid 8
    2019-12-01 14:52:17,158 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=8.8.8.8,8.8.4.4
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=7
    PS4='+ '
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    TZ=Europe/Stockholm
    
    2019-12-01 14:52:17,158 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-12-01 14:52:17,158 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-12-01 14:52:17,159 DEBG 'start-script' stdout output:
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    VPN_PASS=X
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
    VPN_USER=X
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-12-01 14:52:17,167 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Dec  1 14:52 .
    drwxrwxr-x 1 1026  100  342 Dec  1 14:52 ..
    -rwxrwxr-x 1 root root   30 Dec  1 14:39 credentials.conf
    -rwxrwxr-x 1 root root 2569 Dec  1 14:52 se.stockholm.ovpn.com.ovpn
    
    2019-12-01 14:52:17,236 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-12-01 14:52:17,237 DEBG 'start-script' stdout output:
    remote pool-1.prd.se.sthlm.ovpn.com 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    
    ncp-ciphers AES-256-GCM:AES-256-CBC:AES-128-GCM
    2019-12-01 14:52:17,262 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-12-01 14:52:17,269 DEBG 'start-script' stdout output:
    [info] Adding 8.8.8.8 to /etc/resolv.conf
    
    2019-12-01 14:52:17,275 DEBG 'start-script' stdout output:
    [info] Adding 8.8.4.4 to /etc/resolv.conf
    
    2019-12-01 14:52:17,347 DEBG 'start-script' stdout output:
    [debug] Show name servers defined for container
    
    2019-12-01 14:52:17,348 DEBG 'start-script' stdout output:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
    2019-12-01 14:52:17,349 DEBG 'start-script' stdout output:
    [debug] Show name resolution for VPN endpoint pool-1.prd.se.sthlm.ovpn.com
    
    2019-12-01 14:52:17,390 DEBG 'start-script' stdout output:
    ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 38265
    ;; flags: qr rd ra ; QUERY: 1, ANSWER: 18, AUTHORITY: 0, ADDITIONAL: 0 
    ;; QUESTION SECTION:
    ;; pool-1.prd.se.sthlm.ovpn.com.	IN	A
    
    ;; ANSWER SECTION:
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.51
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.71
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.50
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.48
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.46
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.53
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.49
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.72
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.59
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.57
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.52
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.60
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.56
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.58
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.55
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.73
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.54
    pool-1.prd.se.sthlm.ovpn.com.	42	IN	A	217.64.148.47
    
    ;; AUTHORITY SECTION:
    
    ;; ADDITIONAL SECTION:
    
    ;; Query time: 22 msec
    ;; SERVER: 8.8.4.4
    ;; WHEN: Sun Dec  1 14:52:17 2019
    ;; MSG SIZE  rcvd: 334
    [debug] Show contents of hosts file
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    ff00::0	ip6-mcastprefix
    ff02::1	ip6-allnodes
    ff02::2	ip6-allrouters
    172.17.0.2	DelugeVPN
    217.64.148.47	pool-1.prd.se.sthlm.ovpn.com
    
    2019-12-01 14:52:17,437 DEBG 'start-script' stdout output:
    [debug] Docker interface defined as eth0
    
    2019-12-01 14:52:17,445 DEBG 'start-script' stdout output:
    [debug] Docker IP defined as 172.17.0.2
    
    2019-12-01 14:52:17,452 DEBG 'start-script' stdout output:
    [debug] Docker netmask defined as 255.255.0.0
    
    2019-12-01 14:52:17,470 DEBG 'start-script' stdout output:
    [info] Docker network defined as    172.17.0.0/16
    
    2019-12-01 14:52:17,477 DEBG 'start-script' stdout output:
    [info] Adding 192.168.0.0/24 as route via docker eth0
    
    2019-12-01 14:52:17,479 DEBG 'start-script' stdout output:
    [info] ip route defined as follows...
    --------------------
    
    2019-12-01 14:52:17,482 DEBG 'start-script' stdout output:
    default via 172.17.0.1 dev eth0 
    
    2019-12-01 14:52:17,483 DEBG 'start-script' stdout output:
    172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 
    
    2019-12-01 14:52:17,483 DEBG 'start-script' stdout output:
    192.168.0.0/24 via 172.17.0.1 dev eth0 
    
    2019-12-01 14:52:17,485 DEBG 'start-script' stdout output:
    --------------------
    [debug] Modules currently loaded for kernel
    
    2019-12-01 14:52:17,490 DEBG 'start-script' stdout output:
    Module                  Size  Used by
    tun                    19295  2
    xt_ipvs                 2202  0
    ip_vs_rr                1447  0
    ip_vs                 127371  3 ip_vs_rr,xt_ipvs
    xt_mark                 1317  0
    iptable_mangle          1656  0
    br_netfilter           13589  0
    bridge                 55340  1 br_netfilter
    stp                     1693  1 bridge
    aufs                  194415  0
    macvlan                13776  0
    veth                    5094  0
    xt_conntrack            3401  4
    xt_addrtype             2893  1
    ipt_MASQUERADE          1213  6
    xt_REDIRECT             1486  0
    nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
    xt_nat                  1977  5
    iptable_nat             1959  1
    nf_nat_ipv4             4903  1 iptable_nat
    nf_nat_redirect         1395  1 xt_REDIRECT
    nf_nat                 10925  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
    cifs                  371998  0
    udf                    80226  0
    isofs                  31403  0
    loop                   19749  0
    tcm_loop               12940  1
    iscsi_target_mod      235126  1
    target_core_ep         46505  2
    target_core_multi_file    26446  1
    target_core_file       39992  1
    target_core_iblock     19769  1
    target_core_mod       926774  18 target_core_iblock,target_core_multi_file,iscsi_target_mod,target_core_ep,target_core_file,tcm_loop
    syno_extent_pool     1295768  0
    rodsp_ep               77187  3 target_core_multi_file,syno_extent_pool,target_core_file
    syno_hddmon             1880  0
    hid_generic             1321  0
    usbhid                 25951  0
    hid                    94408  2 hid_generic,usbhid
    usblp                  10618  0
    usb_storage            49426  0
    uhci_hcd               22683  0
    ehci_pci                3935  0
    ehci_hcd               42414  1 ehci_pci
    xt_mac                  1155  0
    xt_geoip                3214  4
    compat_xtables           955  0
    nf_conntrack_ipv6       6563  2
    nf_defrag_ipv6         23062  1 nf_conntrack_ipv6
    ip6table_filter         1532  1
    ip6_tables             14730  1 ip6table_filter
    xt_recent               8550  0
    xt_iprange              1648  6
    xt_limit                1985  5
    xt_state                1367  0
    xt_tcpudp               2543  25
    xt_multiport            1830  4
    xt_LOG                  1423  0
    nf_conntrack_ipv4      11616  3
    nf_defrag_ipv4          1475  1 nf_conntrack_ipv4
    nf_conntrack           62480  8 ip_vs,nf_nat,xt_state,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
    iptable_filter          1592  1
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    apollolake_synobios    60352  0
    leds_lp3943             4500  0
    exfat                 117655  0
    btrfs                 945838  1
    i915                 1150643  0
    drm_kms_helper        105637  1 i915
    syscopyarea             3262  1 drm_kms_helper
    sysfillrect             3754  1 drm_kms_helper
    sysimgblt               2239  1 drm_kms_helper
    fb_sys_fops             1314  1 drm_kms_helper
    cfbfillrect             3818  1 drm_kms_helper
    cfbcopyarea             3326  1 drm_kms_helper
    cfbimgblt               2303  1 drm_kms_helper
    drm                   269120  3 i915,drm_kms_helper
    fb                     34811  2 i915,drm_kms_helper
    fbdev                    966  1 fb
    intel_agp              10712  0
    intel_gtt              12326  2 i915,intel_agp
    agpgart                25941  3 drm,intel_agp,intel_gtt
    video                  25321  1 i915
    backlight               6096  2 i915,video
    button                  4756  1 i915
    synoacl_vfs            15727  1
    hfsplus                92438  0
    md4                     4337  0
    hmac                    2961  0
    r8168                 522782  0
    igb                   173319  0
    i2c_algo_bit            5328  1 i915
    e1000e                168269  0
    vxlan                  32753  0
    ip6_udp_tunnel          1903  1 vxlan
    udp_tun
    2019-12-01 14:52:17,496 DEBG 'start-script' stdout output:
    nel              2355  1 vxlan
    fuse                   85227  0
    vfat                   10351  0
    fat                    53340  1 vfat
    crc32c_intel           12849  1
    aesni_intel           157811  0
    glue_helper             3893  1 aesni_intel
    lrw                     3541  1 aesni_intel
    gf128mul                5546  1 lrw
    ablk_helper             1948  1 aesni_intel
    arc4                    2040  0
    cryptd                  7882  2 aesni_intel,ablk_helper
    ecryptfs               78536  1 btrfs
    sha256_generic         11993  0
    ecb                     2113  0
    aes_x86_64              7503  1 aesni_intel
    authenc                 4076  0
    des_generic            16861  0
    ansi_cprng              3940  0
    cts                     4136  0
    md5                     2833  0
    cbc                     2712  0
    cpufreq_powersave       1126  0
    cpufreq_performance     1130  2
    acpi_cpufreq            6495  0
    processor              23262  1 acpi_cpufreq
    cpufreq_stats           2742  0
    dm_snapshot            28359  0
    dm_bufio               14214  1 dm_snapshot
    crc_itu_t               1467  1 udf
    crc_ccitt               1467  0
    quota_v2                4047  0
    quota_tree              7850  1 quota_v2
    psnap                   1917  0
    p8022                   1179  0
    llc                     3569  4 stp,p8022,psnap,bridge
    sit                    15812  0
    tunnel4                 2261  1 sit
    ip_tunnel              13200  1 sit
    ipv6                  336006  96 sit,ip_vs,nf_defrag_ipv6,nf_conntrack_ipv6
    zram                   19042  2
    sg                     26393  0
    etxhci_hcd             86266  0
    xhci_pci                4650  0
    xhci_hcd              104955  1 xhci_pci
    usbcore               198115  9 etxhci_hcd,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
    usb_common              2222  1 usbcore
    
    2019-12-01 14:52:17,513 DEBG 'start-script' stdout output:
    iptable_mangle          1656  0
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    
    2019-12-01 14:52:17,514 DEBG 'start-script' stdout output:
    [info] iptable_mangle support detected, adding fwmark for tables
    
    2019-12-01 14:52:17,579 DEBG 'start-script' stdout output:
    [info] iptables defined as follows...
    --------------------
    
    2019-12-01 14:52:17,582 DEBG 'start-script' stdout output:
    -P INPUT DROP
    -P FORWARD DROP
    -P OUTPUT DROP
    -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
    -A INPUT -s 192.168.0.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 INPUT -i tun0 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 192.168.0.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-12-01 14:52:17,586 DEBG 'start-script' stdout output:
    --------------------
    
    2019-12-01 14:52:17,588 DEBG 'start-script' stdout output:
    [debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE 'pool-1.prd.se.sthlm.ovpn.com' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --remote 217.64.148.47 1194 udp --remote 217.64.148.52 1194 udp --remote 217.64.148.60 1194 udp --remote 217.64.148.55 1194 udp --remote 217.64.148.53 1194 udp --remote 217.64.148.73 1194 udp --remote 217.64.148.57 1194 udp --remote 217.64.148.49 1194 udp --remote 217.64.148.51 1194 udp --remote 217.64.148.72 1194 udp --remote 217.64.148.50 1194 udp --remote 217.64.148.46 1194 udp --remote 217.64.148.56 1194 udp --remote 217.64.148.71 1194 udp --remote 217.64.148.59 1194 udp --remote 217.64.148.58 1194 udp --remote 217.64.148.48 1194 udp --remote 217.64.148.54 1194 udp --remote-random --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/se.stockholm.ovpn.com.ovpn'
    [info] Starting OpenVPN...
    
    2019-12-01 14:52:17,667 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 WARNING: file 'credentials.conf' is group or others accessible
    
    2019-12-01 14:52:17,668 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Sun Dec  1 14:52:17 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    
    2019-12-01 14:52:17,669 DEBG 'start-script' stdout output:
    [info] OpenVPN started
    
    2019-12-01 14:52:17,670 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-12-01 14:52:17,673 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-12-01 14:52:17,673 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-12-01 14:52:17,674 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.54:1194
    
    2019-12-01 14:52:17,674 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    
    2019-12-01 14:52:17,675 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 UDP link local: (not bound)
    
    2019-12-01 14:52:17,675 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 UDP link remote: [AF_INET]217.64.148.54:1194
    
    2019-12-01 14:52:17,688 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 TLS: Initial packet from [AF_INET]217.64.148.54:1194, sid=a4f3a3a3 79e49380
    
    2019-12-01 14:52:17,706 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 VERIFY OK: depth=1, C=SE, ST=Stockholm, L=Stockholm, OU=Firma David Wibergh, CN=ovpn.se ca, [email protected]
    
    2019-12-01 14:52:17,707 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 VERIFY KU OK
    
    2019-12-01 14:52:17,708 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 Validating certificate extended key usage
    
    2019-12-01 14:52:17,708 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
    
    2019-12-01 14:52:17,709 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 VERIFY EKU OK
    
    2019-12-01 14:52:17,709 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 VERIFY OK: depth=0, CN=vpn13.prd.kista.ovpn.com
    
    2019-12-01 14:52:17,729 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1557', remote='link-mtu 1558'
    
    2019-12-01 14:52:17,730 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
    Sun Dec  1 14:52:17 2019 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
    
    2019-12-01 14:52:17,730 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:17 2019 [vpn13.prd.kista.ovpn.com] Peer Connection Initiated with [AF_INET]217.64.148.54:1194
    
    2019-12-01 14:52:18,824 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:18 2019 SENT CONTROL [vpn13.prd.kista.ovpn.com]: 'PUSH_REQUEST' (status=1)
    
    2019-12-01 14:52:23,932 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 SENT CONTROL [vpn13.prd.kista.ovpn.com]: 'PUSH_REQUEST' (status=1)
    
    2019-12-01 14:52:23,945 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 PUSH: Received control message: 'PUSH_REPLY,ping 10,ping-restart 60,persist-key,redirect-gateway def1,explicit-exit-notify 2,route-gateway 10.128.0.1,topology subnet,compress ,dhcp-option DNS 46.227.67.134,dhcp-option DNS 192.165.9.158,ifconfig 10.128.0.135 255.255.252.0,peer-id 4,cipher AES-256-GCM'
    
    2019-12-01 14:52:23,947 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: timers and/or timeouts modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: explicit notify parm(s) modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: compression parms modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: --persist options modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: --ifconfig/up options modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: route options modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: route-related options modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: peer-id set
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: adjusting link_mtu to 1624
    Sun Dec  1 14:52:23 2019 OPTIONS IMPORT: data channel crypto options modified
    Sun Dec  1 14:52:23 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
    Sun Dec  1 14:52:23 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    Sun Dec  1 14:52:23 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    Sun Dec  1 14:52:23 2019 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:02
    Sun Dec  1 14:52:23 2019 TUN/TAP device tun0 opened
    Sun Dec  1 14:52:23 2019 TUN/TAP TX queue length set to 100
    Sun Dec  1 14:52:23 2019 /usr/bin/ip link set dev tun0 up mtu 1500
    
    2019-12-01 14:52:23,949 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 /usr/bin/ip addr add dev tun0 10.128.0.135/22 broadcast 10.128.3.255
    
    2019-12-01 14:52:23,951 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 /root/openvpnup.sh tun0 1500 1552 10.128.0.135 255.255.252.0 init
    
    2019-12-01 14:52:23,954 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 /usr/bin/ip route add 217.64.148.54/32 via 172.17.0.1
    
    2019-12-01 14:52:23,957 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 /usr/bin/ip route add 0.0.0.0/1 via 10.128.0.1
    
    2019-12-01 14:52:23,959 DEBG 'start-script' stdout output:
    [debug] Waiting for valid IP address from tunnel...
    
    2019-12-01 14:52:23,959 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 /usr/bin/ip route add 128.0.0.0/1 via 10.128.0.1
    
    2019-12-01 14:52:23,961 DEBG 'start-script' stdout output:
    Sun Dec  1 14:52:23 2019 Initialization Sequence Completed
    
    2019-12-01 14:52:24,087 DEBG 'start-script' stdout output:
    [debug] Valid IP address from tunnel acquired '10.128.0.135'
    
    2019-12-01 14:52:24,087 DEBG 'start-script' stdout output:
    [info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
    
    2019-12-01 14:52:24,088 DEBG 'start-script' stdout output:
    [info] Checking we can resolve name 'www.google.com' to address...
    
    2019-12-01 14:52:24,121 DEBG 'start-script' stdout output:
    [info] DNS operational, we can resolve name 'www.google.com' to address '172.217.21.164'
    
    2019-12-01 14:52:24,123 DEBG 'start-script' stdout output:
    [info] Attempting to get external IP using Name Server 'ns1.google.com'...
    
    2019-12-01 14:52:24,226 DEBG 'start-script' stdout output:
    [info] Successfully retrieved external IP address 217.64.148.106
    
    2019-12-01 14:52:24,313 DEBG 'watchdog-script' stdout output:
    [debug] Waiting for iptables chain policies to be in place...
    
    2019-12-01 14:52:24,330 DEBG 'watchdog-script' stdout output:
    [debug] iptables chain policies are in place
    [info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.128.0.135 different, marking for reconfigure
    
    2019-12-01 14:52:24,336 DEBG 'watchdog-script' stdout output:
    [info] Deluge not running
    
    2019-12-01 14:52:24,343 DEBG 'watchdog-script' stdout output:
    [info] Deluge Web UI not running
    
    2019-12-01 14:52:24,349 DEBG 'watchdog-script' stdout output:
    [info] Privoxy not running
    [info] Attempting to start Deluge...
    [info] Removing deluge pid file (if it exists)...
    
    2019-12-01 14:52:25,120 DEBG 'watchdog-script' stdout output:
    [info] Deluge key 'listen_interface' currently has a value of '10.128.2.105'
    [info] Deluge key 'listen_interface' will have a new value '10.128.0.135'
    [info] Writing changes to Deluge config file '/config/core.conf'...
    
    2019-12-01 14:52:25,605 DEBG 'watchdog-script' stdout output:
    [info] Deluge key 'outgoing_interface' currently has a value of 'tun0'
    [info] Deluge key 'outgoing_interface' will have a new value 'tun0'
    [info] Writing changes to Deluge config file '/config/core.conf'...
    
    2019-12-01 14:52:26,055 DEBG 'watchdog-script' stdout output:
    [info] Deluge key 'default_daemon' currently has a value of '0538c6d26e764f21a3badb14f1b44717'
    [info] Deluge key 'default_daemon' will have a new value '0538c6d26e764f21a3badb14f1b44717'
    [info] Writing changes to Deluge config file '/config/web.conf'...
    
    2019-12-01 14:52:26,817 DEBG 'watchdog-script' stdout output:
    [info] Deluge process started
    [info] Waiting for Deluge process to start listening on port 58846...
    
    2019-12-01 14:52:27,264 DEBG 'watchdog-script' stdout output:
    [info] Deluge process listening on port 58846
    
    2019-12-01 14:52:27,956 DEBG 'watchdog-script' stderr output:
    Unable to initialize gettext/locale!
    
    2019-12-01 14:52:27,958 DEBG 'watchdog-script' stderr output:
    'ngettext'
    Traceback (most recent call last):
      File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
        builtins.__dict__['_n'] = builtins.__dict__['ngettext']
    KeyError: 'ngettext'
    
    2019-12-01 14:52:34,866 DEBG 'watchdog-script' stdout output:
    [info] No torrents with state 'Error' found
    
    2019-12-01 14:52:34,866 DEBG 'watchdog-script' stdout output:
    [info] Starting Deluge Web UI...
    
    2019-12-01 14:52:34,867 DEBG 'watchdog-script' stdout output:
    [info] Deluge Web UI started
    
    2019-12-01 14:52:34,899 DEBG 'watchdog-script' stdout output:
    [info] Attempting to start Privoxy...
    
    2019-12-01 14:52:35,563 DEBG 'watchdog-script' stderr output:
    Unable to initialize gettext/locale!
    
    2019-12-01 14:52:35,564 DEBG 'watchdog-script' stderr output:
    'ngettext'
    Traceback (most recent call last):
      File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
        builtins.__dict__['_n'] = builtins.__dict__['ngettext']
    KeyError: 'ngettext'
    
    2019-12-01 14:52:35,907 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process started
    [info] Waiting for Privoxy process to start listening on port 8118...
    
    2019-12-01 14:52:35,918 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process listening on port 8118
    
    2019-12-01 14:52:35,918 DEBG 'watchdog-script' stdout output:
    [debug] VPN IP is 10.128.0.135
    [debug] Deluge IP is 10.128.0.135
    
    2019-12-01 14:53:05,933 DEBG 'watchdog-script' stdout output:
    [debug] Waiting for iptables chain policies to be in place...
    
    2019-12-01 14:53:05,958 DEBG 'watchdog-script' stdout output:
    [debug] iptables chain policies are in place
    
    2019-12-01 14:53:05,986 DEBG 'watchdog-script' stdout output:
    [debug] VPN IP is 10.128.0.135
    [debug] Deluge IP is 10.128.0.135
    
    2019-12-01 14:53:35,995 DEBG 'watchdog-script' stdout output:
    [debug] Waiting for iptables chain policies to be in place...
    
    2019-12-01 14:53:36,010 DEBG 'watchdog-script' stdout output:
    [debug] iptables chain policies are in place
    
    2019-12-01 14:53:36,030 DEBG 'watchdog-script' stdout output:
    [debug] VPN IP is 10.128.0.135
    [debug] Deluge IP is 10.128.0.135
    
    


    EDIT: Now the container has been running for about an hour and suddenly the webui is working? What could be causing this?

     

  3. 6 hours ago, binhex said:

    looks like issues connecting to that particular vpn server, try another one, got plenty to choose from, that hostname resolves to a lot of ip addresses:-

     

    I've been trying loads of stuff now with my router and randomly it actually started. I got into deluge webui and did a test to see if it was using VPN and it was. Even managed to DL a file (couldn't find it afterwards strangely but that's another issues). I then tried to change NAME_SERVERS to google and add my VPN address to 'remote' in .ovpn file to check if that worked. After this it stopped working again so I changed back to the EXACT same settings I had when it worked - and it no longer works... This is so really frustrating. I don't know if the log for when it worked is helpful but here it is anyway:

     

    EDIT: I believe I have found the problem so log removed! Disabling synologys own firewall and everything boots up fine! Even changing back to "remote pool-1.prd.se.sthlm.ovpn.com 1194". I can't believe I didn't even think about that firewall and how it could cause issues. Now I just need to figure out why the DL are not showing up and how to set up the synology firewall to allow for the container to run.

    Thanks so much for your time and for making this container! Cheers

  4. 14 minutes ago, binhex said:

    looks like issues connecting to that particular vpn server, try another one, got plenty to choose from, that hostname resolves to a lot of ip addresses:-

     

    I've tried like 6 of them now and same results. This last one xx.60 is the one I am connected to at the moment on my own computer and it works fine there.

     

    2019-11-27 18:58:11.822665 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-11-27 18:58:11.890497 [info] PUID defined as '0'
    2019-11-27 18:58:11.953214 [info] PGID defined as '0'
    2019-11-27 18:58:12.115461 [info] UMASK defined as '100'
    2019-11-27 18:58:12.177349 [info] Permissions already set for volume mappings
    2019-11-27 18:58:12.247150 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-11-27 18:58:12.308337 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-11-27 18:58:12.370920 [info] VPN_ENABLED defined as 'yes'
    2019-11-27 18:58:12.440428 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-11-27 18:58:12.544103 [info] VPN remote line defined as 'remote 217.64.148.60 1194'
    2019-11-27 18:58:12.605992 [info] VPN_REMOTE defined as '217.64.148.60'
    2019-11-27 18:58:12.677256 [info] VPN_PORT defined as '1194'
    2019-11-27 18:58:12.744387 [info] VPN_PROTOCOL defined as 'udp'
    2019-11-27 18:58:12.808549 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-11-27 18:58:12.870370 [info] VPN_PROV defined as 'custom'
    2019-11-27 18:58:12.931991 [info] LAN_NETWORK defined as '192.168.0.0/24'
    2019-11-27 18:58:12.996262 [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-11-27 18:58:13.062377 [info] VPN_USER defined as 'secret'
    2019-11-27 18:58:13.132987 [info] VPN_PASS defined as 'secret'
    2019-11-27 18:58:13.198694 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-11-27 18:58:13.261557 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-11-27 18:58:13.395210 [info] Starting Supervisor...
    2019-11-27 18:58:13,912 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-11-27 18:58:13,913 INFO Set uid to user 0 succeeded
    2019-11-27 18:58:13,920 INFO supervisord started with pid 6
    2019-11-27 18:58:14,923 INFO spawned: 'start-script' with pid 150
    2019-11-27 18:58:14,926 INFO spawned: 'watchdog-script' with pid 151
    2019-11-27 18:58:14,927 INFO reaped unknown pid 7
    2019-11-27 18:58:14,940 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=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
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=6
    PS4='+ '
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    TZ=Europe/Stockholm
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    
    2019-11-27 18:58:14,942 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 18:58:14,943 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 18:58:14,943 DEBG 'start-script' stdout output:
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    VPN_PASS=secret
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    VPN_REMOTE=217.64.148.60
    VPN_USER=secret
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-11-27 18:58:14,947 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Nov 27 18:58 .
    drwxrwxr-x 1 1026  100  118 Nov 27 17:44 ..
    -rwxrwxr-x 1 root root   30 Nov 27 18:51 credentials.conf
    -rwxrwxr-x 1 root root 2539 Nov 27 18:58 se.stockholm.ovpn.com.ovpn
    
    2019-11-27 18:58:15,096 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-11-27 18:58:15,097 DEBG 'start-script' stdout output:
    remote 217.64.148.60 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    comp-lzo
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    2019-11-27 18:58:15,117 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-11-27 18:58:15,124 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.222 to /etc/resolv.conf
    
    2019-11-27 18:58:15,130 DEBG 'start-script' stdout output:
    [info] Adding 84.200.69.80 to /etc/resolv.conf
    
    2019-11-27 18:58:15,136 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.174 to /etc/resolv.conf
    
    2019-11-27 18:58:15,142 DEBG 'start-script' stdout output:
    [info] Adding 1.1.1.1 to /etc/resolv.conf
    
    2019-11-27 18:58:15,148 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.218 to /etc/resolv.conf
    
    2019-11-27 18:58:15,155 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.177 to /etc/resolv.conf
    
    2019-11-27 18:58:15,165 DEBG 'start-script' stdout output:
    [info] Adding 84.200.70.40 to /etc/resolv.conf
    
    2019-11-27 18:58:15,172 DEBG 'start-script' stdout output:
    [info] Adding 1.0.0.1 to /etc/resolv.conf
    
    2019-11-27 18:58:15,178 DEBG 'start-script' stdout output:
    217.64.148.60
    
    2019-11-27 18:58:15,212 DEBG 'start-script' stdout output:
    [debug] Show name servers defined for container
    
    2019-11-27 18:58:15,214 DEBG 'start-script' stdout output:
    nameserver 209.222.18.222
    nameserver 84.200.69.80
    nameserver 37.235.1.174
    nameserver 1.1.1.1
    nameserver 209.222.18.218
    nameserver 37.235.1.177
    nameserver 84.200.70.40
    nameserver 1.0.0.1
    
    2019-11-27 18:58:15,215 DEBG 'start-script' stdout output:
    [debug] Show name resolution for VPN endpoint 217.64.148.60
    
    2019-11-27 19:00:15,321 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 19:00:15,323 DEBG 'start-script' stdout output:
    [debug] Show contents of hosts file
    
    2019-11-27 19:00:15,324 DEBG 'start-script' stdout output:
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    ff00::0	ip6-mcastprefix
    ff02::1	ip6-allnodes
    ff02::2	ip6-allrouters
    172.17.0.2	DelugeVPN
    
    2019-11-27 19:00:15,394 DEBG 'start-script' stdout output:
    [debug] Docker interface defined as eth0
    
    2019-11-27 19:00:15,409 DEBG 'start-script' stdout output:
    [debug] Docker IP defined as 172.17.0.2
    
    2019-11-27 19:00:15,415 DEBG 'start-script' stdout output:
    [debug] Docker netmask defined as 255.255.0.0
    
    2019-11-27 19:00:15,448 DEBG 'start-script' stdout output:
    [info] Docker network defined as    172.17.0.0/16
    
    2019-11-27 19:00:15,454 DEBG 'start-script' stdout output:
    [info] Adding 192.168.0.0/24 as route via docker eth0
    
    2019-11-27 19:00:15,462 DEBG 'start-script' stdout output:
    [info] ip route defined as follows...
    --------------------
    
    2019-11-27 19:00:15,464 DEBG 'start-script' stdout output:
    default via 172.17.0.1 dev eth0 
    172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 
    192.168.0.0/24 via 172.17.0.1 dev eth0 
    
    2019-11-27 19:00:15,464 DEBG 'start-script' stdout output:
    --------------------
    
    2019-11-27 19:00:15,465 DEBG 'start-script' stdout output:
    [debug] Modules currently loaded for kernel
    
    2019-11-27 19:00:15,481 DEBG 'start-script' stdout output:
    Module                  Size  Used by
    xt_ipvs                 2202  0
    ip_vs_rr                1447  0
    ip_vs                 127371  3 ip_vs_rr,xt_ipvs
    xt_mark                 1317  0
    br_netfilter           13589  0
    bridge                 55340  1 br_netfilter
    stp                     1693  1 bridge
    aufs                  194415  0
    macvlan                13776  0
    veth                    5094  0
    xt_conntrack            3401  4
    xt_addrtype             2893  1
    ipt_MASQUERADE          1213  6
    xt_REDIRECT             1486  0
    nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
    xt_nat                  1977  5
    iptable_nat             1959  1
    nf_nat_ipv4             4903  1 iptable_nat
    nf_nat_redirect         1395  1 xt_REDIRECT
    nf_nat                 10925  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
    iptable_mangle          1656  0
    tun                    19295  0
    cifs                  371998  0
    udf                    80226  0
    isofs                  31403  0
    loop                   19749  0
    tcm_loop               12940  1
    iscsi_target_mod      235126  1
    target_core_ep         46505  2
    target_core_multi_file    26446  1
    target_core_file       39992  1
    target_core_iblock     19769  1
    target_core_mod       926774  18 target_core_iblock,target_core_multi_file,iscsi_target_mod,target_core_ep,target_core_file,tcm_loop
    syno_extent_pool     1295768  0
    rodsp_ep               77187  3 target_core_multi_file,syno_extent_pool,target_core_file
    syno_hddmon             1880  0
    hid_generic             1321  0
    usbhid                 25951  0
    hid                    94408  2 hid_generic,usbhid
    usblp                  10618  0
    usb_storage            49426  0
    uhci_hcd               22683  0
    ehci_pci                3935  0
    ehci_hcd               42414  1 ehci_pci
    xt_mac                  1155  0
    xt_geoip                3214  4
    compat_xtables           955  0
    nf_conntrack_ipv6       6563  2
    nf_defrag_ipv6         23062  1 nf_conntrack_ipv6
    ip6table_filter         1532  1
    ip6_tables             14730  1 ip6table_filter
    xt_recent               8550  0
    xt_iprange              1648  4
    xt_limit                1985  5
    xt_state                1367  0
    xt_tcpudp               2543  23
    xt_multiport            1830  16
    xt_LOG                  1423  0
    nf_conntrack_ipv4      11616  3
    nf_defrag_ipv4          1475  1 nf_conntrack_ipv4
    nf_conntrack           62480  8 ip_vs,nf_nat,xt_state,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
    iptable_filter          1592  1
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    apollolake_synobios    60352  0
    leds_lp3943             4500  0
    exfat                 117655  0
    btrfs                 945774  1
    i915                 1150643  0
    drm_kms_helper        105637  1 i915
    syscopyarea             3262  1 drm_kms_helper
    sysfillrect             3754  1 drm_kms_helper
    sysimgblt               2239  1 drm_kms_helper
    fb_sys_fops             1314  1 drm_kms_helper
    cfbfillrect             3818  1 drm_kms_helper
    cfbcopyarea             3326  1 drm_kms_helper
    cfbimgblt               2303  1 drm_kms_helper
    drm                   269120  3 i915,drm_kms_helper
    fb                     34811  2 i915,drm_kms_helper
    fbdev                    966  1 fb
    intel_agp              10712  0
    intel_gtt              12326  2 i915,intel_agp
    agpgart                25941  3 drm,intel_agp,intel_gtt
    video                  25321  1 i915
    backlight               6096  2 i915,video
    button                  4756  1 i915
    synoacl_vfs            15727  1
    hfsplus                92438  0
    md4                     4337  0
    hmac                    2961  0
    r8168                 522782  0
    igb                   173319  0
    i2c_algo_bit            5328  1 i915
    e1000e                168269  0
    vxlan                  32753  0
    ip6_udp_tunnel          1903  1 vxlan
    udp_tu
    2019-11-27 19:00:15,484 DEBG 'start-script' stdout output:
    nnel              2355  1 vxlan
    fuse                   85227  0
    vfat                   10351  0
    fat                    53340  1 vfat
    crc32c_intel           12849  1
    aesni_intel           157811  0
    glue_helper             3893  1 aesni_intel
    lrw                     3541  1 aesni_intel
    gf128mul                5546  1 lrw
    ablk_helper             1948  1 aesni_intel
    arc4                    2040  0
    cryptd                  7882  2 aesni_intel,ablk_helper
    ecryptfs               78536  1 btrfs
    sha256_generic         11993  0
    ecb                     2113  0
    aes_x86_64              7503  1 aesni_intel
    authenc                 4076  0
    des_generic            16861  0
    ansi_cprng              3940  0
    cts                     4136  0
    md5                     2833  0
    cbc                     2712  0
    cpufreq_powersave       1126  0
    cpufreq_performance     1130  2
    acpi_cpufreq            6495  0
    processor              23262  1 acpi_cpufreq
    cpufreq_stats           2742  0
    dm_snapshot            28359  0
    dm_bufio               14214  1 dm_snapshot
    crc_itu_t               1467  1 udf
    crc_ccitt               1467  0
    quota_v2                4047  0
    quota_tree              7850  1 quota_v2
    psnap                   1917  0
    p8022                   1179  0
    llc                     3569  4 stp,p8022,psnap,bridge
    sit                    15812  0
    tunnel4                 2261  1 sit
    ip_tunnel              13200  1 sit
    ipv6                  336006  90 sit,ip_vs,nf_defrag_ipv6,nf_conntrack_ipv6
    zram                   19042  2
    sg                     26393  0
    etxhci_hcd             86266  0
    xhci_pci                4650  0
    xhci_hcd              104955  1 xhci_pci
    usbcore               198115  9 etxhci_hcd,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
    usb_common              2222  1 usbcore
    
    2019-11-27 19:00:15,496 DEBG 'start-script' stdout output:
    iptable_mangle          1656  0
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    
    2019-11-27 19:00:15,497 DEBG 'start-script' stdout output:
    [info] iptable_mangle support detected, adding fwmark for tables
    
    2019-11-27 19:00:15,616 DEBG 'start-script' stdout output:
    [info] iptables defined as follows...
    --------------------
    -P INPUT DROP
    -P FORWARD DROP
    -P OUTPUT DROP
    -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
    -A INPUT -s 192.168.0.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 INPUT -i tun0 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 192.168.0.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-11-27 19:00:15,622 DEBG 'start-script' stdout output:
    --------------------
    
    2019-11-27 19:00:15,634 DEBG 'start-script' stdout output:
    [debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE '217.64.148.60' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/se.stockholm.ovpn.com.ovpn'
    [info] Starting OpenVPN...
    
    2019-11-27 19:00:15,735 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 19:00:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 19:00:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    
    2019-11-27 19:00:15,736 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 19:00:15,737 DEBG 'start-script' stdout output:
    [info] OpenVPN started
    
    2019-11-27 19:00:15,740 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 19:00:15,740 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 19:00:15,741 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
    
    2019-11-27 19:00:15,742 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    
    2019-11-27 19:00:15,743 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 UDP link local: (not bound)
    
    2019-11-27 19:00:15,743 DEBG 'start-script' stdout output:
    Wed Nov 27 19:00:15 2019 UDP link remote: [AF_INET]217.64.148.60:1194
    
    2019-11-27 19:01:15,430 DEBG 'start-script' stdout output:
    Wed Nov 27 19:01:15 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Wed Nov 27 19:01:15 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 19:01:15 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 19:01:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 19:01:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 19:01:15 2019 Restart pause, 5 second(s)
    
    2019-11-27 19:01:20,430 DEBG 'start-script' stdout output:
    Wed Nov 27 19:01:20 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 19:01:20,432 DEBG 'start-script' stdout output:
    Wed Nov 27 19:01:20 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:01:20 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:01:20 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
    Wed Nov 27 19:01:20 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 19:01:20 2019 UDP link local: (not bound)
    Wed Nov 27 19:01:20 2019 UDP link remote: [AF_INET]217.64.148.60:1194
    
    2019-11-27 19:02:20,266 DEBG 'start-script' stdout output:
    Wed Nov 27 19:02:20 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Wed Nov 27 19:02:20 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 19:02:20 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 19:02:20 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 19:02:20 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 19:02:20 2019 Restart pause, 5 second(s)
    
    2019-11-27 19:02:25,266 DEBG 'start-script' stdout output:
    Wed Nov 27 19:02:25 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 19:02:25,267 DEBG 'start-script' stdout output:
    Wed Nov 27 19:02:25 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:02:25 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 19:02:25,268 DEBG 'start-script' stdout output:
    Wed Nov 27 19:02:25 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
    Wed Nov 27 19:02:25 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 19:02:25 2019 UDP link local: (not bound)
    Wed Nov 27 19:02:25 2019 UDP link remote: [AF_INET]217.64.148.60:1194
    
    2019-11-27 19:03:25,506 DEBG 'start-script' stdout output:
    Wed Nov 27 19:03:25 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Wed Nov 27 19:03:25 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 19:03:25 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 19:03:25 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 19:03:25 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 19:03:25 2019 Restart pause, 5 second(s)
    
    2019-11-27 19:03:30,507 DEBG 'start-script' stdout output:
    Wed Nov 27 19:03:30 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 19:03:30,508 DEBG 'start-script' stdout output:
    Wed Nov 27 19:03:30 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:03:30 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 19:03:30,510 DEBG 'start-script' stdout output:
    Wed Nov 27 19:03:30 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
    Wed Nov 27 19:03:30 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 19:03:30 2019 UDP link local: (not bound)
    Wed Nov 27 19:03:30 2019 UDP link remote: [AF_INET]217.64.148.60:1194
    
    2019-11-27 19:04:31,011 DEBG 'start-script' stdout output:
    Wed Nov 27 19:04:31 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    Wed Nov 27 19:04:31 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 19:04:31 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 19:04:31 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 19:04:31 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 19:04:31 2019 Restart pause, 5 second(s)
    
    2019-11-27 19:04:36,012 DEBG 'start-script' stdout output:
    Wed Nov 27 19:04:36 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 19:04:36,013 DEBG 'start-script' stdout output:
    Wed Nov 27 19:04:36 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:04:36 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 19:04:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
    Wed Nov 27 19:04:36 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    
    2019-11-27 19:04:36,030 DEBG 'start-script' stdout output:
    Wed Nov 27 19:04:36 2019 UDP link local: (not bound)
    Wed Nov 27 19:04:36 2019 UDP link remote: [AF_INET]217.64.148.60:1194
    

     

  5. 12 minutes ago, binhex said:

    open the file /config/openvpn/<name of your file with a ovpn extension> with something like notepad++ or atom or vscode, look for the line 'remote pool-1.prd.se.sthlm.ovpn.com 1194' and change it to 'remote 217.64.148.59 1194' save the file and restart container

    Making progress! Not giving the same error now. But stuck with something else:

     

    2019-11-27 18:19:10.049620 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-11-27 18:19:10.280631 [info] PUID defined as '0'
    2019-11-27 18:19:10.422884 [info] PGID defined as '0'
    2019-11-27 18:19:10.728083 [info] UMASK defined as '100'
    2019-11-27 18:19:10.789888 [info] Permissions already set for volume mappings
    2019-11-27 18:19:10.865787 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-11-27 18:19:10.926473 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-11-27 18:19:10.988706 [info] VPN_ENABLED defined as 'yes'
    2019-11-27 18:19:11.118729 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-11-27 18:19:11.232065 [info] VPN remote line defined as 'remote 217.64.148.59 1194'
    2019-11-27 18:19:11.293003 [info] VPN_REMOTE defined as '217.64.148.59'
    2019-11-27 18:19:11.359355 [info] VPN_PORT defined as '1194'
    2019-11-27 18:19:11.475388 [info] VPN_PROTOCOL defined as 'udp'
    2019-11-27 18:19:11.558652 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-11-27 18:19:11.622794 [info] VPN_PROV defined as 'custom'
    2019-11-27 18:19:11.684959 [info] LAN_NETWORK defined as '192.168.0.0/24'
    2019-11-27 18:19:11.745042 [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-11-27 18:19:11.813093 [info] VPN_USER defined as 'SECRET'
    2019-11-27 18:19:11.875613 [info] VPN_PASS defined as 'SECRET'
    2019-11-27 18:19:11.936835 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-11-27 18:19:11.998902 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-11-27 18:19:12.060264 [info] Starting Supervisor...
    2019-11-27 18:19:12,762 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-11-27 18:19:12,763 INFO Set uid to user 0 succeeded
    2019-11-27 18:19:12,769 INFO supervisord started with pid 7
    2019-11-27 18:19:13,773 INFO spawned: 'start-script' with pid 151
    2019-11-27 18:19:13,775 INFO spawned: 'watchdog-script' with pid 152
    2019-11-27 18:19:13,776 INFO reaped unknown pid 8
    2019-11-27 18:19:13,789 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=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
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=7
    PS4='+ '
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    
    2019-11-27 18:19:13,790 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 18:19:13,790 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 18:19:13,790 DEBG 'start-script' stdout output:
    TZ=Europe/Stockholm
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    VPN_PASS=SECRET
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    VPN_REMOTE=217.64.148.59
    VPN_USER=SECRET
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-11-27 18:19:13,834 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Nov 27 18:19 .
    drwxrwxr-x 1 1026  100  118 Nov 27 17:44 ..
    -rwxrwxr-x 1 root root   30 Nov 27 17:44 credentials.conf
    -rwxrwxr-x 1 root root 2539 Nov 27 18:19 se.stockholm.ovpn.com.ovpn
    
    2019-11-27 18:19:13,966 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-11-27 18:19:13,968 DEBG 'start-script' stdout output:
    remote 217.64.148.59 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    comp-lzo
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    2019-11-27 18:19:14,026 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-11-27 18:19:14,032 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.222 to /etc/resolv.conf
    
    2019-11-27 18:19:14,039 DEBG 'start-script' stdout output:
    [info] Adding 84.200.69.80 to /etc/resolv.conf
    
    2019-11-27 18:19:14,046 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.174 to /etc/resolv.conf
    
    2019-11-27 18:19:14,051 DEBG 'start-script' stdout output:
    [info] Adding 1.1.1.1 to /etc/resolv.conf
    
    2019-11-27 18:19:14,058 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.218 to /etc/resolv.conf
    
    2019-11-27 18:19:14,064 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.177 to /etc/resolv.conf
    
    2019-11-27 18:19:14,070 DEBG 'start-script' stdout output:
    [info] Adding 84.200.70.40 to /etc/resolv.conf
    
    2019-11-27 18:19:14,076 DEBG 'start-script' stdout output:
    [info] Adding 1.0.0.1 to /etc/resolv.conf
    
    2019-11-27 18:19:14,081 DEBG 'start-script' stdout output:
    217.64.148.59
    
    2019-11-27 18:19:14,155 DEBG 'start-script' stdout output:
    [debug] Show name servers defined for container
    
    2019-11-27 18:19:14,157 DEBG 'start-script' stdout output:
    nameserver 209.222.18.222
    nameserver 84.200.69.80
    nameserver 37.235.1.174
    nameserver 1.1.1.1
    nameserver 209.222.18.218
    nameserver 37.235.1.177
    nameserver 84.200.70.40
    nameserver 1.0.0.1
    
    2019-11-27 18:19:14,159 DEBG 'start-script' stdout output:
    [debug] Show name resolution for VPN endpoint 217.64.148.59
    
    2019-11-27 18:21:14,279 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 18:21:14,281 DEBG 'start-script' stdout output:
    [debug] Show contents of hosts file
    
    2019-11-27 18:21:14,282 DEBG 'start-script' stdout output:
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    ff00::0	ip6-mcastprefix
    ff02::1	ip6-allnodes
    ff02::2	ip6-allrouters
    172.17.0.2	DelugeVPN
    
    2019-11-27 18:21:14,371 DEBG 'start-script' stdout output:
    [debug] Docker interface defined as eth0
    
    2019-11-27 18:21:14,397 DEBG 'start-script' stdout output:
    [debug] Docker IP defined as 172.17.0.2
    
    2019-11-27 18:21:14,403 DEBG 'start-script' stdout output:
    [debug] Docker netmask defined as 255.255.0.0
    
    2019-11-27 18:21:14,444 DEBG 'start-script' stdout output:
    [info] Docker network defined as    172.17.0.0/16
    
    2019-11-27 18:21:14,452 DEBG 'start-script' stdout output:
    [info] Adding 192.168.0.0/24 as route via docker eth0
    
    2019-11-27 18:21:14,454 DEBG 'start-script' stdout output:
    [info] ip route defined as follows...
    --------------------
    
    2019-11-27 18:21:14,456 DEBG 'start-script' stdout output:
    default via 172.17.0.1 dev eth0 
    
    2019-11-27 18:21:14,457 DEBG 'start-script' stdout output:
    172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 
    
    2019-11-27 18:21:14,458 DEBG 'start-script' stdout output:
    192.168.0.0/24 via 172.17.0.1 dev eth0 
    
    2019-11-27 18:21:14,459 DEBG 'start-script' stdout output:
    --------------------
    
    2019-11-27 18:21:14,460 DEBG 'start-script' stdout output:
    [debug] Modules currently loaded for kernel
    
    2019-11-27 18:21:14,465 DEBG 'start-script' stdout output:
    Module                  Size  Used by
    xt_ipvs                 2202  0
    ip_vs_rr                1447  0
    ip_vs                 127371  3 ip_vs_rr,xt_ipvs
    xt_mark                 1317  0
    br_netfilter           13589  0
    bridge                 55340  1 br_netfilter
    stp                     1693  1 bridge
    aufs                  194415  0
    macvlan                13776  0
    veth                    5094  0
    xt_conntrack            3401  4
    xt_addrtype             2893  1
    ipt_MASQUERADE          1213  6
    xt_REDIRECT             1486  0
    nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
    xt_nat                  1977  5
    iptable_nat             1959  1
    nf_nat_ipv4             4903  1 iptable_nat
    nf_nat_redirect         1395  1 xt_REDIRECT
    nf_nat                 10925  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
    iptable_mangle          1656  0
    tun                    19295  0
    cifs                  371998  0
    udf                    80226  0
    isofs                  31403  0
    loop                   19749  0
    tcm_loop               12940  1
    iscsi_target_mod      235126  1
    target_core_ep         46505  2
    target_core_multi_file    26446  1
    target_core_file       39992  1
    target_core_iblock     19769  1
    target_core_mod       926774  18 target_core_iblock,target_core_multi_file,iscsi_target_mod,target_core_ep,target_core_file,tcm_loop
    syno_extent_pool     1295768  0
    rodsp_ep               77187  3 target_core_multi_file,syno_extent_pool,target_core_file
    syno_hddmon             1880  0
    hid_generic             1321  0
    usbhid                 25951  0
    hid                    94408  2 hid_generic,usbhid
    usblp                  10618  0
    usb_storage            49426  0
    uhci_hcd               22683  0
    ehci_pci                3935  0
    ehci_hcd               42414  1 ehci_pci
    xt_mac                  1155  0
    xt_geoip                3214  4
    compat_xtables           955  0
    nf_conntrack_ipv6       6563  2
    nf_defrag_ipv6         23062  1 nf_conntrack_ipv6
    ip6table_filter         1532  1
    ip6_tables             14730  1 ip6table_filter
    xt_recent               8550  0
    xt_iprange              1648  4
    xt_limit                1985  5
    xt_state                1367  0
    xt_tcpudp               2543  23
    xt_multiport            1830  16
    xt_LOG                  1423  0
    nf_conntrack_ipv4      11616  3
    nf_defrag_ipv4          1475  1 nf_conntrack_ipv4
    nf_conntrack           62480  8 ip_vs,nf_nat,xt_state,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
    iptable_filter          1592  1
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    apollolake_synobios    60352  0
    leds_lp3943             4500  0
    exfat                 117655  0
    btrfs                 945774  1
    i915                 1150643  0
    drm_kms_helper        105637  1 i915
    syscopyarea             3262  1 drm_kms_helper
    sysfillrect             3754  1 drm_kms_helper
    sysimgblt               2239  1 drm_kms_helper
    fb_sys_fops             1314  1 drm_kms_helper
    cfbfillrect             3818  1 drm_kms_helper
    cfbcopyarea             3326  1 drm_kms_helper
    cfbimgblt               2303  1 drm_kms_helper
    drm                   269120  3 i915,drm_kms_helper
    fb                     34811  2 i915,drm_kms_helper
    fbdev                    966  1 fb
    intel_agp              10712  0
    intel_gtt              12326  2 i915,intel_agp
    agpgart                25941  3 drm,intel_agp,intel_gtt
    video                  25321  1 i915
    backlight               6096  2 i915,video
    button                  4756  1 i915
    synoacl_vfs            15727  1
    hfsplus                92438  0
    md4                     4337  0
    hmac                    2961  0
    r8168                 522782  0
    igb                   173319  0
    i2c_algo_bit            5328  1 i915
    e1000e                168269  0
    vxlan                  32753  0
    ip6_udp_tunnel          1903  1 vxlan
    udp_tu
    2019-11-27 18:21:14,471 DEBG 'start-script' stdout output:
    nnel              2355  1 vxlan
    fuse                   85227  0
    vfat                   10351  0
    fat                    53340  1 vfat
    crc32c_intel           12849  1
    aesni_intel           157811  0
    glue_helper             3893  1 aesni_intel
    lrw                     3541  1 aesni_intel
    gf128mul                5546  1 lrw
    ablk_helper             1948  1 aesni_intel
    arc4                    2040  0
    cryptd                  7882  2 aesni_intel,ablk_helper
    ecryptfs               78536  1 btrfs
    sha256_generic         11993  0
    ecb                     2113  0
    aes_x86_64              7503  1 aesni_intel
    authenc                 4076  0
    des_generic            16861  0
    ansi_cprng              3940  0
    cts                     4136  0
    md5                     2833  0
    cbc                     2712  0
    cpufreq_powersave       1126  0
    cpufreq_performance     1130  2
    acpi_cpufreq            6495  0
    processor              23262  1 acpi_cpufreq
    cpufreq_stats           2742  0
    dm_snapshot            28359  0
    dm_bufio               14214  1 dm_snapshot
    crc_itu_t               1467  1 udf
    crc_ccitt               1467  0
    quota_v2                4047  0
    quota_tree              7850  1 quota_v2
    psnap                   1917  0
    p8022                   1179  0
    llc                     3569  4 stp,p8022,psnap,bridge
    sit                    15812  0
    tunnel4                 2261  1 sit
    ip_tunnel              13200  1 sit
    ipv6                  336006  90 sit,ip_vs,nf_defrag_ipv6,nf_conntrack_ipv6
    zram                   19042  2
    sg                     26393  0
    etxhci_hcd             86266  0
    xhci_pci                4650  0
    xhci_hcd              104955  1 xhci_pci
    usbcore               198115  9 etxhci_hcd,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
    usb_common              2222  1 usbcore
    
    2019-11-27 18:21:14,483 DEBG 'start-script' stdout output:
    iptable_mangle          1656  0
    ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
    x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
    
    2019-11-27 18:21:14,484 DEBG 'start-script' stdout output:
    [info] iptable_mangle support detected, adding fwmark for tables
    
    2019-11-27 18:21:14,705 DEBG 'start-script' stdout output:
    [info] iptables defined as follows...
    --------------------
    
    2019-11-27 18:21:14,734 DEBG 'start-script' stdout output:
    -P INPUT DROP
    -P FORWARD DROP
    -P OUTPUT DROP
    -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
    -A INPUT -s 192.168.0.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 INPUT -i tun0 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
    -A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
    -A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
    -A OUTPUT -s 172.17.0.0/16 -d 192.168.0.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-11-27 18:21:14,739 DEBG 'start-script' stdout output:
    --------------------
    
    2019-11-27 18:21:14,754 DEBG 'start-script' stdout output:
    [debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE '217.64.148.59' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/se.stockholm.ovpn.com.ovpn'
    [info] Starting OpenVPN...
    
    2019-11-27 18:21:15,044 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 18:21:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 18:21:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    
    2019-11-27 18:21:15,046 DEBG 'start-script' stdout output:
    [info] OpenVPN started
    
    2019-11-27 18:21:15,047 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 18:21:15,098 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 18:21:15,098 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2019-11-27 18:21:15,100 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
    
    2019-11-27 18:21:15,101 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    
    2019-11-27 18:21:15,101 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 UDP link local: (not bound)
    
    2019-11-27 18:21:15,102 DEBG 'start-script' stdout output:
    Wed Nov 27 18:21:15 2019 UDP link remote: [AF_INET]217.64.148.59:1194
    
    2019-11-27 18:22:16,151 DEBG 'start-script' stdout output:
    Wed Nov 27 18:22:16 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    
    2019-11-27 18:22:16,151 DEBG 'start-script' stdout output:
    Wed Nov 27 18:22:16 2019 SIGHUP[soft,ping-restart] received, process restarting
    
    2019-11-27 18:22:16,152 DEBG 'start-script' stdout output:
    Wed Nov 27 18:22:16 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 18:22:16 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 18:22:16 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 18:22:16 2019 Restart pause, 5 second(s)
    
    2019-11-27 18:22:21,153 DEBG 'start-script' stdout output:
    Wed Nov 27 18:22:21 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 18:22:21,176 DEBG 'start-script' stdout output:
    Wed Nov 27 18:22:21 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:22:21 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:22:21 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
    Wed Nov 27 18:22:21 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 18:22:21 2019 UDP link local: (not bound)
    Wed Nov 27 18:22:21 2019 UDP link remote: [AF_INET]217.64.148.59:1194
    
    2019-11-27 18:23:21,796 DEBG 'start-script' stdout output:
    Wed Nov 27 18:23:21 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    
    2019-11-27 18:23:21,833 DEBG 'start-script' stdout output:
    Wed Nov 27 18:23:21 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 18:23:21 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 18:23:21 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 18:23:21 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 18:23:21 2019 Restart pause, 5 second(s)
    
    2019-11-27 18:23:26,824 DEBG 'start-script' stdout output:
    Wed Nov 27 18:23:26 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Wed Nov 27 18:23:26 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:23:26 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:23:26 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
    Wed Nov 27 18:23:26 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 18:23:26 2019 UDP link local: (not bound)
    Wed Nov 27 18:23:26 2019 UDP link remote: [AF_INET]217.64.148.59:1194
    
    2019-11-27 18:24:26,117 DEBG 'start-script' stdout output:
    Wed Nov 27 18:24:26 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
    
    2019-11-27 18:24:26,119 DEBG 'start-script' stdout output:
    Wed Nov 27 18:24:26 2019 SIGHUP[soft,ping-restart] received, process restarting
    Wed Nov 27 18:24:26 2019 WARNING: file 'credentials.conf' is group or others accessible
    Wed Nov 27 18:24:26 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
    Wed Nov 27 18:24:26 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
    Wed Nov 27 18:24:26 2019 Restart pause, 5 second(s)
    
    2019-11-27 18:24:31,118 DEBG 'start-script' stdout output:
    Wed Nov 27 18:24:31 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2019-11-27 18:24:31,119 DEBG 'start-script' stdout output:
    Wed Nov 27 18:24:31 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:24:31 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Wed Nov 27 18:24:31 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
    Wed Nov 27 18:24:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Nov 27 18:24:31 2019 UDP link local: (not bound)
    Wed Nov 27 18:24:31 2019 UDP link remote: [AF_INET]217.64.148.59:1194
    
    

     

  6. 2 minutes ago, binhex said:

    port 53 is the port used by dns resolvers, the problem you have is that the container cannot resolve the hostname for the vpn endpoint (as shown in the ovpn file) and thus cannot continue, you either need to figure out what is blocking dns and fix it or use a single ip address in the 'remote' line in the ovpn file (not ideal but will get it working).

    With the little amount of experience I have with this stuff it feels like I've tried everything that I could think of. Googling for hours yesterday didn't help either. What do you think would be the most probable cause? If it's the router I could see if I can put it in bridge mode and try with my ASUS etc. Maybe subscribe to another VPN service?

    Either way - how would I go about to do the none-ideal solution?

  7. 4 minutes ago, binhex said:

    see previous (edited) post.

    Didn't notice the Edit. I'm behind the same router I got from my ISP, which is quite shit, but I since they deliver internet here with Coaxial cable I can't switch to my ASUS router. I tried opening port 53 for my NAS (why port 53? I don't see this used anywhere) and it made no difference. Also tried to disable my firewall completely in the router and ye - same logs as before.

  8. 10 minutes ago, binhex said:

    im assuming that is the vpn providers namserver right?, does the vpn provider allow you to query it whilst NOT connected to the vpn?, my guess would be no, change this value to one or more of the following:-

    NAME_SERVERS=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

     

    Yes I tried using their DNS server I found on their website while trying to fix it myself. Before that I had googles - "8.8.8.8,8.8.4.4". I tried with the ones you just posted. Log looks similar except that it doesn't actually 'stop' retrying. Not yet anyway. Thanks for the fast help!

     

    2019-11-27 17:01:36.155399 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-11-27 17:01:36.262332 [info] PUID defined as '0'
    2019-11-27 17:01:36.352975 [info] PGID defined as '0'
    2019-11-27 17:01:36.732074 [info] UMASK defined as '100'
    2019-11-27 17:01:36.792377 [info] Permissions already set for volume mappings
    2019-11-27 17:01:36.881687 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-11-27 17:01:36.944244 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-11-27 17:01:37.005619 [info] VPN_ENABLED defined as 'yes'
    2019-11-27 17:01:37.136762 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-11-27 17:01:37.276566 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
    2019-11-27 17:01:37.355044 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
    2019-11-27 17:01:37.469662 [info] VPN_PORT defined as '1194'
    2019-11-27 17:01:37.549623 [info] VPN_PROTOCOL defined as 'udp'
    2019-11-27 17:01:37.616521 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-11-27 17:01:37.677244 [info] VPN_PROV defined as 'custom'
    2019-11-27 17:01:37.738673 [info] LAN_NETWORK defined as '192.168.0.0/24'
    2019-11-27 17:01:37.799382 [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-11-27 17:01:37.862095 [info] VPN_USER defined as 'SECRET'
    2019-11-27 17:01:37.924549 [info] VPN_PASS defined as 'SECRET'
    2019-11-27 17:01:37.984836 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-11-27 17:01:38.051292 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-11-27 17:01:38.114726 [info] Starting Supervisor...
    2019-11-27 17:01:38,820 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-11-27 17:01:38,821 INFO Set uid to user 0 succeeded
    2019-11-27 17:01:38,827 INFO supervisord started with pid 6
    2019-11-27 17:01:39,830 INFO spawned: 'start-script' with pid 150
    2019-11-27 17:01:39,834 INFO spawned: 'watchdog-script' with pid 151
    2019-11-27 17:01:39,835 INFO reaped unknown pid 7
    2019-11-27 17:01:39,846 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=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
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=6
    PS4='+ '
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    TZ=Europe/Stockholm
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    
    2019-11-27 17:01:39,847 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 17:01:39,848 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 17:01:39,848 DEBG 'start-script' stdout output:
    VPN_PASS=SECRET
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
    VPN_USER=SECRET
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-11-27 17:01:39,886 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Nov 27 17:01 .
    drwxrwxr-x 1 1026  100  118 Nov 27 17:01 ..
    -rwxrwxr-x 1 root root   30 Nov 27 16:40 credentials.conf
    -rwxrwxr-x 1 root root 2530 Nov 27 17:01 se.stockholm.ovpn.com.ovpn
    
    2019-11-27 17:01:39,957 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-11-27 17:01:39,959 DEBG 'start-script' stdout output:
    remote pool-1.prd.se.sthlm.ovpn.com 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    comp-lzo
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    2019-11-27 17:01:40,013 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-11-27 17:01:40,019 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.222 to /etc/resolv.conf
    
    2019-11-27 17:01:40,025 DEBG 'start-script' stdout output:
    [info] Adding 84.200.69.80 to /etc/resolv.conf
    
    2019-11-27 17:01:40,031 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.174 to /etc/resolv.conf
    
    2019-11-27 17:01:40,038 DEBG 'start-script' stdout output:
    [info] Adding 1.1.1.1 to /etc/resolv.conf
    
    2019-11-27 17:01:40,044 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.218 to /etc/resolv.conf
    
    2019-11-27 17:01:40,050 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.177 to /etc/resolv.conf
    
    2019-11-27 17:01:40,056 DEBG 'start-script' stdout output:
    [info] Adding 84.200.70.40 to /etc/resolv.conf
    
    2019-11-27 17:01:40,062 DEBG 'start-script' stdout output:
    [info] Adding 1.0.0.1 to /etc/resolv.conf
    
    2019-11-27 17:03:40,188 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 17:05:40,311 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 17:05:40,315 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 17:07:45,437 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 17:07:45,440 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 17:09:50,554 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 17:09:50,558 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    

     

  9. 44 minutes ago, binhex said:

    This is one issue, an invalid lan network value, taken from your logs:-

    
    LAN_NETWORK defined as '192.168.0/24'

    see here Q4 for how to define it if you are stuck:-

    https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

     

    Changing this to 192.168.0.0/24 makes no difference. If I understand it correctly now since my IPv4 addresses are all 192.168.0.XX and Subnet mask is 255.255.255.0. Thanks! New log:

     

    2019-11-27 16:40:21.315048 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-11-27 16:40:21.380696 [info] PUID defined as '0'
    2019-11-27 16:40:21.464022 [info] PGID defined as '0'
    2019-11-27 16:40:21.643903 [info] UMASK defined as '100'
    2019-11-27 16:40:21.705655 [info] Permissions already set for volume mappings
    2019-11-27 16:40:21.773105 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-11-27 16:40:21.833728 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-11-27 16:40:21.895611 [info] VPN_ENABLED defined as 'yes'
    2019-11-27 16:40:22.064113 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-11-27 16:40:22.177647 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
    2019-11-27 16:40:22.241778 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
    2019-11-27 16:40:22.307679 [info] VPN_PORT defined as '1194'
    2019-11-27 16:40:22.375549 [info] VPN_PROTOCOL defined as 'udp'
    2019-11-27 16:40:22.441044 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-11-27 16:40:22.501702 [info] VPN_PROV defined as 'custom'
    2019-11-27 16:40:22.561977 [info] LAN_NETWORK defined as '192.168.0.0/24'
    2019-11-27 16:40:22.622114 [info] NAME_SERVERS defined as '46.227.67.134'
    2019-11-27 16:40:22.682828 [info] VPN_USER defined as 'SECRET'
    2019-11-27 16:40:22.743576 [info] VPN_PASS defined as 'SECRET'
    2019-11-27 16:40:22.803791 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-11-27 16:40:22.864806 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-11-27 16:40:22.926478 [info] Starting Supervisor...
    2019-11-27 16:40:23,340 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-11-27 16:40:23,341 INFO Set uid to user 0 succeeded
    2019-11-27 16:40:23,348 INFO supervisord started with pid 6
    2019-11-27 16:40:24,351 INFO spawned: 'start-script' with pid 150
    2019-11-27 16:40:24,354 INFO spawned: 'watchdog-script' with pid 151
    2019-11-27 16:40:24,355 INFO reaped unknown pid 7
    2019-11-27 16:40:24,368 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=46.227.67.134
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=6
    PS4='+ '
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    TZ=Europe/Stockholm
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    VPN_PASS=SECRET
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    
    2019-11-27 16:40:24,368 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 16:40:24,368 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 16:40:24,368 DEBG 'start-script' stdout output:
    VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
    VPN_USER=SECRET
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-11-27 16:40:24,377 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Nov 27 16:40 .
    drwxrwxr-x 1 1026  100  118 Nov 27 16:40 ..
    -rwxrwxr-x 1 root root   31 Nov 27 16:38 credentials.conf
    -rwxrwxr-x 1 root root 2530 Nov 27 16:40 se.stockholm.ovpn.com.ovpn
    
    2019-11-27 16:40:24,448 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-11-27 16:40:24,450 DEBG 'start-script' stdout output:
    remote pool-1.prd.se.sthlm.ovpn.com 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    comp-lzo
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    2019-11-27 16:40:24,475 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-11-27 16:40:24,482 DEBG 'start-script' stdout output:
    [info] Adding 46.227.67.134 to /etc/resolv.conf
    
    2019-11-27 16:40:39,508 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:40:54,532 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:40:54,536 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:41:14,560 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:41:14,562 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:41:34,586 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:41:34,589 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:41:54,615 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:41:54,618 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:42:14,640 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:42:14,643 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:42:34,664 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:42:34,667 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:42:54,689 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:42:54,692 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:43:14,713 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:43:14,715 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:43:34,737 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:43:34,740 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:43:54,764 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:43:54,767 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:44:14,790 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 16:44:14,792 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 16:44:19,794 DEBG 'start-script' stdout output:
    [crit] 'pool-1.prd.se.sthlm.ovpn.com' cannot be resolved, possible DNS issues, exiting...
    
    2019-11-27 16:44:19,795 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140261422646224 for <Subprocess at 140261422648864 with name start-script in state RUNNING> (stdout)>
    2019-11-27 16:44:19,795 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140261422263360 for <Subprocess at 140261422648864 with name start-script in state RUNNING> (stderr)>
    2019-11-27 16:44:19,795 INFO exited: start-script (exit status 1; not expected)
    2019-11-27 16:44:19,796 DEBG received SIGCHLD indicating a child quit

     

  10. Hello

    I've tried for hours to get this to work but being quite new to the whole docker/synology stuff and never used linux I don't know what more I can do. I've tried loads of different settings for my VPN .ovpn file cause I believe that's where the problem is. I tried 'Protocol' UDP and TCP, I tried changing the 'Certificates' from Inline to Separate and I also tried both the options at 'resolvConf'. The options I have from my provider (OVPN) are these: https://imgur.com/a/CU9XMDc

     

    My log is as follows:
     

    2019-11-27 13:49:09.202497 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
    2019-11-27 13:49:09.265645 [info] PUID defined as '0'
    2019-11-27 13:49:09.334738 [info] PGID defined as '0'
    2019-11-27 13:49:09.515605 [info] UMASK defined as '100'
    2019-11-27 13:49:09.578085 [info] Permissions already set for volume mappings
    2019-11-27 13:49:09.646586 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
    2019-11-27 13:49:09.709641 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
    2019-11-27 13:49:09.773260 [info] VPN_ENABLED defined as 'yes'
    2019-11-27 13:49:09.841502 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
    2019-11-27 13:49:09.945712 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
    2019-11-27 13:49:10.012283 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
    2019-11-27 13:49:10.079379 [info] VPN_PORT defined as '1194'
    2019-11-27 13:49:10.146311 [info] VPN_PROTOCOL defined as 'udp'
    2019-11-27 13:49:10.210583 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2019-11-27 13:49:10.273515 [info] VPN_PROV defined as 'custom'
    2019-11-27 13:49:10.335925 [info] LAN_NETWORK defined as '192.168.0/24'
    2019-11-27 13:49:10.398254 [info] NAME_SERVERS defined as '46.227.67.134'
    2019-11-27 13:49:10.460032 [info] VPN_USER defined as 'SECRETSTUFF'
    2019-11-27 13:49:10.534833 [info] VPN_PASS defined as 'SECRETSTUFF'
    2019-11-27 13:49:10.614628 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2019-11-27 13:49:10.678826 [info] ENABLE_PRIVOXY defined as 'yes'
    2019-11-27 13:49:10.741624 [info] Starting Supervisor...
    2019-11-27 13:49:11,178 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2019-11-27 13:49:11,179 INFO Set uid to user 0 succeeded
    2019-11-27 13:49:11,186 INFO supervisord started with pid 6
    2019-11-27 13:49:12,189 INFO spawned: 'start-script' with pid 150
    2019-11-27 13:49:12,192 INFO spawned: 'watchdog-script' with pid 151
    2019-11-27 13:49:12,193 INFO reaped unknown pid 7
    2019-11-27 13:49:12,205 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    [debug] Environment variables defined as follows
    APPLICATION=deluge
    BASH=/bin/bash
    BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
    BASH_ALIASES=()
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_CMDS=()
    BASH_LINENO=([0]="0")
    BASH_SOURCE=([0]="/root/start.sh")
    BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
    BASH_VERSION='5.0.11(1)-release'
    DEBUG=true
    DELUGE_DAEMON_LOG_LEVEL=info
    DELUGE_WEB_LOG_LEVEL=info
    DIRSTACK=()
    ENABLE_PRIVOXY=yes
    EUID=0
    GROUPS=()
    HOME=/home/nobody
    HOSTNAME=DelugeVPN
    HOSTTYPE=x86_64
    IFS=$' \t\n'
    LANG=en_GB.UTF-8
    LAN_NETWORK=192.168.0/24
    MACHTYPE=x86_64-pc-linux-gnu
    NAME_SERVERS=46.227.67.134
    OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
    OPTERR=1
    OPTIND=1
    OSTYPE=linux-gnu
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PGID=0
    PIPESTATUS=([0]="0")
    PPID=6
    PS4='+ '
    
    2019-11-27 13:49:12,205 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 13:49:12,206 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2019-11-27 13:49:12,206 DEBG 'start-script' stdout output:
    PUID=0
    PWD=/
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:hashall:interactive-comments
    SHLVL=1
    STRICT_PORT_FORWARD=yes
    SUPERVISOR_ENABLED=1
    SUPERVISOR_GROUP_NAME=start-script
    SUPERVISOR_PROCESS_NAME=start-script
    TERM=xterm
    TZ=Europe/Stockholm
    UID=0
    UMASK=100
    VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
    VPN_DEVICE_TYPE=tun0
    VPN_ENABLED=yes
    VPN_OPTIONS=
    VPN_PASS=SECRETSTUFF
    VPN_PORT=1194
    VPN_PROTOCOL=udp
    VPN_PROV=custom
    VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
    VPN_USER=SECRETSTUFF
    _='[debug] Environment variables defined as follows'
    [debug] Directory listing of files in /config/openvpn as follows
    
    2019-11-27 13:49:12,213 DEBG 'start-script' stdout output:
    total 8
    drwxrwxr-x 1 root root   84 Nov 27 13:49 .
    drwxrwxr-x 1 1026  100  118 Nov 27 13:48 ..
    -rwxrwxr-x 1 root root   31 Nov 27 13:45 credentials.conf
    -rwxrwxr-x 1 root root 2530 Nov 27 13:49 se.stockholm.ovpn.com.ovpn
    
    2019-11-27 13:49:12,234 DEBG 'start-script' stdout output:
    [warn] Password contains characters which could cause authentication issues, please consider changing this if possible
    
    2019-11-27 13:49:12,286 DEBG 'start-script' stdout output:
    [debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...
    
    2019-11-27 13:49:12,286 DEBG 'start-script' stdout output:
    remote pool-1.prd.se.sthlm.ovpn.com 1194
    client
    dev tun
    remote-cert-tls server
    cipher aes-256-cbc
    pull
    nobind
    resolv-retry infinite
    verb 3
    persist-key
    remote-random
    proto udp
    mute-replay-warnings
    replay-window 256
    
    auth-user-pass credentials.conf
    
    comp-lzo
    
    key-direction 1
    <ca>
    -----BEGIN CERTIFICATE-----
    MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
    VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
    HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
    Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
    Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
    b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
    YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
    b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
    urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
    NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
    lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
    dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
    NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
    Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
    xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
    CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
    aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
    bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
    DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
    jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
    1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
    vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
    HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
    /cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
    WQ==
    -----END CERTIFICATE-----
    </ca>
    
    <tls-auth>
    -----BEGIN OpenVPN Static key V1-----
    81782767e4d59c4464cc5d1896f1cf60
    15017d53ac62e2e3b94b889e00b2c69d
    dc01944fe1c6d895b4d80540502eb719
    10b8d785c9efa9e3182343532adffe1c
    fbb7bb6eae39c502da2748edf0fb89b8
    a20b0a1085cc1f06135037881bc0c4ad
    8f2c0f4f72d2ab466fb54af3d8264c5f
    ddeb0f21aa0ca41863678f5fc4c44de4
    ca0926b36dfddc42c6f2fabd1694bdc8
    215b2d223b9c21dc6734c2c778093187
    afb8c33403b228b9af68b540c284f6d1
    83bcc88bd41d47bd717996e499ce1cbb
    fa768a9723c19c58314c4d19cfed82e5
    43ee92e73d38ad26d4fbec231c0f9f3b
    30773a5c87792e9bc7c34e8d7611002e
    bedd044e48a0f1f96527bfdcc940aa09
    -----END OpenVPN Static key V1-----
    </tls-auth>
    
    2019-11-27 13:49:12,309 DEBG 'start-script' stdout output:
    [info] Default route for container is 172.17.0.1
    
    2019-11-27 13:49:12,316 DEBG 'start-script' stdout output:
    [info] Adding 46.227.67.134 to /etc/resolv.conf
    
    2019-11-27 13:49:27,339 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:49:42,356 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:49:42,360 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 13:50:02,381 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:50:02,385 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 13:50:22,403 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:50:22,406 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 13:50:42,428 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:50:42,430 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    2019-11-27 13:51:02,453 DEBG 'start-script' stderr output:
    Error: error sending query: Could not send or receive, because of network error
    
    2019-11-27 13:51:02,456 DEBG 'start-script' stdout output:
    [debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...
    
    

    Error makes me Believe the VPN isn't working but I have it running on my personal computer and it's been working when I've been running the whole NAS behind it. I know it says 0 on PUID and PGID but thats because the container won't even start when I enter the values and I found people online saying using 0 is the only way they could get it to work. But ye, I don't think that is the issues here. Thanks!

×
×
  • Create New...