Jump to content

[Support] binhex - SABnzbdVPN


Recommended Posts

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

 

I am having the same behavior. Disabling the VPN works, but I get the same log:

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-29 11:19:25,627 CRIT Set uid to user 0
2016-07-29 11:19:25,627 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-29 11:19:25,630 INFO supervisord started with pid 12
2016-07-29 11:19:26,631 INFO spawned: 'start-script' with pid 15
2016-07-29 11:19:26,632 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-29 11:19:26,633 INFO spawned: 'privoxy-script' with pid 17
2016-07-29 11:19:26,637 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,638 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,640 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-29 11:19:26,642 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,650 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-29 11:19:26,651 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-29 11:19:26,653 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as nl.privateinternetaccess.com
[info] VPN provider remote port defined as 1198

2016-07-29 11:19:26,654 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47222288448040 for <Subprocess at 47222288374312 with name start-script in state RUNNING> (stderr)>
2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[crit] VPN provider remote protocol not defined (via -e VPN_PROTOCOL), exiting...

2016-07-29 11:19:26,654 INFO exited: start-script (exit status 1; not expected)
2016-07-29 11:19:26,655 DEBG received SIGCLD indicating a child quit

 

Attached my current config.

You're issue is not the same, the issue you have is the missing VPN_PROTOCOL env var, create this and set the value to UDP and it should start.

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

I can't see any issues here, so you can't connect to http://<your unraid servers IP>:8080 ?

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

I can't see any issues here, so you can't connect to http://<your unraid servers IP>:8080 ?

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

 

I am having the same behavior. Disabling the VPN works, but I get the same log:

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-29 11:19:25,627 CRIT Set uid to user 0
2016-07-29 11:19:25,627 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-29 11:19:25,630 INFO supervisord started with pid 12
2016-07-29 11:19:26,631 INFO spawned: 'start-script' with pid 15
2016-07-29 11:19:26,632 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-29 11:19:26,633 INFO spawned: 'privoxy-script' with pid 17
2016-07-29 11:19:26,637 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,638 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,640 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-29 11:19:26,642 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,650 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-29 11:19:26,651 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-29 11:19:26,653 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as nl.privateinternetaccess.com
[info] VPN provider remote port defined as 1198

2016-07-29 11:19:26,654 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47222288448040 for <Subprocess at 47222288374312 with name start-script in state RUNNING> (stderr)>
2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[crit] VPN provider remote protocol not defined (via -e VPN_PROTOCOL), exiting...

2016-07-29 11:19:26,654 INFO exited: start-script (exit status 1; not expected)
2016-07-29 11:19:26,655 DEBG received SIGCLD indicating a child quit

 

Attached my current config.

You're issue is not the same, the issue you have is the missing VPN_PROTOCOL env var, create this and set the value to UDP and it should start.

 

Sent from my SM-G900F using Tapatalk

 

Thanks for the quick solution, have a beer.

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

 

I am having the same behavior. Disabling the VPN works, but I get the same log:

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-29 11:19:25,627 CRIT Set uid to user 0
2016-07-29 11:19:25,627 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-29 11:19:25,630 INFO supervisord started with pid 12
2016-07-29 11:19:26,631 INFO spawned: 'start-script' with pid 15
2016-07-29 11:19:26,632 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-29 11:19:26,633 INFO spawned: 'privoxy-script' with pid 17
2016-07-29 11:19:26,637 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,638 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,638 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-29 11:19:26,640 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-29 11:19:26,642 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-29 11:19:26,650 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-29 11:19:26,651 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-29 11:19:26,653 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as nl.privateinternetaccess.com
[info] VPN provider remote port defined as 1198

2016-07-29 11:19:26,654 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47222288448040 for <Subprocess at 47222288374312 with name start-script in state RUNNING> (stderr)>
2016-07-29 11:19:26,654 DEBG 'start-script' stdout output:
[crit] VPN provider remote protocol not defined (via -e VPN_PROTOCOL), exiting...

2016-07-29 11:19:26,654 INFO exited: start-script (exit status 1; not expected)
2016-07-29 11:19:26,655 DEBG received SIGCLD indicating a child quit

 

Attached my current config.

You're issue is not the same, the issue you have is the missing VPN_PROTOCOL env var, create this and set the value to UDP and it should start.

 

