vihila

Members
  • Posts

    2
  • Joined

  • Last visited

vihila's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Switching to full Ubuntu VM in VirtualBox seems to have worked. Deluge Web UI with VPN enabled is working now.
  2. Hello, I am trying to get this container to work on Windows 10 Home/VirtualBox (with PIA). I can load the WebUI when VPN is disabled, but not when VPN is enabled. I am getting some errors saying it is unable to load the "tun" and "iptable_mangle" kernel modules. It seems perhaps due to the "boot2docker" linux distribution installed by Docker Toolbox not including those modules. I tried poking around with modprobe and insmod, but can't find those modules anywhere. Maybe I need to switch to a full Ubuntu VM? Any advice appreciated Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2019-05-19T04:51:04.158968346Z 2019-05-19 04:51:04.222506 [info] System information Linux 8653b1aa6b62 4.14.116-boot2docker #1 SMP Tue May 7 00:02:53 UTC 2019 x86_64 GNU/Linux 2019-05-19 04:51:04.305272 [warn] PUID not defined (via -e PUID), defaulting to '99' 2019-05-19 04:51:04.396465 [warn] PGID not defined (via -e PGID), defaulting to '100' 2019-05-19 04:51:04.483063 [warn] UMASK not defined (via -e UMASK), defaulting to '000' 2019-05-19 04:51:04.551872 [info] Permissions already set for volume mappings 2019-05-19 04:51:04.630154 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'error' 2019-05-19 04:51:04.696064 [info] DELUGE_WEB_LOG_LEVEL defined as 'error' 2019-05-19 04:51:04.764571 [info] VPN_ENABLED defined as 'yes' 2019-05-19 04:51:04.852407 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Vancouver.ovpn dos2unix: converting file /config/openvpn/CA Vancouver.ovpn to Unix format... 2019-05-19 04:51:04.972339 [info] VPN remote line defined as 'remote ca-vancouver.privateinternetaccess.com 1198' 2019-05-19 04:51:05.048131 [info] VPN_REMOTE defined as 'ca-vancouver.privateinternetaccess.com' 2019-05-19 04:51:05.131323 [info] VPN_PORT defined as '1198' 2019-05-19 04:51:05.219232 [info] VPN_PROTOCOL defined as 'udp' 2019-05-19 04:51:05.297366 [info] VPN_DEVICE_TYPE defined as 'tun0' 2019-05-19 04:51:05.372794 [info] VPN_PROV defined as 'pia' 2019-05-19 04:51:05.444010 [info] LAN_NETWORK defined as '192.168.1.0/24' 2019-05-19 04:51:05.511089 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4' 2019-05-19 04:51:05.579170 [info] VPN_USER defined as 'secret' 2019-05-19 04:51:05.648672 [info] VPN_PASS defined as 'secret' 2019-05-19 04:51:05.715182 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2019-05-19 04:51:05.783505 [info] STRICT_PORT_FORWARD defined as 'yes' 2019-05-19 04:51:05.850706 [info] ENABLE_PRIVOXY defined as 'yes' 2019-05-19 04:51:05.957054 [info] Starting Supervisor... 2019-05-19 04:51:06,347 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing 2019-05-19 04:51:06,348 INFO Set uid to user 0 succeeded 2019-05-19 04:51:06,352 INFO supervisord started with pid 6 2019-05-19 04:51:07,358 INFO spawned: 'privoxy-script' with pid 151 2019-05-19 04:51:07,369 INFO spawned: 'start-script' with pid 152 2019-05-19 04:51:07,387 INFO spawned: 'watchdog-script' with pid 153 2019-05-19 04:51:07,389 INFO reaped unknown pid 7 2019-05-19 04:51:07,446 DEBG 'start-script' stdout output: [info] VPN is enabled, beginning configuration of VPN 2019-05-19T04:51:07.446367633Z 2019-05-19 04:51:07,447 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-05-19 04:51:07,447 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-05-19 04:51:07,448 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-05-19 04:51:07,482 DEBG 'watchdog-script' stderr output: dos2unix: 2019-05-19 04:51:07,485 DEBG 'watchdog-script' stderr output: converting file /config/core.conf to Unix format... 2019-05-19T04:51:07.485221614Z 2019-05-19 04:51:07,736 DEBG 'start-script' stdout output: [info] Default route for container is 172.17.0.1 2019-05-19T04:51:07.736755755Z 2019-05-19 04:51:07,746 DEBG 'start-script' stdout output: [info] Adding 209.222.18.222 to /etc/resolv.conf 2019-05-19T04:51:07.746390518Z 2019-05-19 04:51:07,758 DEBG 'start-script' stdout output: [info] Adding 37.235.1.174 to /etc/resolv.conf 2019-05-19T04:51:07.759226958Z 2019-05-19 04:51:07,786 DEBG 'start-script' stdout output: [info] Adding 1.1.1.1 to /etc/resolv.conf 2019-05-19T04:51:07.786440172Z 2019-05-19 04:51:07,823 DEBG 'start-script' stdout output: [info] Adding 8.8.8.8 to /etc/resolv.conf 2019-05-19T04:51:07.823246741Z 2019-05-19 04:51:07,848 DEBG 'start-script' stdout output: [info] Adding 209.222.18.218 to /etc/resolv.conf 2019-05-19T04:51:07.849031119Z 2019-05-19 04:51:07,866 DEBG 'start-script' stdout output: [info] Adding 37.235.1.177 to /etc/resolv.conf 2019-05-19T04:51:07.866386188Z 2019-05-19 04:51:07,875 DEBG 'start-script' stdout output: [info] Adding 1.0.0.1 to /etc/resolv.conf 2019-05-19T04:51:07.875859288Z 2019-05-19 04:51:07,894 DEBG 'start-script' stdout output: [info] Adding 8.8.4.4 to /etc/resolv.conf 2019-05-19T04:51:07.894462726Z 2019-05-19 04:51:08,039 DEBG 'start-script' stdout output: [info] Attempting to load tun kernel module... 2019-05-19T04:51:08.039642552Z 2019-05-19 04:51:08,042 DEBG 'start-script' stderr output: modprobe: FATAL: Module tun not found in directory /lib/modules/4.14.116-boot2docker 2019-05-19T04:51:08.042602072Z 2019-05-19 04:51:08,044 DEBG 'start-script' stdout output: [warn] Unable to load tun kernel module using modprobe, trying insmod... 2019-05-19T04:51:08.044463650Z 2019-05-19 04:51:08,046 DEBG 'start-script' stderr output: insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory 2019-05-19T04:51:08.046896868Z 2019-05-19 04:51:08,047 DEBG 'start-script' stdout output: [warn] Unable to load tun kernel module, assuming its dynamically loaded 2019-05-19T04:51:08.048029200Z 2019-05-19 04:51:08,066 DEBG 'start-script' stdout output: [info] Attempting to load iptable_mangle module... 2019-05-19T04:51:08.066306521Z 2019-05-19 04:51:08,068 DEBG 'start-script' stderr output: modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.14.116-boot2docker 2019-05-19T04:51:08.069067887Z 2019-05-19 04:51:08,069 DEBG 'start-script' stdout output: [warn] Unable to load iptable_mangle module using modprobe, trying insmod... 2019-05-19T04:51:08.069963682Z 2019-05-19 04:51:08,072 DEBG 'start-script' stderr output: insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory 2019-05-19T04:51:08.072452205Z 2019-05-19 04:51:08,073 DEBG 'start-script' stdout output: [warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN [info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle' [info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko' 2019-05-19T04:51:08.073808775Z 2019-05-19 04:51:08,203 DEBG 'start-script' stdout output: [info] Docker network defined as 172.17.0.0/16 2019-05-19T04:51:08.203439225Z 2019-05-19 04:51:08,236 DEBG 'start-script' stdout output: [info] Adding 192.168.1.0/24 as route via docker eth0 2019-05-19T04:51:08.236295143Z 2019-05-19 04:51:08,238 DEBG 'start-script' stdout output: [info] ip route defined as follows... -------------------- 2019-05-19T04:51:08.239013074Z 2019-05-19 04:51:08,240 DEBG 'start-script' stdout output: default via 172.17.0.1 dev eth0 2019-05-19T04:51:08.241088940Z 2019-05-19 04:51:08,241 DEBG 'start-script' stdout output: 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 192.168.1.0/24 via 172.17.0.1 dev eth0 2019-05-19T04:51:08.241633686Z 2019-05-19 04:51:08,242 DEBG 'start-script' stdout output: -------------------- 2019-05-19T04:51:08.242870190Z 2019-05-19 04:51:08,330 DEBG 'start-script' stdout output: [info] iptables defined as follows... -------------------- 2019-05-19T04:51:08.330638843Z 2019-05-19 04:51:08,343 DEBG 'start-script' stdout output: -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT DROP -A INPUT -i tun0 -j ACCEPT -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --sport 1198 -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.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT -A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT -A INPUT -i lo -j ACCEPT -A OUTPUT -o 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 1198 -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.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT -A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT -A OUTPUT -o lo -j ACCEPT 2019-05-19T04:51:08.344331429Z 2019-05-19 04:51:08,345 DEBG 'start-script' stdout output: -------------------- 2019-05-19T04:51:08.345846333Z 2019-05-19 04:51:08,348 DEBG 'start-script' stdout output: [info] Starting OpenVPN... 2019-05-19T04:51:08.348841904Z 2019-05-19 04:51:08,414 DEBG 'start-script' stdout output: Sun May 19 04:51:08 2019 WARNING: file 'credentials.conf' is group or others accessible Sun May 19 04:51:08 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019 Sun May 19 04:51:08 2019 library versions: OpenSSL 1.1.1b 26 Feb 2019, LZO 2.10 2019-05-19T04:51:08.414446912Z 2019-05-19 04:51:08,418 DEBG 'start-script' stdout output: [info] OpenVPN started 2019-05-19T04:51:08.418932742Z 2019-05-19 04:51:08,426 DEBG 'start-script' stdout output: Sun May 19 04:51:08 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2019-05-19T04:51:08.427094469Z 2019-05-19 04:51:08,433 DEBG 'start-script' stdout output: Sun May 19 04:51:08 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]107.181.189.75:1198 2019-05-19T04:51:08.433707732Z 2019-05-19 04:51:08,434 DEBG 'start-script' stdout output: Sun May 19 04:51:08 2019 UDP link local: (not bound) Sun May 19 04:51:08 2019 UDP link remote: [AF_INET]107.181.189.75:1198 2019-05-19T04:51:08.434331395Z 2019-05-19 04:51:08,871 DEBG 'start-script' stdout output: Sun May 19 04:51:08 2019 [48318619defaee809b29e6bdd000e42d] Peer Connection Initiated with [AF_INET]107.181.189.75:1198 2019-05-19T04:51:08.872143291Z 2019-05-19 04:51:09,979 DEBG 'start-script' stdout output: Sun May 19 04:51:09 2019 TUN/TAP device tun0 opened 2019-05-19T04:51:09.979818727Z 2019-05-19 04:51:09,980 DEBG 'start-script' stdout output: Sun May 19 04:51:09 2019 /usr/bin/ip link set dev tun0 up mtu 1500 2019-05-19T04:51:09.981139113Z 2019-05-19 04:51:10,026 DEBG 'start-script' stdout output: Sun May 19 04:51:10 2019 /usr/bin/ip addr add dev tun0 local 10.79.10.6 peer 10.79.10.5 2019-05-19T04:51:10.027059285Z 2019-05-19 04:51:10,048 DEBG 'start-script' stdout output: Sun May 19 04:51:10 2019 /root/openvpnup.sh tun0 1500 1558 10.79.10.6 10.79.10.5 init 2019-05-19T04:51:10.048906653Z 2019-05-19 04:51:10,138 DEBG 'start-script' stdout output: Sun May 19 04:51:10 2019 Initialization Sequence Completed 2019-05-19T04:51:10.139051470Z 2019-05-19 04:51:10,412 DEBG 'start-script' stdout output: [info] Attempting to curl https://www.privateinternetaccess.com/vpninfo/servers?version=82... 2019-05-19T04:51:10.412843670Z 2019-05-19 04:51:10,492 DEBG 'watchdog-script' stdout output: [info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.79.10.6 different, marking for reconfigure 2019-05-19T04:51:10.492425988Z 2019-05-19 04:51:10,521 DEBG 'watchdog-script' stdout output: [info] Deluge not running 2019-05-19T04:51:10.521716383Z 2019-05-19 04:51:10,536 DEBG 'watchdog-script' stdout output: [info] Deluge Web UI not running 2019-05-19T04:51:10.536922108Z 2019-05-19 04:51:10,557 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140227393625896 for <Subprocess at 140227393624552 with name privoxy-script in state RUNNING> (stdout)> 2019-05-19 04:51:10,558 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140227393725048 for <Subprocess at 140227393624552 with name privoxy-script in state RUNNING> (stderr)> 2019-05-19 04:51:10,558 INFO exited: privoxy-script (exit status 0; expected) 2019-05-19 04:51:10,559 DEBG received SIGCHLD indicating a child quit 2019-05-19 04:51:11,053 DEBG 'start-script' stdout output: [info] Successfully retrieved external IP address 107.181.189.75 2019-05-19T04:51:11.054588909Z 2019-05-19 04:51:11,235 DEBG 'start-script' stdout output: [info] Curl successful for https://www.privateinternetaccess.com/vpninfo/servers?version=82, response code 200 2019-05-19T04:51:11.235803787Z 2019-05-19 04:51:11,491 DEBG 'start-script' stdout output: [info] List of PIA endpoints that support port forwarding:- [info] ca-toronto.privateinternetaccess.com [info] ca-montreal.privateinternetaccess.com [info] ca-vancouver.privateinternetaccess.com [info] de-berlin.privateinternetaccess.com [info] de-frankfurt.privateinternetaccess.com [info] sweden.privateinternetaccess.com [info] swiss.privateinternetaccess.com [info] france.privateinternetaccess.com [info] czech.privateinternetaccess.com [info] spain.privateinternetaccess.com [info] ro.privateinternetaccess.com [info] israel.privateinternetaccess.com 2019-05-19T04:51:11.491769388Z 2019-05-19 04:51:11,509 DEBG 'start-script' stdout output: [info] Attempting to curl http://209.222.18.222:2000/?client_id=461d9b40d87a3e330e27821a6d258e74d30f088d188df4a9bddfbef2087becd7... 2019-05-19T04:51:11.509776051Z 2019-05-19 04:51:12,223 DEBG 'start-script' stdout output: [info] Curl successful for http://209.222.18.222:2000/?client_id=461d9b40d87a3e330e27821a6d258e74d30f088d188df4a9bddfbef2087becd7, response code 200 2019-05-19T04:51:12.224360193Z 2019-05-19 04:51:13,076 DEBG 'watchdog-script' stdout output: [info] Deluge incoming port 6890 and VPN incoming port 49058 different, marking for reconfigure 2019-05-19T04:51:13.077130447Z 2019-05-19 04:51:13,079 DEBG 'watchdog-script' stdout output: [info] Attempting to start Deluge... 2019-05-19T04:51:13.079709198Z 2019-05-19 04:51:13,080 DEBG 'watchdog-script' stdout output: [info] Removing deluge pid file (if it exists)... 2019-05-19T04:51:13.080679559Z 2019-05-19 04:51:13,908 DEBG 'watchdog-script' stdout output: [info] Deluge listening interface currently defined as 0.0.0.0 [info] Deluge listening interface will be changed to 0.0.0.0 [info] Saving changes to Deluge config file /config/core.conf... 2019-05-19T04:51:13.908585450Z 2019-05-19 04:51:14,763 DEBG 'watchdog-script' stdout output: [info] Deluge process started [info] Waiting for Deluge process to start listening on port 58846... 2019-05-19T04:51:14.763766477Z 2019-05-19 04:51:15,552 DEBG 'watchdog-script' stdout output: [info] Deluge process listening on port 58846 2019-05-19T04:51:15.552194680Z 2019-05-19 04:51:16,979 DEBG 'watchdog-script' stdout output: Setting random_port to False.. Configuration value successfully updated. 2019-05-19T04:51:16.979403486Z 2019-05-19 04:51:18,419 DEBG 'watchdog-script' stdout output: Setting listen_ports to (49058, 49058).. Configuration value successfully updated. 2019-05-19T04:51:18.419591042Z 2019-05-19 04:51:19,951 DEBG 'watchdog-script' stdout output: [info] No torrents with state 'Error' found [info] Starting Deluge Web UI... [info] Deluge Web UI started 2019-05-19T04:51:19.952113847Z