Jump to content
binhex

[Support] binhex - DelugeVPN

3908 posts in this topic Last Reply

Recommended Posts

I was testing with Firefox connected to privoxy (CP wasn't involved), the fact that Firefox can't connect to any LAN address through privoxy leads me to believe that the routing inside the docker doesn't allow it to. I'm not very experienced with docker, trying to ping a LAN IP from within the docker would confirm it (I'd expect it to come back unreachable) but I'm not sure how to go about doing that. Thanks for your help in trying to get to the bottom of it.

Share this post


Link to post

I was testing with Firefox connected to privoxy (CP wasn't involved), the fact that Firefox can't connect to any LAN address through privoxy leads me to believe that the routing inside the docker doesn't allow it to. I'm not very experienced with docker, trying to ping a LAN IP from within the docker would confirm it (I'd expect it to come back unreachable) but I'm not sure how to go about doing that. Thanks for your help in trying to get to the bottom of it.

 

I can ping a local IP from within the container.

 

docker exec -it delugevpn bash 

 

Will get you into a terminal within the container.  So I'm assuming that isn't being routed over privoxy, however if you're connected to privoxy then that's a different kettle of fish I guess.  But as the section from the privoxy manual above I quoted says, it's a browser function not a privoxy function.

 

root@server:~# docker exec -it deluge bash
[root@53fcc86a1c27 /]# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=127 time=0.297 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=127 time=0.275 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=127 time=0.274 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=127 time=0.280 ms
64 bytes from 192.168.0.2: icmp_seq=5 ttl=127 time=0.305 ms
64 bytes from 192.168.0.2: icmp_seq=6 ttl=127 time=0.305 ms
64 bytes from 192.168.0.2: icmp_seq=7 ttl=127 time=0.300 ms
64 bytes from 192.168.0.2: icmp_seq=8 ttl=127 time=0.281 ms
64 bytes from 192.168.0.2: icmp_seq=9 ttl=127 time=0.294 ms
^C
--- 192.168.0.2 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8180ms
rtt min/avg/max/mdev = 0.274/0.290/0.305/0.014 ms
[root@53fcc86a1c27 /]# 

 

I am using the DelugeVPN container, I just have it called deluge btw.

Share this post


Link to post

Thanks for that, thats a useful command !

 

I too can ping LAN IP addresses, I have noticed something odd though;

 

This if from within unraid:

 

root@unRAID:~# tracepath 192.168.1.1
1?: [LOCALHOST]                                         pmtu 1500
1:  192.168.1.1                                           0.546ms reached
1:  192.168.1.1                                           0.317ms reached
     Resume: pmtu 1500 hops 1 back 1

 

and this is from within the docker;

 

[root@823a00624032 /]# tracepath 192.168.1.1
1?: [LOCALHOST]                                         pmtu 1500
1:  send failed
1:  send failed
     Resume: pmtu 1500

 

now I'm inside I'll play about with it a bit and see if I can figure it out.

Share this post


Link to post

Thanks, but that's the thing, I know that will work but it works by bypassing privoxy altogether for the local subnet. The reason I didn't do that is because I wanted to check if privoxy could connect to the LAN and it couldn't which is why it can't connect to sab. I was just trying to diagnose the problem.

 

ok so to be clear on the issue/feature request:-

 

you want to be able to set cp to use privoxy to force cp to use the vpn when accessing index sites

you want cp to also be able to notify kodi/plex when a download completes, which of course would be a dest of your local lan

problem is cp cannot connect to local lan resources AND be configured to use privoxy

 

is this the problem?, or at least one of the scenario's you are trying to fix?.

Share this post


Link to post

Thanks, but that's the thing, I know that will work but it works by bypassing privoxy altogether for the local subnet. The reason I didn't do that is because I wanted to check if privoxy could connect to the LAN and it couldn't which is why it can't connect to sab. I was just trying to diagnose the problem.

 

ok so to be clear on the issue/feature request:-

 

you want to be able to set cp to use privoxy to force cp to use the vpn when accessing index sites

you want cp to also be able to notify kodi/plex when a download completes, which of course would be a dest of your local lan

problem is cp cannot connect to local lan resources AND be configured to use privoxy

 

is this the problem?, or at least one of the scenario's you are trying to fix?.

 

Correct, I think I've fixed the problem by;

 

commenting out this line out in privoxy config file;

#      permit-access  192.168.1.0/24

 

and adding the following iptables rules;

iptables -I INPUT -i eth0 -p tcp -s 192.168.1.0/24 -j ACCEPT

iptables -I OUTPUT -p tcp -d 192.168.1.0/24 -j ACCEPT

 

The IP addresses are the same as those specified in the LAN_NETWORK variable of the container so maybe this could be added to the docker so it persists?

 

All now seems to work as expected.

Share this post


Link to post

Thanks, but that's the thing, I know that will work but it works by bypassing privoxy altogether for the local subnet. The reason I didn't do that is because I wanted to check if privoxy could connect to the LAN and it couldn't which is why it can't connect to sab. I was just trying to diagnose the problem.

 

ok so to be clear on the issue/feature request:-

 

you want to be able to set cp to use privoxy to force cp to use the vpn when accessing index sites

you want cp to also be able to notify kodi/plex when a download completes, which of course would be a dest of your local lan

problem is cp cannot connect to local lan resources AND be configured to use privoxy

 

is this the problem?, or at least one of the scenario's you are trying to fix?.

 

Correct, I think I've fixed the problem by;

 

commenting out this line out in privoxy config file;

#      permit-access  192.168.1.0/24

 

and adding the following iptables rules;

iptables -I INPUT -i eth0 -p tcp -s 192.168.1.0/24 -j ACCEPT

iptables -I OUTPUT -p tcp -d 192.168.1.0/24 -j ACCEPT

 

The IP addresses are the same as those specified in the LAN_NETWORK variable of the container so maybe this could be added to the docker so it persists?

 

All now seems to work as expected.

 

thanks for that, done a bit of testing and come up with a slightly tighter config (the tighter the better, to prevent any chance of ip leakage), the below works for me in testing:-

 

# accept input from local lan to docker network (any port)
iptables -A INPUT -i eth0 -p tcp -s 192.168.1.0/24 -d 172.17.0.0/16 -j ACCEPT

# accept output from docker network to local lan (any port)
iptables -A OUTPUT -o eth0 -p tcp -s 172.17.0.0/16 -d 192.168.1.0/24 -j ACCEPT

 

btw not sure why you had to comment out permit-access in the privoxy config file, this isnt set by me?.

 

Share this post


Link to post

...btw not sure why you had to comment out permit-access in the privoxy config file, this isnt set by me?.

 

Ah, I must have set that myself then, I was using a lot of trial and error to work out what was going on.

 

# accept input from local lan to docker network (any port)
iptables -A INPUT -i eth0 -p tcp -s 192.168.1.0/24 -d 172.17.0.0/16 -j ACCEPT

# accept output from docker network to local lan (any port)
iptables -A OUTPUT -o eth0 -p tcp -s 172.17.0.0/16 -d 192.168.1.0/24 -j ACCEPT

 

works perfectly here, thanks.

 

And thanks for the docker, it makes the whole setup much easier than any other solution I've tried.

Share this post


Link to post

I've been trying to get this working and am having issues. I get the app to run and the vpn seems to be up but I can't access the webui from the local network.

 

If I set VPN_Enabled to no the WebUI comes up fine.

 

 

supervisord_log.txt

Share this post


Link to post

I've been trying to get this working and am having issues. I get the app to run and the vpn seems to be up but I can't access the webui from the local network.

 

If I set VPN_Enabled to no the WebUI comes up fine.

You have the port defined as 1198 is this correct for your provider? (shown in ovpn file)

 

Sent from my SM-G900F using Tapatalk

 

 

Share this post


Link to post

Hi, I'm having some trouble setting up this docker. I had it working previously but after recreating the docker I'm running into an issue where it hangs on launch. It seems to be stuck on

2017-01-06 15:56:44,266 DEBG 'start-script' stdout output:

Fri Jan 6 15:56:44 2017 Socket Buffers: R=[212992->1048576] S=[212992->1048576]

 

2017-01-06 15:56:44,316 DEBG 'start-script' stdout output:

Fri Jan 6 15:56:44 2017 UDPv4 link local: [undef]

Fri Jan 6 15:56:44 2017 UDPv4 link remote: [AF_INET]157.97.120.55:1195

 

After that, it just times out and retries endlessly. Not sure what to do, any help is appreciated.

Also, it works fine if VPN is disabled.

 

I'm running unRAID 6.2.4 and the latest version of the docker installed through community applications.

Here http://pastebin.com/Rwpv2aAx is the full log and here https://gyazo.com/3d5a2b93d029004439db316cedbdc63e are my docker settings.

Thanks

Share this post


Link to post

BinHex thanks for catching that, I was sure I had set it to 1194, but I've been through so many iterations of setups that apparently I messed it up the last time. I've got it correct now and the tunnel is staying up now but I still can't get to the webui.

 

Share this post


Link to post

So, I went back and copied a fresh copy of my OVPN file from provider and everything seems to be working ok now. Not sure what got messed up but it's working now.

 

Thanks for the help!

 

Was also wondering if there's a way to SabNzb to be able to use the same tunnel, or am I going to need to set it up seperately?

 

Thanks in advance

Share this post


Link to post

So, I went back and copied a fresh copy of my OVPN file from provider and everything seems to be working ok now. Not sure what got messed up but it's working now.

 

Thanks for the help!

 

Was also wondering if there's a way to SabNzb to be able to use the same tunnel, or am I going to need to set it up seperately?

 

Thanks in advance

You will have to setup sabnzbdvpn separately

 

Sent from my SM-G900F using Tapatalk

 

 

Share this post


Link to post

has this working for a while and randomly stopped.  did a fresh install and have everything i can think of.  i removed my vpn usrname and password.  any help would be awesome. 

 

please see attached

 

 

nvm just started working after an hour or so.  perhaps some down time for PIA???

super.txt

Share this post


Link to post

Hi, I'm having some trouble setting up this docker. I had it working previously but after recreating the docker I'm running into an issue where it hangs on launch. It seems to be stuck on

2017-01-06 15:56:44,266 DEBG 'start-script' stdout output:

Fri Jan 6 15:56:44 2017 Socket Buffers: R=[212992->1048576] S=[212992->1048576]

 

2017-01-06 15:56:44,316 DEBG 'start-script' stdout output:

Fri Jan 6 15:56:44 2017 UDPv4 link local: [undef]

Fri Jan 6 15:56:44 2017 UDPv4 link remote: [AF_INET]157.97.120.55:1195

 

After that, it just times out and retries endlessly. Not sure what to do, any help is appreciated.

Also, it works fine if VPN is disabled.

 

I'm running unRAID 6.2.4 and the latest version of the docker installed through community applications.

Here http://pastebin.com/Rwpv2aAx is the full log and here https://gyazo.com/3d5a2b93d029004439db316cedbdc63e are my docker settings.

Thanks

 

your lan_network value is incorrect, see here for help on setting this correctly:-

 

FAQ Q7. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678

Share this post


Link to post

I just installed this docker in unRAID 6.2.4 and when I try to go to the webUI I get a "connection refused" in chrome and "unable to connect" in firefox . When it hit the webUI option it takes me to xxx.xxx.xxx.xxx:8112

Can you post your supervisord.log file please, it's in /config

 

Sent from my SM-G900F using Tapatalk

 

 

Share this post


Link to post

your lan_network value is incorrect, see here for help on setting this correctly:-

 

FAQ Q7. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678

 

Ok, I see where I messed it up. The correct ip is 192.168.1.XX and the subnet is 255.255.255.0 so I set it to 192.168.1.0/24.

Unfortunately, there isn't any change and it is still stuck on

2017-01-10 20:07:49,793 DEBG 'start-script' stdout output:

Tue Jan 10 20:07:49 2017 UDPv4 link local: [undef]

Tue Jan 10 20:07:49 2017 UDPv4 link remote: [AF_INET]157.97.120.51:1195

 

Here http://pastebin.com/cJm2dSqn is new the log although I don't think anything has changed.

 

Share this post


Link to post

your lan_network value is incorrect, see here for help on setting this correctly:-

 

FAQ Q7. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678

 

Ok, I see where I messed it up. The correct ip is 192.168.1.XX and the subnet is 255.255.255.0 so I set it to 192.168.1.0/24.

Unfortunately, there isn't any change and it is still stuck on

2017-01-10 20:07:49,793 DEBG 'start-script' stdout output:

Tue Jan 10 20:07:49 2017 UDPv4 link local: [undef]

Tue Jan 10 20:07:49 2017 UDPv4 link remote: [AF_INET]157.97.120.51:1195

 

Here http://pastebin.com/cJm2dSqn is new the log although I don't think anything has changed.

 

please can you repost the complete log, this is missing the crucial top section (from the banner onwards) which includes what the env vars are defined as.

Share this post


Link to post

your lan_network value is incorrect, see here for help on setting this correctly:-

 

FAQ Q7. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678

 

Ok, I see where I messed it up. The correct ip is 192.168.1.XX and the subnet is 255.255.255.0 so I set it to 192.168.1.0/24.

Unfortunately, there isn't any change and it is still stuck on

2017-01-10 20:07:49,793 DEBG 'start-script' stdout output:

Tue Jan 10 20:07:49 2017 UDPv4 link local: [undef]

Tue Jan 10 20:07:49 2017 UDPv4 link remote: [AF_INET]157.97.120.51:1195

 

Here http://pastebin.com/cJm2dSqn is new the log although I don't think anything has changed.

 

please can you repost the complete log, this is missing the crucial top section (from the banner onwards) which includes what the env vars are defined as.

 

Sorry about that, the full log file is attached.

 

ok thanks for that, so in short your config is a bit of a mess, first question is are you using vpn provider PIA or not?, if you are then you should set the VPN_PROV to pia and set the VPN_PORT to 1198, if you aren't using PIA then you should change the VPN_REMOTE to the correct endpoint, as it currently pointing at the default PIA endpoint (nl.privateinternetaccess.com), either way its wrong.

 

i suspect that your not using pia, as your username isnt in the correct format (please change your vpn provider password too, as youve included this in plain text), if this is the case then download the ovpn file from your provider, open it with notepad++, make a note of the port and remote hostname and correct the values for both/either (VPN_REMOTE and VPN_PORT key values).

Share this post


Link to post

your lan_network value is incorrect, see here for help on setting this correctly:-

 

FAQ Q7. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678

 

Ok, I see where I messed it up. The correct ip is 192.168.1.XX and the subnet is 255.255.255.0 so I set it to 192.168.1.0/24.

Unfortunately, there isn't any change and it is still stuck on

2017-01-10 20:07:49,793 DEBG 'start-script' stdout output:

Tue Jan 10 20:07:49 2017 UDPv4 link local: [undef]

Tue Jan 10 20:07:49 2017 UDPv4 link remote: [AF_INET]157.97.120.51:1195

 

Here http://pastebin.com/cJm2dSqn is new the log although I don't think anything has changed.

 

please can you repost the complete log, this is missing the crucial top section (from the banner onwards) which includes what the env vars are defined as.

 

Sorry about that, the full log file is attached.

 

ok thanks for that, so in short your config is a bit of a mess, first question is are you using vpn provider PIA or not?, if you are then you should set the VPN_PROV to pia and set the VPN_PORT to 1198, if you aren't using PIA then you should change the VPN_REMOTE to the correct endpoint, as it currently pointing at the default PIA endpoint (nl.privateinternetaccess.com), either way its wrong.

 

i suspect that your not using pia, as your username isnt in the correct format (please change your vpn provider password too, as youve included this in plain text), if this is the case then download the ovpn file from your provider, open it with notepad++, make a note of the port and remote hostname and correct the values for both/either (VPN_REMOTE and VPN_PORT key values).

 

Success! Switched the remote address and its working now. Thanks for all your help!

Share this post


Link to post

Hi,

 

My VPN is my own server using Pritunl. There's no username/password, it only uses .ovpn files. How can I make this work? I removed credentials.conf, and VPN_USER and VPN_PASS are blank, but on every restart it gets restored.

 

Edit: I managed to get it working.

Share this post


Link to post

Can't access webUI - unraid 6.2.4

 

Hello, I can't access the Webui with the 8112.

First, I've created /config/Openvpn folder where I put my ovpn + crt files.

You'll find my parameters and logs below :

 

-> Logs

 

017-01-13 10:36:22.947284 [info] Starting Supervisor...
2017-01-13 10:36:23,044 CRIT Set uid to user 0
2017-01-13 10:36:23,044 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-01-13 10:36:23,046 INFO supervisord started with pid 1
2017-01-13 10:36:24,047 INFO spawned: 'start-script' with pid 108
2017-01-13 10:36:24,048 INFO spawned: 'webui-script' with pid 109
2017-01-13 10:36:24,049 INFO spawned: 'deluge-script' with pid 110
2017-01-13 10:36:24,049 INFO spawned: 'privoxy-script' with pid 111
2017-01-13 10:36:24,053 DEBG 'deluge-script' stdout output:
[info] deluge config file already exists, skipping copy

2017-01-13 10:36:24,053 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-01-13 10:36:24,053 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-01-13 10:36:24,053 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-01-13 10:36:24,053 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-01-13 10:36:24,053 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-01-13 10:36:24,054 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-01-13 10:36:24,054 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-01-13 10:36:24,054 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47203629246800 for <Subprocess at 47203629202464 with name privoxy-script in state RUNNING> (stderr)>
2017-01-13 10:36:24,054 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47203629246368 for <Subprocess at 47203629202464 with name privoxy-script in state RUNNING> (stdout)>
2017-01-13 10:36:24,054 INFO exited: privoxy-script (exit status 0; expected)
2017-01-13 10:36:24,054 DEBG received SIGCLD indicating a child quit
2017-01-13 10:36:24,058 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2017-01-13 10:36:24,060 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2017-01-13 10:36:24,061 DEBG 'start-script' stdout output:
[warn] VPN provider remote port incorrect, overriding to 1198

2017-01-13 10:36:24,068 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2017-01-13 10:36:24,082 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
[info] Setting permissions recursively on /config/openvpn...

2017-01-13 10:36:24,085 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-01-13 10:36:24,087 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-01-13 10:36:24,088 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-01-13 10:36:24,090 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-01-13 10:36:24,092 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2017-01-13 10:36:24,092 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-01-13 10:36:24,093 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.3

2017-01-13 10:36:24,093 DEBG 'start-script' stdout output:
192.168.1.0/24 via 172.17.0.1 dev eth0
--------------------

2017-01-13 10:36:24,094 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-01-13 10:36:24,109 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-01-13 10:36:24,109 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 -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 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 -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

2017-01-13 10:36:24,110 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2017-01-13 10:36:24,116 DEBG 'start-script' stdout output:
Fri Jan 13 10:36:24 2017 OpenVPN 2.3.12 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [iPv6] built on Aug 24 2016
Fri Jan 13 10:36:24 2017 library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.09
Fri Jan 13 10:36:24 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 10:36:24,130 DEBG 'start-script' stdout output:
Fri Jan 13 10:36:24 2017 UDPv4 link local: [undef]
Fri Jan 13 10:36:24 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1198

2017-01-13 10:37:24,388 DEBG 'start-script' stdout output:
Fri Jan 13 10:37:24 2017 [uNDEF] Inactivity timeout (--ping-restart), restarting
Fri Jan 13 10:37:24 2017 SIGUSR1[soft,ping-restart] received, process restarting

2017-01-13 10:37:26,572 DEBG 'start-script' stdout output:
Fri Jan 13 10:37:26 2017 UDPv4 link local: [undef]
Fri Jan 13 10:37:26 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1198

2017-01-13 10:38:26,694 DEBG 'start-script' stdout output:
Fri Jan 13 10:38:26 2017 [uNDEF] Inactivity timeout (--ping-restart), restarting

2017-01-13 10:38:26,695 DEBG 'start-script' stdout output:
Fri Jan 13 10:38:26 2017 SIGUSR1[soft,ping-restart] received, process restarting

2017-01-13 10:38:28,716 DEBG 'start-script' stdout output:
Fri Jan 13 10:38:28 2017 UDPv4 link local: [undef]
Fri Jan 13 10:38:28 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1198

2017-01-13 10:39:21,759 WARN received SIGTERM indicating exit request
2017-01-13 10:39:21,760 INFO waiting for start-script, webui-script, deluge-script to die
2017-01-13 10:39:22,761 DEBG killing deluge-script (pid 110) with signal SIGTERM
2017-01-13 10:39:22,761 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 47203629075992 for <Subprocess at 47203629203040 with name deluge-script in state STOPPING> (stdout)>
2017-01-13 10:39:22,762 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 47203629245792 for <Subprocess at 47203629203040 with name deluge-script in state STOPPING> (stderr)>
2017-01-13 10:39:22,762 INFO stopped: deluge-script (terminated by SIGTERM)
2017-01-13 10:39:22,762 DEBG received SIGCLD indicating a child quit
2017-01-13 10:39:22,762 DEBG killing webui-script (pid 109) with signal SIGTERM
2017-01-13 10:39:22,762 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47203629200376 for <Subprocess at 47203629202176 with name webui-script in state STOPPING> (stderr)>
2017-01-13 10:39:22,762 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47203629201384 for <Subprocess at 47203629202176 with name webui-script in state STOPPING> (stdout)>
2017-01-13 10:39:22,762 INFO stopped: webui-script (terminated by SIGTERM)
2017-01-13 10:39:22,762 DEBG received SIGCLD indicating a child quit
2017-01-13 10:39:22,762 DEBG killing start-script (pid 108) with signal SIGTERM
2017-01-13 10:39:22,762 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47203629202104 for <Subprocess at 47203629201960 with name start-script in state STOPPING> (stdout)>
2017-01-13 10:39:22,762 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47203629201672 for <Subprocess at 47203629201960 with name start-script in state STOPPING> (stderr)>
2017-01-13 10:39:22,762 INFO stopped: start-script (terminated by SIGTERM)
2017-01-13 10:39:22,762 DEBG received SIGCLD indicating a child quit

 

-> Parameters : into the picture attached

 

Could you please help me?

 

Thanks

Deluge_Setup_1.JPG.c1dae5f9ac0400ee1e99011991bfa09e.JPG

Deluge_Setup_2.JPG.f4565d9240a3ad9bb60a7e58a5b54e1f.JPG

Share this post


Link to post

You have the VPN_PROV (ider) set to "PIA". If you are using PIA then change your VPN_REMOTE to a PIA one, otherwise change VPN_PROV to 'custom'.

Share this post


Link to post

OK, I change to custom :

 

2017-01-13 11:08:00,697 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2017-01-13 11:08:00,703 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:00 2017 OpenVPN 2.3.12 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [iPv6] built on Aug 24 2016
Fri Jan 13 11:08:00 2017 library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.09
Fri Jan 13 11:08:00 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:00,897 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:00 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:00 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:00,961 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:00 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:00 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:00 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:00 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:00 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:00,961 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:00 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:03,147 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:03 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:03 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:03,167 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:03 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:03,211 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:03 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:03 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:03 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:03 2017 TLS Error: TLS object -> incoming plaintext read error

2017-01-13 11:08:03,211 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:03 2017 TLS Error: TLS handshake failed
Fri Jan 13 11:08:03 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:05,222 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:05 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:05 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:05,243 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:05 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:05,280 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:05 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:05 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:05 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:05 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:05 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:05,280 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:05 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:07,295 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:07 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:07 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:07,316 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:07 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:07,365 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:07 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:07 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:07 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:07 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:07 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:07,365 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:07 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:09,374 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:09 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:09 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:09,395 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:09 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:09,438 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:09 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN

2017-01-13 11:08:09,438 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:09 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:09 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:09 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:09 2017 TLS Error: TLS handshake failed
Fri Jan 13 11:08:09 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:11,630 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:11 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:11 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:11,651 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:11 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:11,704 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:11 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:11 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:11 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:11 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:11 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:11,705 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:11 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:13,715 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:13 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:13 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:13,735 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:13 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:13,788 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:13 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:13 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:13 2017 TLS_ERROR: BIO read tls_read_plaintext error

2017-01-13 11:08:13,788 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:13 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:13 2017 TLS Error: TLS handshake failed
Fri Jan 13 11:08:13 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:15,800 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:15 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:15 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:15,865 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:15 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:16,017 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:16 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:16 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:16 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:16 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:16 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:16,018 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:16 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:18,028 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:18 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:18 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:48,955 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:48 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:49,005 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:49 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:49 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

2017-01-13 11:08:49,005 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:49 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:49 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:49 2017 TLS Error: TLS handshake failed
Fri Jan 13 11:08:49 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:51,016 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:51 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:51 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:51,049 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:51 2017 WARNING: file 'credentials.conf' is group or others accessible

2017-01-13 11:08:51,107 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:51 2017 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN
Fri Jan 13 11:08:51 2017 OpenSSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Fri Jan 13 11:08:51 2017 TLS_ERROR: BIO read tls_read_plaintext error
Fri Jan 13 11:08:51 2017 TLS Error: TLS object -> incoming plaintext read error
Fri Jan 13 11:08:51 2017 TLS Error: TLS handshake failed

2017-01-13 11:08:51,108 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:51 2017 SIGUSR1[soft,tls-error] received, process restarting

2017-01-13 11:08:52,697 WARN received SIGTERM indicating exit request
2017-01-13 11:08:52,697 INFO waiting for start-script, webui-script, deluge-script to die
2017-01-13 11:08:53,119 DEBG 'start-script' stdout output:
Fri Jan 13 11:08:53 2017 UDPv4 link local: [undef]
Fri Jan 13 11:08:53 2017 UDPv4 link remote: [AF_INET]81.171.85.68:1194

2017-01-13 11:08:53,119 DEBG killing deluge-script (pid 110) with signal SIGTERM
2017-01-13 11:08:53,120 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 47815994424856 for <Subprocess at 47815994551904 with name deluge-script in state STOPPING> (stdout)>
2017-01-13 11:08:53,120 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 47815994594656 for <Subprocess at 47815994551904 with name deluge-script in state STOPPING> (stderr)>
2017-01-13 11:08:53,120 INFO stopped: deluge-script (terminated by SIGTERM)
2017-01-13 11:08:53,120 DEBG received SIGCLD indicating a child quit
2017-01-13 11:08:53,120 DEBG killing webui-script (pid 109) with signal SIGTERM
2017-01-13 11:08:53,120 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47815994549240 for <Subprocess at 47815994551040 with name webui-script in state STOPPING> (stderr)>
2017-01-13 11:08:53,120 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 47815994550248 for <Subprocess at 47815994551040 with name webui-script in state STOPPING> (stdout)>
2017-01-13 11:08:53,120 INFO stopped: webui-script (terminated by SIGTERM)
2017-01-13 11:08:53,121 DEBG received SIGCLD indicating a child quit
2017-01-13 11:08:53,121 DEBG killing start-script (pid 108) with signal SIGTERM
2017-01-13 11:08:53,121 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47815994550968 for <Subprocess at 47815994550824 with name start-script in state STOPPING> (stdout)>
2017-01-13 11:08:53,121 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47815994550536 for <Subprocess at 47815994550824 with name start-script in state STOPPING> (stderr)>
2017-01-13 11:08:53,121 INFO stopped: start-script (terminated by SIGTERM)
2017-01-13 11:08:53,121 DEBG received SIGCLD indicating a child quit

 

New issues :)

Thanks !!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now