Sent from my SM-G900F using Tapatalk

 

Thanks for the quick solution, have a beer.

No probs, and thank you for the donation, it's really appreciated.

 

Sent from my LG-V500 using Tapatalk

 

 

Link to comment

Hi there and thanks for the docker!

Got it up and running after fiddling about for a while.

 

Since the VPN is up, can it be utilized by other dockers/services on the same box? As a fixed connection for a docker or as a proxy for a virtual machine?

Enable privoxy in this docker, then point your other apps to it.
Link to comment

Enable privoxy in this docker, then point your other apps to it.

 

I'm sorry, but I need a bit more help.

Activated "Enable_Privoxy" in the sab docker. After that I tried to edit the Hydra docker, but found no options relevance, so I launched the Hydra gui and edited the config inside. Tried setting the "Socks" option to point to server-ip:8118. After saving the changes and restarting Hydra, gui will not load... Trying to sort it out through manually editing the settings.cfg inside the app-folder now.

How do I tell Hydra to use that vpn?

Link to comment

Does any know what could be causing this?  It started a couple of days ago following an update.  It works if i disable vpn.

 

2016-08-02 10:17:14,663 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 UDPv4 link local: [undef]

Tue Aug 2 10:17:14 2016 UDPv4 link remote: [AF_INET]109.201.154.148:1194

 

2016-08-02 10:17:14,811 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 WARNING: file 'credentials.conf' is group or others accessible

 

 

2016-08-02 10:17:14,966 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

 

Tue Aug 2 10:17:14 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

 

Tue Aug 2 10:17:14 2016 TLS_ERROR: BIO read tls_read_plaintext error

 

Tue Aug 2 10:17:14 2016 TLS Error: TLS object -> incoming plaintext read error

 

Tue Aug 2 10:17:14 2016 TLS Error: TLS handshake failed

 

 

2016-08-02 10:17:14,966 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 SIGUSR1[soft,tls-error] received, process restarting

Link to comment

Does any know what could be causing this?  It started a couple of days ago following an update.  It works if i disable vpn.

 

2016-08-02 10:17:14,663 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 UDPv4 link local: [undef]

Tue Aug 2 10:17:14 2016 UDPv4 link remote: [AF_INET]109.201.154.148:1194

 

2016-08-02 10:17:14,811 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 WARNING: file 'credentials.conf' is group or others accessible

 

 

2016-08-02 10:17:14,966 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=OH, L=Columbus, O=Private Internet Access, CN=Private Internet Access CA, [email protected]

 

Tue Aug 2 10:17:14 2016 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

 

Tue Aug 2 10:17:14 2016 TLS_ERROR: BIO read tls_read_plaintext error

 

Tue Aug 2 10:17:14 2016 TLS Error: TLS object -> incoming plaintext read error

 

Tue Aug 2 10:17:14 2016 TLS Error: TLS handshake failed

 

 

2016-08-02 10:17:14,966 DEBG 'start-script' stdout output:

Tue Aug 2 10:17:14 2016 SIGUSR1[soft,tls-error] received, process restarting

 

is your VPN_PORT 1194? if so please change to 1198 and restart the docker, its a change at PIA's end.

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

I can't see any issues here, so you can't connect to http://<your unraid servers IP>:8080 ?

 

Sent from my SM-G900F using Tapatalk

 

I have the ip set to 8081 since I had unmenu installed.  But yes if I connect to myip:8081 it does not not connect.

Link to comment

I recently rebuilt my image and now when the VPN is enabled im not able to get to the web interface for SAB.  Im assuming I missconfigured something but Im not seeing anything jump out.  Thank you

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-07-28 10:59:45,738 CRIT Set uid to user 0
2016-07-28 10:59:45,754 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-07-28 10:59:45,758 INFO supervisord started with pid 12
2016-07-28 10:59:46,759 INFO spawned: 'start-script' with pid 15
2016-07-28 10:59:46,761 INFO spawned: 'sabnzbd-script' with pid 16
2016-07-28 10:59:46,762 INFO spawned: 'privoxy-script' with pid 17
2016-07-28 10:59:46,770 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,771 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,771 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-07-28 10:59:46,773 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-07-28 10:59:46,775 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-07-28 10:59:46,823 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-07-28 10:59:46,859 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-07-28 10:59:46,875 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-07-28 10:59:46,878 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-07-28 10:59:46,892 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-07-28 10:59:46,904 DEBG 'start-script' stdout output:
[info] VPN provider username defined as p2750292

