Jump to content

Squishinator

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Squishinator

  1. I have... no luck.  Any other ideas?  

     

    Edit:  Scratch that.  The privileged tag worked after I started from scratch.  It's getting farther a long in the script, just not completing it.  Another problem to solve.  Thanks for the help regardless!

  2. Hey guys,

     

    Been dabbing my toes into running DelugeVPN on my QNAP.  Keep running into a problem with the iptables on the QNAP, which I guess isn't supported.  I attached my log to give the full picture.  Deluge runs great when I set VPN ENABLED to no.  Thanks in advance.  

     

    Quote
    
    2017-08-24 09:51:27.509801 [info] System information Linux 83e048b55025 4.2.8 #1 SMP Thu Jul 27 01:39:07 CST 2017 x86_64 GNU/Linux
    2017-08-24 09:51:27.555117 [info] PUID defined as '0'
    2017-08-24 09:51:29.484639 [info] PGID defined as '0'
    2017-08-24 09:51:29.885210 [info] UMASK defined as '000'
    2017-08-24 09:51:29.950655 [info] Permissions already set for volume mappings
    2017-08-24 09:51:29.995164 [info] VPN_ENABLED defined as 'yes'
    2017-08-24 09:51:30.038584 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Japan.ovpn
    dos2unix: converting file /config/openvpn/Japan.ovpn to Unix format...
    2017-08-24 09:51:30.077613 [info] VPN remote line defined as 'japan.privateinternetaccess.com 1198'
    2017-08-24 09:51:30.117674 [info] VPN_REMOTE defined as 'japan.privateinternetaccess.com'
    2017-08-24 09:51:30.158205 [info] VPN_PORT defined as '1198'
    2017-08-24 09:51:30.198848 [info] VPN_PROTOCOL defined as 'udp'
    2017-08-24 09:51:30.238963 [info] VPN_DEVICE_TYPE defined as 'tun'
    2017-08-24 09:51:30.279925 [info] VPN_PROV defined as 'pia'
    2017-08-24 09:51:30.318316 [info] LAN_NETWORK defined as '192.168.1.0/24'
    2017-08-24 09:51:30.358915 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
    2017-08-24 09:51:30.397559 [info] VPN_USER defined as 'user'
    2017-08-24 09:51:30.436155 [info] VPN_PASS defined as 'pass'
    2017-08-24 09:51:30.477393 [warn] VPN_INCOMING_PORT not defined (via -e VPN_INCOMING_PORT), downloads may be slow
    2017-08-24 09:51:30.518851 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    2017-08-24 09:51:30.555692 [info] STRICT_PORT_FORWARD defined as 'no'
    2017-08-24 09:51:30.597187 [info] ENABLE_PRIVOXY defined as 'no'
    2017-08-24 09:51:30.633566 [info] Setting permissions on files/folders inside container...
    2017-08-24 09:51:30.874485 [info] Starting Supervisor...
    2017-08-24 09:51:31,320 CRIT Set uid to user 0
    2017-08-24 09:51:31,320 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
    2017-08-24 09:51:31,324 INFO supervisord started with pid 7
    2017-08-24 09:51:32,326 INFO spawned: 'start-script' with pid 133
    2017-08-24 09:51:32,328 INFO spawned: 'deluge-script' with pid 134
    2017-08-24 09:51:32,329 INFO spawned: 'deluge-web-script' with pid 135
    2017-08-24 09:51:32,331 INFO spawned: 'privoxy-script' with pid 136
    2017-08-24 09:51:32,332 INFO reaped unknown pid 8
    2017-08-24 09:51:32,336 DEBG 'start-script' stdout output:
    [info] VPN is enabled, beginning configuration of VPN
    
    2017-08-24 09:51:32,337 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2017-08-24 09:51:32,337 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2017-08-24 09:51:32,337 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2017-08-24 09:51:32,337 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2017-08-24 09:51:32,337 DEBG 'deluge-script' stdout output:
    [info] Deluge config file already exists, skipping copy
    [info] VPN is enabled, checking VPN tunnel local ip is valid
    
    2017-08-24 09:51:32,341 DEBG 'privoxy-script' stdout output:
    [info] Privoxy set to disabled
    
    2017-08-24 09:51:32,342 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 140123225310848 for <Subprocess at 140123225312000 with name privoxy-script in state RUNNING> (stdout)>
    2017-08-24 09:51:32,342 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 140123225311136 for <Subprocess at 140123225312000 with name privoxy-script in state RUNNING> (stderr)>
    2017-08-24 09:51:32,342 INFO exited: privoxy-script (exit status 0; expected)
    2017-08-24 09:51:32,342 DEBG received SIGCLD indicating a child quit
    2017-08-24 09:51:32,389 DEBG 'start-script' stdout output:
    [info] Default route for container is 10.0.5.1
    
    2017-08-24 09:51:32,393 DEBG 'start-script' stdout output:
    [info] Adding 8.8.8.8 to /etc/resolv.conf
    
    2017-08-24 09:51:32,397 DEBG 'start-script' stdout output:
    [info] Adding 8.8.4.4 to /etc/resolv.conf
    
    2017-08-24 09:51:32,462 DEBG 'start-script' stdout output:
    [info] Adding 192.168.1.0/24 as route via docker eth0
    
    2017-08-24 09:51:32,463 DEBG 'start-script' stderr output:
    RTNETLINK answers: Operation not permitted
    
    2017-08-24 09:51:32,464 DEBG 'start-script' stdout output:
    [info] ip route defined as follows...
    
    2017-08-24 09:51:32,464 DEBG 'start-script' stdout output:
    --------------------
    
    2017-08-24 09:51:32,465 DEBG 'start-script' stdout output:
    default via 10.0.5.1 dev eth0 
    10.0.5.0/24 dev eth0 proto kernel scope link src 10.0.5.2 
    
    2017-08-24 09:51:32,465 DEBG 'start-script' stdout output:
    --------------------
    
    2017-08-24 09:51:32,469 DEBG 'start-script' stdout output:
    [warn] 'iptable_mangle' kernel module not available, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
    [info] unRAID users: Please attempt to load the module by executing the following on your host:- '/sbin/modprobe iptable_mangle'
    [info] 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'
    
    2017-08-24 09:51:32,495 DEBG 'start-script' stdout output:
    [info] Docker network defined as    10.0.5.0/24
    
    2017-08-24 09:51:32,497 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,500 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,502 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,505 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,508 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,510 DEBG 'start-script' stderr output:
    iptables v1.6.1: 
    2017-08-24 09:51:32,511 DEBG 'start-script' stderr output:
    can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,519 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,521 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,523 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,525 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,528 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,530 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,533 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,535 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,538 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,544 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,547 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,549 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,550 DEBG 'start-script' stdout output:
    [info] iptables defined as follows...
    
    2017-08-24 09:51:32,550 DEBG 'start-script' stdout output:
    --------------------
    
    2017-08-24 09:51:32,552 DEBG 'start-script' stderr output:
    iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    
    2017-08-24 09:51:32,552 DEBG 'start-script' stdout output:
    --------------------
    
    2017-08-24 09:51:32,553 DEBG 'start-script' stdout output:
    [info] Starting OpenVPN...
    
    2017-08-24 09:51:32,559 DEBG 'start-script' stdout output:
    Thu Aug 24 09:51:32 2017 WARNING: file 'credentials.conf' is group or others accessible
    Thu Aug 24 09:51:32 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
    Thu Aug 24 09:51:32 2017 library versions: OpenSSL 1.1.0e  16 Feb 2017, LZO 2.10
    
    2017-08-24 09:51:32,560 DEBG 'start-script' stdout output:
    Thu Aug 24 09:51:32 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    [info] OpenVPN started
    
    2017-08-24 09:51:32,562 DEBG 'start-script' stdout output:
    Thu Aug 24 09:51:32 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]103.208.220.144:1198
    Thu Aug 24 09:51:32 2017 UDP link local: (not bound)
    Thu Aug 24 09:51:32 2017 UDP link remote: [AF_INET]103.208.220.144:1198
    
    2017-08-24 09:51:32,662 DEBG 'start-script' stdout output:
    Thu Aug 24 09:51:32 2017 [3cba0c632edb4a9b642ba7d2ac0a3f6c] Peer Connection Initiated with [AF_INET]103.208.220.144:1198
    
    2017-08-24 09:51:33,892 DEBG 'start-script' stdout output:
    Thu Aug 24 09:51:33 2017 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
    Thu Aug 24 09:51:33 2017 Exiting due to fatal error
    
    2017-08-24 09:51:47,584 WARN received SIGTERM indicating exit request
    2017-08-24 09:51:47,584 INFO waiting for start-script, deluge-script, deluge-web-script to die
    2017-08-24 09:51:48,585 DEBG killing deluge-web-script (pid 135) with signal SIGTERM
    2017-08-24 09:51:48,586 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 140123225309624 for <Subprocess at 140123226324432 with name deluge-web-script in state STOPPING> (stdout)>
    2017-08-24 09:51:48,586 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 140123225310416 for <Subprocess at 140123226324432 with name deluge-web-script in state STOPPING> (stderr)>
    2017-08-24 09:51:48,586 INFO stopped: deluge-web-script (terminated by SIGTERM)
    2017-08-24 09:51:48,586 DEBG received SIGCLD indicating a child quit
    2017-08-24 09:51:48,586 DEBG killing deluge-script (pid 134) with signal SIGTERM
    2017-08-24 09:51:48,586 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 140123225311064 for <Subprocess at 140123226321912 with name deluge-script in state STOPPING> (stderr)>
    2017-08-24 09:51:48,587 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 140123225311496 for <Subprocess at 140123226321912 with name deluge-script in state STOPPING> (stdout)>
    2017-08-24 09:51:48,587 INFO stopped: deluge-script (terminated by SIGTERM)
    2017-08-24 09:51:48,587 DEBG received SIGCLD indicating a child quit
    2017-08-24 09:51:48,587 DEBG killing start-script (pid 133) with signal SIGTERM
    2017-08-24 09:51:48,587 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140123225310920 for <Subprocess at 140123225310776 with name start-script in state STOPPING> (stdout)>
    2017-08-24 09:51:48,587 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140123225309984 for <Subprocess at 140123225310776 with name start-script in state STOPPING> (stderr)>
    2017-08-24 09:51:48,587 INFO stopped: start-script (terminated by SIGTERM)
    2017-08-24 09:51:48,587 DEBG received SIGCLD indicating a child quit

     

×
×
  • Create New...