Zito

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Zito

  1. Hi

     

    Trying to install this to my QNAP NAS, but I get this error:

     

    2021-04-24 00:05:02,973 DEBG 'start-script' stdout output:                                                                                                   

    2021-04-24 00:05:02 sitnl_send: rtnl: generic error (-101): Network is unreachable                                                                           

    2021-04-24 00:05:02 ERROR: Linux route add command failed    

     

    How to fix?

     

    Here is my full install log:

     

    Spoiler

    Created by...
    ___.   .__       .__                   
    \_ |__ |__| ____ |  |__   ____ ___  ___
     | __ \|  |/    \|  |  \_/ __ \\  \/  /
     | \_\ \  |   |  \   Y  \  ___/ >    < 
     |___  /__|___|  /___|  /\___  >__/\_ \
         \/        \/     \/     \/      \/
      https://hub.docker.com/u/binhex/

    2021-04-24 00:04:52.833288 [info] System information Linux 950b871b8f2d 4.14.24-qnap #1 SMP Tue Apr 6 05:12:32 CST 2021 x86_64 GNU/Linux
    2021-04-24 00:04:52.875263 [info] OS_ARCH defined as 'x86-64'
    2021-04-24 00:04:52.919605 [info] PUID defined as '0'
    2021-04-24 00:04:52.968948 [info] PGID defined as '0'
    2021-04-24 00:04:53.359163 [info] UMASK defined as '000'
    2021-04-24 00:04:53.402682 [info] Permissions already set for volume mappings
    2021-04-24 00:04:53.452659 [info] Deleting files in /tmp (non recursive)...
    2021-04-24 00:04:53.538848 [info] VPN_ENABLED defined as 'yes'
    2021-04-24 00:04:53.585046 [info] VPN_CLIENT defined as 'openvpn'
    2021-04-24 00:04:53.634605 [info] VPN_PROV defined as 'custom'
    2021-04-24 00:04:53.686795 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AB-UDP.ovpn
    2021-04-24 00:04:53.794590 [info] VPN remote server(s) defined as 'AB-uk.dns2use.com,'
    2021-04-24 00:04:53.835573 [info] VPN remote port(s) defined as '53,'
    2021-04-24 00:04:53.874256 [info] VPN remote protcol(s) defined as 'udp,'
    2021-04-24 00:04:53.919935 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2021-04-24 00:04:53.970075 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2021-04-24 00:04:54.022451 [info] LAN_NETWORK defined as '192.168.1.0/24'
    2021-04-24 00:04:54.068088 [info] NAME_SERVERS defined as '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'
    2021-04-24 00:04:54.115081 [info] VPN_USER defined as <removed>
    2021-04-24 00:04:54.164756 [info] VPN_PASS defined as <removed>
    2021-04-24 00:04:54.208026 [info] ENABLE_PRIVOXY defined as 'yes'
    2021-04-24 00:04:54.259007 [info] VPN_INPUT_PORTS defined as '1234'
    2021-04-24 00:04:54.306304 [info] VPN_OUTPUT_PORTS defined as '5678'
    2021-04-24 00:04:54.351089 [info] WEBUI_PORT defined as '9091'
    2021-04-24 00:04:54.463138 [info] Starting Supervisor...
    2021-04-24 00:04:54,720 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
    2021-04-24 00:04:54,720 INFO Set uid to user 0 succeeded
    2021-04-24 00:04:54,723 INFO supervisord started with pid 7
    2021-04-24 00:04:55,726 INFO spawned: 'shutdown-script' with pid 168
    2021-04-24 00:04:55,728 INFO spawned: 'start-script' with pid 169
    2021-04-24 00:04:55,730 INFO spawned: 'watchdog-script' with pid 170
    2021-04-24 00:04:55,731 INFO reaped unknown pid 8 (exit status 0)
    2021-04-24 00:04:55,740 DEBG 'watchdog-script' stdout output:
    [info] qBittorrent config file already exists, skipping copy
    [info] Removing session lock file (if it exists)...

    2021-04-24 00:04:55,740 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2021-04-24 00:04:55,740 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2021-04-24 00:04:55,740 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2021-04-24 00:04:55,741 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN

    2021-04-24 00:04:55,786 DEBG 'start-script' stdout output:
    [warn] Username contains characters which could cause authentication issues, please consider changing this if possible

    2021-04-24 00:04:55,915 DEBG 'start-script' stdout output:
    [info] Adding 84.200.69.80 to /etc/resolv.conf

    2021-04-24 00:04:55,920 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.174 to /etc/resolv.conf

    2021-04-24 00:04:55,934 DEBG 'start-script' stdout output:
    [info] Adding 1.1.1.1 to /etc/resolv.conf

    2021-04-24 00:04:55,940 DEBG 'start-script' stdout output:
    [info] Adding 209.222.18.218 to /etc/resolv.conf

    2021-04-24 00:04:55,945 DEBG 'start-script' stdout output:
    [info] Adding 37.235.1.177 to /etc/resolv.conf

    2021-04-24 00:04:55,950 DEBG 'start-script' stdout output:
    [info] Adding 84.200.70.40 to /etc/resolv.conf

    2021-04-24 00:04:55,955 DEBG 'start-script' stdout output:
    [info] Adding 1.0.0.1 to /etc/resolv.conf

    2021-04-24 00:05:01,397 DEBG 'start-script' stdout output:
    [info] Attempting to load iptable_mangle module...

    2021-04-24 00:05:01,399 DEBG 'start-script' stderr output:
    modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.14.24-qnap

    2021-04-24 00:05:01,399 DEBG 'start-script' stdout output:
    [warn] Unable to load iptable_mangle module using modprobe, trying insmod...

    2021-04-24 00:05:01,401 DEBG 'start-script' stderr output:
    insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory

    2021-04-24 00:05:01,401 DEBG 'start-script' stdout output:
    [warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
    [info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
    [info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

    2021-04-24 00:05:01,413 DEBG 'start-script' stdout output:
    [info] Default route for container is 10.0.3.1

    2021-04-24 00:05:01,430 DEBG 'start-script' stdout output:
    [info] Docker network defined as    10.0.3.0/24

    2021-04-24 00:05:01,434 DEBG 'start-script' stdout output:
    [info] Adding 192.168.1.0/24 as route via docker eth0

    2021-04-24 00:05:01,436 DEBG 'start-script' stdout output:
    [info] ip route defined as follows...
    --------------------

    2021-04-24 00:05:01,437 DEBG 'start-script' stdout output:
    default via 10.0.3.1 dev eth0 
    10.0.3.0/24 dev eth0 proto kernel scope link src 10.0.3.2 
    192.168.1.0/24 via 10.0.3.1 dev eth0 
    broadcast 10.0.3.0 dev eth0 table local proto kernel scope link src 10.0.3.2 
    local 10.0.3.2 dev eth0 table local proto kernel scope host src 10.0.3.2 
    broadcast 10.0.3.255 dev eth0 table local proto kernel scope link src 10.0.3.2 

    2021-04-24 00:05:01,437 DEBG 'start-script' stdout output:
    broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1 
    local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1 
    local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1 
    broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1 
    --------------------

    2021-04-24 00:05:01,513 DEBG 'start-script' stdout output:
    [info] iptables defined as follows...
    --------------------

    2021-04-24 00:05:01,515 DEBG 'start-script' stdout output:
    -P INPUT DROP
    -P FORWARD DROP
    -P OUTPUT DROP
    -A INPUT -s 10.0.3.0/24 -d 10.0.3.0/24 -j ACCEPT
    -A INPUT -s 73.254.102.202/32 -i eth0 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --dport 9091 -j ACCEPT
    -A INPUT -i eth0 -p udp -m udp --dport 9091 -j ACCEPT
    -A INPUT -i eth0 -p tcp -m tcp --dport 1234 -j ACCEPT
    -A INPUT -i eth0 -p udp -m udp --dport 1234 -j ACCEPT
    -A INPUT -s 192.168.1.0/24 -d 10.0.3.0/24 -i eth0 -p tcp -m tcp --dport 8118 -j ACCEPT
    -A INPUT -s 192.168.1.0/24 -d 10.0.3.0/24 -i eth0 -p tcp -m tcp --sport 5678 -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 10.0.3.0/24 -d 10.0.3.0/24 -j ACCEPT
    -A OUTPUT -d 73.254.102.202/32 -o eth0 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 9091 -j ACCEPT
    -A OUTPUT -o eth0 -p udp -m udp --sport 9091 -j ACCEPT
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 1234 -j ACCEPT
    -A OUTPUT -o eth0 -p udp -m udp --sport 1234 -j ACCEPT
    -A OUTPUT -s 10.0.3.0/24 -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 8118 -j ACCEPT
    -A OUTPUT -s 10.0.3.0/24 -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --dport 5678 -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

    2021-04-24 00:05:01,516 DEBG 'start-script' stdout output:
    --------------------

    2021-04-24 00:05:01,517 DEBG 'start-script' stdout output:
    [info] Starting OpenVPN (non daemonised)...

    2021-04-24 00:05:01,526 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

    2021-04-24 00:05:01,526 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 WARNING: file 'credentials.conf' is group or others accessible
    2021-04-24 00:05:01 OpenVPN 2.5.1 [git:makepkg/f186691b32e68362+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 24 2021
    2021-04-24 00:05:01 library versions: OpenSSL 1.1.1k  25 Mar 2021, LZO 2.10

    2021-04-24 00:05:01,602 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

    2021-04-24 00:05:01,604 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 TCP/UDP: Preserving recently used remote address: [AF_INET]73.254.102.202:53
    2021-04-24 00:05:01 UDP link local: (not bound)
    2021-04-24 00:05:01 UDP link remote: [AF_INET]73.254.102.202:53

    2021-04-24 00:05:01,751 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1557', remote='link-mtu 1550'
    2021-04-24 00:05:01 WARNING: 'auth' is used inconsistently, local='auth SHA1', remote='auth [null-digest]'
    2021-04-24 00:05:01 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'

    2021-04-24 00:05:01,751 DEBG 'start-script' stdout output:
    2021-04-24 00:05:01 [Secure-Server] Peer Connection Initiated with [AF_INET]73.254.102.202:53

    2021-04-24 00:05:02,971 DEBG 'start-script' stdout output:
    2021-04-24 00:05:02 TUN/TAP device tun0 opened
    2021-04-24 00:05:02 /root/openvpnup.sh tun0 1500 1552   init

    2021-04-24 00:05:02,973 DEBG 'start-script' stdout output:
    2021-04-24 00:05:02 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2021-04-24 00:05:02 ERROR: Linux route add command failed
    2021-04-24 00:05:02 sitnl_send: rtnl: generic error (-101): Network is unreachable
    2021-04-24 00:05:02 ERROR: Linux route add command failed
    2021-04-24 00:05:02 Initialization Sequence Completed