2016-07-28 10:59:46,913 DEBG 'start-script' stdout output:
[info] VPN provider password defined as wHHyRw2AqE3v

2016-07-28 10:59:46,948 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.42.1

2016-07-28 10:59:46,956 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-07-28 10:59:46,990 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2016-07-28 10:59:46,991 DEBG 'start-script' stdout output:
default via 172.17.42.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.16 

2016-07-28 10:59:46,992 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.42.1 dev eth0 
--------------------

2016-07-28 10:59:46,996 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-07-28 10:59:46,997 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.1.18-unRAID

2016-07-28 10:59:46,997 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-07-28 10:59:47,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-07-28 10:59:47,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-07-28 10:59:47,058 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-07-28 10:59:47,059 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-07-28 10:59:47,059 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-07-28 10:59:47,060 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
--------------------

2016-07-28 10:59:47,061 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2016-07-28 10:59:47,067 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Thu Jul 28 10:59:47 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Thu Jul 28 10:59:47 2016 WARNING: file 'credentials.conf' is group or others accessible

2016-07-28 10:59:47,108 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 UDPv4 link local: [undef]
Thu Jul 28 10:59:47 2016 UDPv4 link remote: [AF_INET]108.61.101.170:1198

2016-07-28 10:59:47,272 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:47 2016 [2a62a43cb8233ca3d97136ff06003744] Peer Connection Initiated with [AF_INET]108.61.101.170:1198

2016-07-28 10:59:49,547 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 TUN/TAP device tun0 opened
Thu Jul 28 10:59:49 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 28 10:59:49 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-07-28 10:59:49,548 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 /usr/bin/ip addr add dev tun0 local 10.109.1.6 peer 10.109.1.5

2016-07-28 10:59:49,552 DEBG 'start-script' stdout output:
Thu Jul 28 10:59:49 2016 Initialization Sequence Completed

2016-07-28 10:59:49,651 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-07-28 10:59:49,651 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47184862429408 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stderr)>
2016-07-28 10:59:49,651 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47184862293744 for <Subprocess at 47184862249976 with name privoxy-script in state RUNNING> (stdout)>
2016-07-28 10:59:49,651 INFO exited: privoxy-script (exit status 0; expected)
2016-07-28 10:59:49,652 DEBG received SIGCLD indicating a child quit
2016-07-28 10:59:49,661 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

I can't see any issues here, so you can't connect to http://<your unraid servers IP>:8080 ?

 

Sent from my SM-G900F using Tapatalk

 

I have the ip set to 8081 since I had unmenu installed.  But yes if I connect to myip:8081 it does not not connect.

 

ok can you screenshot the advanced view for this docker, also can you post the complete supervisord.log file.

Link to comment
  • 3 weeks later...

After updating to 6.2.0-rc4 sab stopped letting me connect to it while vpn is enabled.  Any help would be appreciated

 

usermod: no changes
[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Permissions already set for /config and /data
[info] Starting Supervisor...
2016-08-23 15:38:14,557 CRIT Set uid to user 0
2016-08-23 15:38:14,600 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-08-23 15:38:14,603 INFO supervisord started with pid 19
2016-08-23 15:38:15,605 INFO spawned: 'start-script' with pid 22
2016-08-23 15:38:15,606 INFO spawned: 'sabnzbd-script' with pid 23
2016-08-23 15:38:15,607 INFO spawned: 'privoxy-script' with pid 24
2016-08-23 15:38:15,615 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-08-23 15:38:15,615 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-08-23 15:38:15,615 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-08-23 15:38:15,615 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-08-23 15:38:15,617 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-08-23 15:38:15,675 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-08-23 15:38:15,720 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia

2016-08-23 15:38:15,755 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2016-08-23 15:38:15,759 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2016-08-23 15:38:15,791 DEBG 'start-script' stdout output:
[info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...

2016-08-23 15:38:15,804 DEBG 'start-script' stdout output:
[info] VPN provider remote gateway defined as us-midwest.privateinternetaccess.com
[info] VPN provider remote port defined as 1198
[info] VPN provider remote protocol defined as udp

2016-08-23 15:38:15,813 DEBG 'start-script' stdout output:
[info] VPN provider username defined as user

2016-08-23 15:38:15,821 DEBG 'start-script' stdout output:
[info] VPN provider password defined as password

2016-08-23 15:38:15,916 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2016-08-23 15:38:15,923 DEBG 'start-script' stdout output:
[info] Setting permissions recursively on /config/openvpn...

2016-08-23 15:38:15,969 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2016-08-23 15:38:15,970 DEBG 'start-script' stdout output:
[info] ip route defined as follows...

2016-08-23 15:38:15,970 DEBG 'start-script' stdout output:
--------------------

2016-08-23 15:38:15,971 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.4
192.168.1.0/24 via 172.17.0.1 dev eth0

2016-08-23 15:38:15,971 DEBG 'start-script' stdout output:
--------------------

2016-08-23 15:38:15,987 DEBG 'start-script' stdout output:
[info] iptable_mangle module not supported, attempting to load...

2016-08-23 15:38:15,988 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.4.18-unRAID

2016-08-23 15:38:15,988 DEBG 'start-script' stdout output:
[warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN

2016-08-23 15:38:16,029 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 8081 for eth0

2016-08-23 15:38:16,051 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 8081 for eth0

2016-08-23 15:38:16,057 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2016-08-23 15:38:16,058 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 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -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 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8090 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8081 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8081 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2016-08-23 15:38:16,058 DEBG 'start-script' stdout output:
--------------------
[info] nameservers

2016-08-23 15:38:16,059 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2016-08-23 15:38:16,059 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2016-08-23 15:38:16,123 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:16 2016 OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
Tue Aug 23 15:38:16 2016 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Tue Aug 23 15:38:16 2016 WARNING: file 'credentials.conf' is group or others accessible


2016-08-23 15:38:16,164 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:16 2016 UDPv4 link local: [undef]
Tue Aug 23 15:38:16 2016 UDPv4 link remote: [AF_INET]108.61.228.84:1198

2016-08-23 15:38:16,321 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:16 2016 [45f105e29e6cc7ffad9ccd7777a88234] Peer Connection Initiated with [AF_INET]108.61.228.84:1198

2016-08-23 15:38:18,761 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:18 2016 TUN/TAP device tun0 opened
Tue Aug 23 15:38:18 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Aug 23 15:38:18 2016 /usr/bin/ip link set dev tun0 up mtu 1500

2016-08-23 15:38:18,763 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:18 2016 /usr/bin/ip addr add dev tun0 local 10.126.1.6 peer 10.126.1.5

2016-08-23 15:38:18,767 DEBG 'start-script' stdout output:
Tue Aug 23 15:38:18 2016 Initialization Sequence Completed

2016-08-23 15:38:18,856 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2016-08-23 15:38:18,856 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 47772837695712 for <Subprocess at 47772837516064 with name privoxy-script in state RUNNING> (stderr)>
2016-08-23 15:38:18,856 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 47772837560048 for <Subprocess at 47772837516064 with name privoxy-script in state RUNNING> (stdout)>
2016-08-23 15:38:18,856 INFO exited: privoxy-script (exit status 0; expected)
2016-08-23 15:38:18,856 DEBG received SIGCLD indicating a child quit
2016-08-23 15:38:18,887 DEBG 'sabnzbd-script' stdout output:
[info] All checks complete, starting SABnzbd...

Link to comment
  • 3 weeks later...

Hi, new to unraid (v6.1.9) and new to docker so I'm struggling a bit here. After installing (via Community Applications), I can't get to the webui on port 8080. I checked post #3 and my environment variable looks to be set correctly. Here's my string:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="binhex-sabnzbdvpn" --net="bridge" --privileged="true" -e VPN_ENABLED="yes" -e VPN_USER="vpn username" -e VPN_PASS="vpn password" -e VPN_REMOTE="nl.privateinternetaccess.com" -e VPN_PORT="1198" -e VPN_PROTOCOL="udp" -e VPN_PROV="pia|airvpn|custom" -e STRONG_CERTS="no" -e ENABLE_PRIVOXY="no" -e LAN_NETWORK="192.168.1.0/24" -e ADDITIONAL_PORTS="8081" -e DEBUG="false" -e PUID="99" -e PGID="100" -e TZ="America/Los_Angeles" -p 8080:8080/tcp -p 8090:8090/tcp -p 8118:8118/tcp -v "/mnt/user/appdata/sabnzbd/":"/config":rw -v "/mnt/user/nzb_download/":"/data":rw binhex/arch-sabnzbdvpn

 

When looking at the log it looks like the start-script is erring out but I'm not sure why. I see the VPN is missing OpenVPN configs, do I need to pre-configure this?

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Setting permissions recursively on /config and /data...
[info] Starting Supervisor...
2016-09-10 21:13:39,945 CRIT Set uid to user 0
2016-09-10 21:13:39,946 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-09-10 21:13:39,948 INFO supervisord started with pid 14
2016-09-10 21:13:40,950 INFO spawned: 'start-script' with pid 17
2016-09-10 21:13:40,951 INFO spawned: 'sabnzbd-script' with pid 18
2016-09-10 21:13:40,953 INFO spawned: 'privoxy-script' with pid 19
2016-09-10 21:13:40,962 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,963 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,965 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-09-10 21:13:40,976 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia|airvpn|custom
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2016-09-10 21:13:40,976 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47293091757160 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stderr)>
2016-09-10 21:13:40,976 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 47293094494936 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stdout)>
2016-09-10 21:13:40,977 INFO exited: start-script (exit status 1; not expected)
2016-09-10 21:13:40,977 DEBG received SIGCLD indicating a child quit

 

I've tried removing and re-installing with no success. I can't get to 8090 or 8118 either.

 

Thanks

Link to comment

Hi, new to unraid (v6.1.9) and new to docker so I'm struggling a bit here. After installing (via Community Applications), I can't get to the webui on port 8080. I checked post #3 and my environment variable looks to be set correctly. Here's my string:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="binhex-sabnzbdvpn" --net="bridge" --privileged="true" -e VPN_ENABLED="yes" -e VPN_USER="vpn username" -e VPN_PASS="vpn password" -e VPN_REMOTE="nl.privateinternetaccess.com" -e VPN_PORT="1198" -e VPN_PROTOCOL="udp" -e VPN_PROV="pia|airvpn|custom" -e STRONG_CERTS="no" -e ENABLE_PRIVOXY="no" -e LAN_NETWORK="192.168.1.0/24" -e ADDITIONAL_PORTS="8081" -e DEBUG="false" -e PUID="99" -e PGID="100" -e TZ="America/Los_Angeles" -p 8080:8080/tcp -p 8090:8090/tcp -p 8118:8118/tcp -v "/mnt/user/appdata/sabnzbd/":"/config":rw -v "/mnt/user/nzb_download/":"/data":rw binhex/arch-sabnzbdvpn

 

When looking at the log it looks like the start-script is erring out but I'm not sure why. I see the VPN is missing OpenVPN configs, do I need to pre-configure this?

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Setting permissions recursively on /config and /data...
[info] Starting Supervisor...
2016-09-10 21:13:39,945 CRIT Set uid to user 0
2016-09-10 21:13:39,946 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-09-10 21:13:39,948 INFO supervisord started with pid 14
2016-09-10 21:13:40,950 INFO spawned: 'start-script' with pid 17
2016-09-10 21:13:40,951 INFO spawned: 'sabnzbd-script' with pid 18
2016-09-10 21:13:40,953 INFO spawned: 'privoxy-script' with pid 19
2016-09-10 21:13:40,962 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,963 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,965 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-09-10 21:13:40,976 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia|airvpn|custom
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2016-09-10 21:13:40,976 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47293091757160 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stderr)>
2016-09-10 21:13:40,976 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 47293094494936 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stdout)>
2016-09-10 21:13:40,977 INFO exited: start-script (exit status 1; not expected)
2016-09-10 21:13:40,977 DEBG received SIGCLD indicating a child quit

 

I've tried removing and re-installing with no success. I can't get to 8090 or 8118 either.

 

Thanks

VPN_prov needs to be defined, you haven't chosen between pia, airvpn, or custom

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

Hi, new to unraid (v6.1.9) and new to docker so I'm struggling a bit here. After installing (via Community Applications), I can't get to the webui on port 8080. I checked post #3 and my environment variable looks to be set correctly. Here's my string:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="binhex-sabnzbdvpn" --net="bridge" --privileged="true" -e VPN_ENABLED="yes" -e VPN_USER="vpn username" -e VPN_PASS="vpn password" -e VPN_REMOTE="nl.privateinternetaccess.com" -e VPN_PORT="1198" -e VPN_PROTOCOL="udp" -e VPN_PROV="pia|airvpn|custom" -e STRONG_CERTS="no" -e ENABLE_PRIVOXY="no" -e LAN_NETWORK="192.168.1.0/24" -e ADDITIONAL_PORTS="8081" -e DEBUG="false" -e PUID="99" -e PGID="100" -e TZ="America/Los_Angeles" -p 8080:8080/tcp -p 8090:8090/tcp -p 8118:8118/tcp -v "/mnt/user/appdata/sabnzbd/":"/config":rw -v "/mnt/user/nzb_download/":"/data":rw binhex/arch-sabnzbdvpn

 

When looking at the log it looks like the start-script is erring out but I'm not sure why. I see the VPN is missing OpenVPN configs, do I need to pre-configure this?

 

[info] Env var PUID defined as 99
[info] Env var PGID defined as 100
[info] Setting permissions recursively on /config and /data...
[info] Starting Supervisor...
2016-09-10 21:13:39,945 CRIT Set uid to user 0
2016-09-10 21:13:39,946 INFO Included extra file "/etc/supervisor/conf.d/sabnzbdvpn.conf" during parsing
2016-09-10 21:13:39,948 INFO supervisord started with pid 14
2016-09-10 21:13:40,950 INFO spawned: 'start-script' with pid 17
2016-09-10 21:13:40,951 INFO spawned: 'sabnzbd-script' with pid 18
2016-09-10 21:13:40,953 INFO spawned: 'privoxy-script' with pid 19
2016-09-10 21:13:40,962 DEBG 'sabnzbd-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,963 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: sabnzbd-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-09-10 21:13:40,963 DEBG 'privoxy-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2016-09-10 21:13:40,965 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2016-09-10 21:13:40,976 DEBG 'start-script' stdout output:
[info] VPN provider defined as pia|airvpn|custom
[crit] Missing OpenVPN configuration file in /config/openvpn/ (no files with an ovpn extension exist) please create and restart delugevpn

2016-09-10 21:13:40,976 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47293091757160 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stderr)>
2016-09-10 21:13:40,976 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 47293094494936 for <Subprocess at 47293094494648 with name start-script in state RUNNING> (stdout)>
2016-09-10 21:13:40,977 INFO exited: start-script (exit status 1; not expected)
2016-09-10 21:13:40,977 DEBG received SIGCLD indicating a child quit

 

I've tried removing and re-installing with no success. I can't get to 8090 or 8118 either.

 

Thanks

VPN_prov needs to be defined, you haven't chosen between pia, airvpn, or custom

 

Sent from my SM-G900F using Tapatalk

 

This helped me get on to the next step. sabnzbd is now configured and running through the vpn. I enabled privoxy but I'm getting

Invalid header received from client.

when I browse to the webui.

 

edit: Also, :8090 just spins. What should be showing up on that webui? Duh... nevermind

 

Thanks

Link to comment

I'm not running your container on Unraid at the moment. I use it on a Ubuntu system with docker installed.

 

how do i upgrade to Sabnzbd 1.1.0?

I'm assuming your running 6.1.9 and thus updates are broken, to work around this enable advanced view and then select force update to force the update.

 

Sent from my SM-G900F using Tapatalk

Link to comment

I'm not running your container on Unraid at the moment. I use it on a Ubuntu system with docker installed.

 

how do i upgrade to Sabnzbd 1.1.0?

I'm assuming your running 6.1.9 and thus updates are broken, to work around this enable advanced view and then select force update to force the update.

 

Sent from my SM-G900F using Tapatalk

 

ive just checked and its not been updated on AUR yet so no update to 1.1.0 is available. once the image is built you would need to do a stop of your existing container, then remove image and container and then re-pull down and create the container by issuing the docker run command.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...