[Support] binhex - rTorrentVPN


Recommended Posts

On 3/12/2018 at 7:44 PM, DigitalLF said:

But the warnings are not a error correct. but i still want to secure my credentials :)

 

Just change the permissions on the file so that only the user has access:

chmod 600 /mnt/cache/appdata/binhex-rtorrentvpn/openvpn/ovpn-tls.key

 

  • Like 1
Link to comment
Just now, DigitalLF said:

 

Ok and 600 is the correct number for that scenario? Thank you =)

 

Don't look at it as 600  (six hundred).

 

It's 6, 0, 0... or more accurately, 110 000 000

 

Linux permissions are set as 3 octal (3 bit) values... when you convert octal to decimal, the place values are 4,2,1... so 110 = 6.

 

The first 3 bits (the 6) define read, write and execute for the user... the next three (0) define it for the group, and the next three (0) define it for everyone else.

 

So the 6 (110 binary) means that the user has read and write, but no execute... the zeros for group and other mean that only the user has permissions.

 

see: https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation  or any article on linux file permissions... good thing to understand.

 

But yes... 600 is correct here.

  • Like 1
Link to comment
20 minutes ago, DigitalLF said:

Hm.. I don't know why i can't seed. I can get at MOST 100kb/s speed across all torrents with or without VPN. Anyone know what could be wrong?

 

Usually this means that you don't have a port mapped to allow incoming connections. 

 

You will still be able to seed, but it may take some time before you find leechers who can connect to you (since your node must make outgoing connections only).

 

Your VPN host may allow port mapping... and if so, you need to set it up with them and set it in your rtorrent.rc file's port range like so (use the port number provided by your VPN host)

# Port range to use for listening.
port_range = 18586-18586

Alternatively... your system may not be detecting your external IP properly... and therefore it is reporting the wrong address to the tracker (which means that other systems cannot connect to you).  I was discussing this with BinHex a page back since that is my issue.

 

Finally... you just may not have anyone who wants your files... or they do, but because you have been having issues, they have blacklisted your IP for a while.

Link to comment
Just now, c0nfuzed said:

 

Usually this means that you don't have a port mapped to allow incoming connections. 

 

You will still be able to seed, but it may take some time before you find leechers who can connect to you (since your node must make outgoing connections only).

 

Your VPN host may allow port mapping... and if so, you need to set it up with them and set it in your rtorrent.rc file's port range like so (use the port number provided by your VPN host)


# Port range to use for listening.
port_range = 18586-18586

Alternatively... your system may not be detecting your external IP properly... and therefore it is reporting the wrong address to the tracker (which means that other systems cannot connect to you).  I was discussing this with BinHex a page back since that is my issue.

 

Finally... you just may not have anyone who wants your files... or they do, but because you have been having issues, they have blacklisted your IP for a while.

 

But the thing is that i use a VPN where i have to pay extra for a public IP and no filtering so if i understand it correctly only _IF_ binhex setup some sort off iptables to block incoming connections on my random port span (8 ports) there should not be a problem i just now tried to add "encryption = whatever_was_before, try_outgoing" so i added try_outgoing and it went from 100kb/s to a bit once i saw 500kb/s on a new file so i can see that there are a lot of leachers but i have 1250 kB/s upload. Could it be that the data is on my array? Could it be something about to high read/write for it to handle?

Link to comment
1 hour ago, DigitalLF said:

Could it be that the data is on my array? Could it be something about to high read/write for it to handle?

Very doubtful... if your storage is that slow, you have bigger issues.

 

1 hour ago, DigitalLF said:

But the thing is that i use a VPN where i have to pay extra for a public IP and no filtering 

That doesn't make sense... why would you want a anonymous VPN if your going to have a dedicated IP address.  The advantage of most VPN's is that there are many users behind one IP... so there is no obvious way to connect activity to an individual user unless the VPN provider is maintaining logs.

 

I would need to know more about your VPN provider to figure out why your having slow speeds.  As far as how the docker image is built, I don't believe there is any filtering being done... which is a bit scary if you have a dedicated IP and no filtering on inbound traffic (I would want an inbound firewall blocking everything but my listening ports).

Link to comment

hello, not sure whats changed with the new update but I cant get openvpn to work with PIA using openvpn-ip anymore

 

Log file is showing:

2018-03-14 20:57:36,641 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2018-03-14 20:57:36,646 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 WARNING: file 'credentials.conf' is group or others accessible
Wed Mar 14 20:57:36 2018 OpenVPN 2.4.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017
Wed Mar 14 20:57:36 2018 library versions: OpenSSL 1.1.0f  25 May 2017, LZO 2.10

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
[info] OpenVPN started

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]109.201.154.183:1198

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 UDP link local: (not bound)

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 UDP link remote: [AF_INET]109.201.154.183:1198

2018-03-14 20:57:36,648 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 write UDP: Operation not permitted (code=1)

2018-03-14 20:57:39,088 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:39 2018 write UDP: Operation not permitted (code=1)

If i try PIA openvpn-tcp it works fine, but its very very slow. 

 

Would be really grateful for any help 

Link to comment
6 minutes ago, Ahmed said:

hello, not sure whats changed with the new update but I cant get openvpn to work with PIA using openvpn-ip anymore

 

Log file is showing:


2018-03-14 20:57:36,641 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2018-03-14 20:57:36,646 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 WARNING: file 'credentials.conf' is group or others accessible
Wed Mar 14 20:57:36 2018 OpenVPN 2.4.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017
Wed Mar 14 20:57:36 2018 library versions: OpenSSL 1.1.0f  25 May 2017, LZO 2.10

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
[info] OpenVPN started

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]109.201.154.183:1198

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 UDP link local: (not bound)

2018-03-14 20:57:36,647 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 UDP link remote: [AF_INET]109.201.154.183:1198

2018-03-14 20:57:36,648 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:36 2018 write UDP: Operation not permitted (code=1)

2018-03-14 20:57:39,088 DEBG 'start-script' stdout output:
Wed Mar 14 20:57:39 2018 write UDP: Operation not permitted (code=1)

If i try PIA openvpn-tcp it works fine, but its very very slow. 

 

Would be really grateful for any help 

 

follow the procedure in the link below:-

 

https://lime-technology.com/topic/44108-support-binhex-general/?do=findComment&comment=435831

Link to comment
1 hour ago, binhex said:

 

Ok thanks. I have attached a copy of the supervisord.log file (removed my pia login details). 

supervisord.log.txt

 

I did notice a difference in the logs 

Before:

 

2018-03-10 17:48:40.892760 [info] VPN_REMOTE defined as '109.201.154.183'
2018-03-10 17:48:40.914705 [info] VPN_PORT defined as '1198'
2018-03-10 17:48:40.936820 [info] VPN_PROTOCOL defined as 'udp'
2018-03-10 17:48:40.958032 [info] VPN_DEVICE_TYPE defined as 'tun0'

 

and after:

 

 

2018-03-14 22:39:46.979625 [info] VPN_REMOTE defined as '109.201.154.183'
2018-03-14 22:39:47.002382 [info] VPN_PORT defined as '109
2018-03-14 22:39:47.002426 1198'
2018-03-14 22:39:47.028200 [info] VPN_PROTOCOL defined as 'udp'
2018-03-14 22:39:47.051138 [info] VPN_DEVICE_TYPE defined as 'tun0'

 

Looks like its missing the VPN_Port defined as '1198' and is taking the first part of the IP 109, after the last update. 

 

 

Edited by Ahmed
  • Like 1
Link to comment
4 hours ago, Ahmed said:

 

Ok thanks. I have attached a copy of the supervisord.log file (removed my pia login details). 

supervisord.log.txt

 

I did notice a difference in the logs 

Before:

 


2018-03-10 17:48:40.892760 [info] VPN_REMOTE defined as '109.201.154.183'
2018-03-10 17:48:40.914705 [info] VPN_PORT defined as '1198'
2018-03-10 17:48:40.936820 [info] VPN_PROTOCOL defined as 'udp'
2018-03-10 17:48:40.958032 [info] VPN_DEVICE_TYPE defined as 'tun0'

 

and after:

 

 


2018-03-14 22:39:46.979625 [info] VPN_REMOTE defined as '109.201.154.183'
2018-03-14 22:39:47.002382 [info] VPN_PORT defined as '109
2018-03-14 22:39:47.002426 1198'
2018-03-14 22:39:47.028200 [info] VPN_PROTOCOL defined as 'udp'
2018-03-14 22:39:47.051138 [info] VPN_DEVICE_TYPE defined as 'tun0'

 

Looks like its missing the VPN_Port defined as '1198' and is taking the first part of the IP 109, after the last update. 

 

 

 

i did spot that in your log and i fixed it up (currently still building) however i would strongly suggest you ditch pointing directly at a single ip address and instead use the hostname, using an ip is very prone to breakage should that endpoint go down/become retired you will be unable to establish a tunnel, as has been seen numerous times on the forum here.

  • Like 1
Link to comment
19 hours ago, c0nfuzed said:

Very doubtful... if your storage is that slow, you have bigger issues.

 

That doesn't make sense... why would you want a anonymous VPN if your going to have a dedicated IP address.  The advantage of most VPN's is that there are many users behind one IP... so there is no obvious way to connect activity to an individual user unless the VPN provider is maintaining logs.

 

I would need to know more about your VPN provider to figure out why your having slow speeds.  As far as how the docker image is built, I don't believe there is any filtering being done... which is a bit scary if you have a dedicated IP and no filtering on inbound traffic (I would want an inbound firewall blocking everything but my listening ports).

 

I'm using www.ovpn.com the reason why i payed 2USD for a Public IPV4 was that there even with the port forward in place i could not seed at all. I know it most be something i'm doing wrong but i cannot figure out what. i also had to create the .ovpn file to make it work but i think i did ok!

 

remote VPNSERVERSOMETHING.ovpn.com 1196
#VPNSERVERSOMETHING is something else in my conf
client
dev tun
proto udp
remote-random
mute-replay-warnings
replay-window 256
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
comp-lzo
verb 1
persist-key
ca /config/openvpn/ovpn-ca.crt
tls-auth /config/openvpn/ovpn-tls.key 1

 

Link to comment
6 minutes ago, DigitalLF said:

I'm using www.ovpn.com the reason why i payed 2USD for a Public IPV4 was that there even with the port forward in place i could not seed at all. I know it most be something i'm doing wrong but i cannot figure out what. i also had to create the .ovpn file to make it work but i think i did ok!

 

Your .ovpn looks ok, but why not download the configuration files from https://www.ovpn.com/en/guides/debian (or elsewhere in the guides)?  It's possible that yyou used an encryption cipher that is not being accelerated on the other end... though unlikely.

 

Its possible that your ISP is causing trouble for you... you might try switching to TCP and port 443... while UDP is usually faster, running your VPN on TCP 443 disguises it as standard SSL web traffic and your ISP is far less likely to mess with your speeds.  See: https://www.ovpn.com/en/faq/client/connect-using-tcp-443

 

in your config, change the following lines:

remote VPNSERVERSOMETHING.ovpn.com 443
.
.
.
proto tcp
.
.
.

You may also want to confirm that your system is reporting the correct IP to the trackers... I usually check this in rutorrent > settings > BitTorrent > IP/HostName to report to tracker.  You will also find it by looking at the supervisord.log.  If it's detecting the wrong external IP (as mine is) then external clients won't know where to go to download things.  The last post by BinHex suggests that he is fixing something that may be related to this.

 

 

  • Like 1
Link to comment
1 hour ago, c0nfuzed said:

 

Your .ovpn looks ok, but why not download the configuration files from https://www.ovpn.com/en/guides/debian (or elsewhere in the guides)?  It's possible that yyou used an encryption cipher that is not being accelerated on the other end... though unlikely.

 

Its possible that your ISP is causing trouble for you... you might try switching to TCP and port 443... while UDP is usually faster, running your VPN on TCP 443 disguises it as standard SSL web traffic and your ISP is far less likely to mess with your speeds.  See: https://www.ovpn.com/en/faq/client/connect-using-tcp-443

 

in your config, change the following lines:


remote VPNSERVERSOMETHING.ovpn.com 443
.
.
.
proto tcp
.
.
.

You may also want to confirm that your system is reporting the correct IP to the trackers... I usually check this in rutorrent > settings > BitTorrent > IP/HostName to report to tracker.  You will also find it by looking at the supervisord.log.  If it's detecting the wrong external IP (as mine is) then external clients won't know where to go to download things.  The last post by BinHex suggests that he is fixing something that may be related to this.

 

 

 

EDIT: Might be fixed without more changes then "try_outgoing" in rtorrent.rc or well at least i now see "2 (4) peers" so at least i connect to some of them.

but i will know more tomorrow! (2 in the morning)

 

 

------------------------------------------------------------------------------------------------------------------------------------------------------------

Longer story.

 

ESXi 6.5 u1 with two VM, pfSense 2.4.2 and unRAID 6.4.1.

 

and PCI- passthrough for my HBA card "Supermicro AOCS3008L-L8e" to unRAID

and PCI- passthrough for my NIC card "Supermicro i350 2-port" to pfSense

 

about a month ago i removed two VM "Windows" and "Linux" to make space for unRAID to take over and i removed my LSI raid card and installed this HBA card and in unRAID i now get 50mb/s write speed on my array that consist of 5, 8tb red (not pro) drives and a NVMe SSD for cache.

 

the .OVPN files i tried and they did not work so i had to manually clean them up a bit but there might have been something else because later i found out that binhex runs a cleanup script for .OVPN files. encryption cipher was just copied not changed unless binhex changes it.

 

I also checked my ISP and they do not block VPN in anyway we are spoiled with 100/10mbit here.

 

ip is correct. You can add this MAGNET in torrent magnet:?xt=urn:btih:be5eab290aa75385a245ca6e461893f57dc8a0aa&dn=ipMagnet+Tracking+Link&tr=http%3A%2F%2Fipmagnet.services.cbcdn.com%3A80%2F to just be blocked with a error message in your torrent app that will give you the IP that the tracker gets. (its not a download just ip checker) i also double checked in rutorrent. D/L is about 100mbit so nothing wrong with that.

 

this used to work in my Windows VM but everything about unRAID is new to me.

 

 

 

Edited by DigitalLF
Link to comment
On 15/03/2018 at 8:28 AM, Ahmed said:

Also I left it as the IP as it was the default config from PIA

 

that's not true btw, the default ovpn configuration files do not reference particular endpoints via ip address, see here for a list of available ovpn files from pia:-

 

https://helpdesk.privateinternetaccess.com/hc/en-us/articles/218984968-What-is-the-difference-between-the-OpenVPN-config-files-on-your-website-

Link to comment

Hi, so I noticed earlier that my rtorrent docker has gone done. Looking at the logs, it seems it's having curl issues?
 

2018-03-20 07:46:16,258 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 auth-token received, disabling auth-nocache for the authentication token

2018-03-20 07:46:16,258 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 TUN/TAP device tun0 opened
Tue Mar 20 07:46:16 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Mar 20 07:46:16 2018 /usr/bin/ip link set dev tun0 up mtu 1500

2018-03-20 07:46:16,260 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 /usr/bin/ip addr add dev tun0 local 10.31.1.6 peer 10.31.1.5

2018-03-20 07:46:16,261 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 /root/openvpnup.sh tun0 1500 1560 10.31.1.6 10.31.1.5 init

2018-03-20 07:46:16,268 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 Initialization Sequence Completed

2018-03-20 07:46:16,294 DEBG 'rtorrent-script' stdout output:
[info] rTorrent not running
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.31.1.6 different, marking for reconfigure

2018-03-20 07:46:16,430 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=XXXXXXX...

2018-03-20 07:46:16,964 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 12 retries left

2018-03-20 07:46:16,965 DEBG 'start-script' stdout output:
[info] Retrying in 10 secs...

2018-03-20 07:46:17,695 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 5.157.7.179

2018-03-20 07:46:27,630 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 11 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:38,297 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 10 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:48,634 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 9 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:58,970 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 8 retries left
[info] Retrying in 10 secs...

Any ideas what might be happening?

I've already tried replacing the openvpn configs with freshly downloaded copies and my VPN credentials are valid. I'm also able to ping "209.222.18.222:2000".

Link to comment
15 hours ago, Ryonez said:

Hi, so I noticed earlier that my rtorrent docker has gone done. Looking at the logs, it seems it's having curl issues?
 


2018-03-20 07:46:16,258 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 auth-token received, disabling auth-nocache for the authentication token

2018-03-20 07:46:16,258 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 TUN/TAP device tun0 opened
Tue Mar 20 07:46:16 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Mar 20 07:46:16 2018 /usr/bin/ip link set dev tun0 up mtu 1500

2018-03-20 07:46:16,260 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 /usr/bin/ip addr add dev tun0 local 10.31.1.6 peer 10.31.1.5

2018-03-20 07:46:16,261 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 /root/openvpnup.sh tun0 1500 1560 10.31.1.6 10.31.1.5 init

2018-03-20 07:46:16,268 DEBG 'start-script' stdout output:
Tue Mar 20 07:46:16 2018 Initialization Sequence Completed

2018-03-20 07:46:16,294 DEBG 'rtorrent-script' stdout output:
[info] rTorrent not running
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.31.1.6 different, marking for reconfigure

2018-03-20 07:46:16,430 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=XXXXXXX...

2018-03-20 07:46:16,964 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 12 retries left

2018-03-20 07:46:16,965 DEBG 'start-script' stdout output:
[info] Retrying in 10 secs...

2018-03-20 07:46:17,695 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 5.157.7.179

2018-03-20 07:46:27,630 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 11 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:38,297 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 10 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:48,634 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 9 retries left
[info] Retrying in 10 secs...

2018-03-20 07:46:58,970 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 8 retries left
[info] Retrying in 10 secs...

Any ideas what might be happening?

I've already tried replacing the openvpn configs with freshly downloaded copies and my VPN credentials are valid. I'm also able to ping "209.222.18.222:2000".

 

please follow the procedure in the link below:-

 

https://lime-technology.com/topic/44108-support-binhex-general/?do=findComment&comment=435831

Link to comment
8 hours ago, binhex said:

 

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

2018-03-21 07:22:54.752017 [info] Host is running unRAID
2018-03-21 07:22:54.849874 [info] System information Linux 1d059c09da7d 4.14.26-unRAID #1 SMP PREEMPT Mon Mar 12 16:21:20 PDT 2018 x86_64 GNU/Linux
2018-03-21 07:22:55.383572 [info] PUID defined as '99'
2018-03-21 07:22:55.678955 [info] PGID defined as '100'
2018-03-21 07:22:56.688358 [info] UMASK defined as '000'
2018-03-21 07:22:56.728755 [info] Permissions already set for volume mappings
2018-03-21 07:22:56.826530 [info] VPN_ENABLED defined as 'yes'
2018-03-21 07:22:57.348865 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Sweden.ovpn
dos2unix: converting file /config/openvpn/Sweden.ovpn to Unix format...
2018-03-21 07:22:57.594015 [info] VPN remote line defined as 'remote sweden.privateinternetaccess.com 502'
2018-03-21 07:22:57.640991 [info] VPN_REMOTE defined as 'sweden.privateinternetaccess.com'
2018-03-21 07:22:57.687499 [info] VPN_PORT defined as '502'
2018-03-21 07:22:57.730230 [info] VPN_PROTOCOL defined as 'tcp-client'
2018-03-21 07:22:57.766712 [info] VPN_DEVICE_TYPE defined as 'tun0'
2018-03-21 07:22:57.806674 [info] VPN_PROV defined as 'pia'
2018-03-21 07:22:57.846117 [info] LAN_NETWORK defined as '10.1.1.0/24'
2018-03-21 07:22:57.884107 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4'
2018-03-21 07:22:57.932282 [info] VPN_USER defined as 'XXXXX'
2018-03-21 07:22:57.970247 [info] VPN_PASS defined as 'XXXXX'
2018-03-21 07:22:58.006010 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2018-03-21 07:22:58.040830 [info] STRICT_PORT_FORWARD defined as 'yes'
2018-03-21 07:22:58.076367 [info] ENABLE_PRIVOXY defined as 'no'
2018-03-21 07:22:58.111773 [info] ENABLE_FLOOD defined as 'no'
2018-03-21 07:22:58.147791 [info] ENABLE_AUTODL_IRSSI defined as 'no'
chsh: Shell not changed.
Changing shell for nobody.
2018-03-21 07:23:02.654809 [info] Starting Supervisor...
2018-03-21 07:23:06,722 CRIT Set uid to user 0
2018-03-21 07:23:06,722 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2018-03-21 07:23:06,773 INFO supervisord started with pid 7
2018-03-21 07:23:07,775 INFO spawned: 'start-script' with pid 145
2018-03-21 07:23:07,777 INFO spawned: 'rutorrent-script' with pid 146
2018-03-21 07:23:07,779 INFO spawned: 'flood-script' with pid 147
2018-03-21 07:23:07,781 INFO spawned: 'irssi-script' with pid 148
2018-03-21 07:23:07,783 INFO spawned: 'rtorrent-script' with pid 149
2018-03-21 07:23:07,786 INFO spawned: 'privoxy-script' with pid 150
2018-03-21 07:23:07,786 INFO reaped unknown pid 8
2018-03-21 07:23:07,787 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
BASH=/bin/bash
BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='4.4.12(1)-release'
DEBUG=true
DIRSTACK=()
ENABLE_AUTODL_IRSSI=no
ENABLE_FLOOD=no
ENABLE_PRIVOXY=no
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=1d059c09da7d
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=10.1.1.0/24
MACHTYPE=x86_64-unknown-linux-gnu
NAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=100
PHP_TZ=Pacific/Auckland
PIPESTATUS=([0]="0")
PPID=7
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Pacific/Auckland
UID=0
UMASK=000
VPN_CONFIG=/config/openvpn/Sweden.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=XXXXX
VPN_PORT=502
VPN_PROTOCOL=tcp-client
VPN_PROV=pia
VPN_REMOTE=sweden.privateinternetaccess.com
VPN_USER=XXXXX
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2018-03-21 07:23:07,787 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,787 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,787 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,788 INFO success: irssi-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,788 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,788 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-03-21 07:23:07,790 DEBG 'flood-script' stdout output:
[info] Flood not enabled, skipping starting Flood Web UI

2018-03-21 07:23:07,791 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 22465057618760 for <Subprocess at 22465048054528 with name flood-script in state RUNNING> (stdout)>
2018-03-21 07:23:07,791 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 22465048014792 for <Subprocess at 22465048054528 with name flood-script in state RUNNING> (stderr)>
2018-03-21 07:23:07,791 INFO exited: flood-script (exit status 0; expected)
2018-03-21 07:23:07,791 DEBG received SIGCLD indicating a child quit
2018-03-21 07:23:07,792 DEBG 'irssi-script' stdout output:
[info] Autodl-irssi not enabled, skipping startup

2018-03-21 07:23:07,792 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 22465048013496 for <Subprocess at 22465048054384 with name irssi-script in state RUNNING> (stderr)>
2018-03-21 07:23:07,792 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 22465048014432 for <Subprocess at 22465048054384 with name irssi-script in state RUNNING> (stdout)>
2018-03-21 07:23:07,793 INFO exited: irssi-script (exit status 0; expected)
2018-03-21 07:23:07,793 DEBG received SIGCLD indicating a child quit
2018-03-21 07:23:07,795 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2018-03-21 07:23:07,795 DEBG fd 32 closed, stopped monitoring <POutputDispatcher at 22465048102456 for <Subprocess at 22465048054168 with name privoxy-script in state RUNNING> (stdout)>
2018-03-21 07:23:07,796 DEBG fd 36 closed, stopped monitoring <POutputDispatcher at 22465048102888 for <Subprocess at 22465048054168 with name privoxy-script in state RUNNING> (stderr)>
2018-03-21 07:23:07,796 INFO exited: privoxy-script (exit status 0; expected)
2018-03-21 07:23:07,796 DEBG received SIGCLD indicating a child quit
2018-03-21 07:23:07,916 DEBG 'rtorrent-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2018-03-21 07:23:08,014 DEBG 'rtorrent-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2018-03-21 07:23:08,014 DEBG 'rtorrent-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-03-21 07:23:08,020 DEBG 'start-script' stdout output:
total 16
drwxrwxr-x 1 nobody users  116 Mar 21 07:22 .
drwxrwxr-x 1 nobody users  193 Mar 21 07:22 ..
-rwxrwxr-x 1 nobody users 2025 Mar 14 11:20 ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users   20 Mar 21 03:30 credentials.conf
-rwxrwxr-x 1 nobody users  869 Mar 14 11:20 crl.rsa.2048.pem
-rwxrwxr-x 1 nobody users  287 Mar 21 07:22 Sweden.ovpn

2018-03-21 07:23:08,125 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/Sweden.ovpn as follows...

2018-03-21 07:23:08,126 DEBG 'start-script' stdout output:
remote sweden.privateinternetaccess.com 502
client
dev tun
proto tcp-client
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass credentials.conf
comp-lzo
verb 1
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ

2018-03-21 07:23:08,338 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2018-03-21 07:23:08,342 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2018-03-21 07:23:08,346 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2018-03-21 07:23:08,349 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2018-03-21 07:23:08,352 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2018-03-21 07:23:08,356 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2018-03-21 07:23:08,360 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2018-03-21 07:23:12,113 DEBG 'start-script' stdout output:
[info] Remote VPN endpoint resolves to the following A record(s)...
5.157.7.18 5.157.7.154 91.108.183.18 37.203.209.27 5.153.233.50 91.108.183.178 5.157.38.34 5.153.233.26 5.157.7.42 5.157.38.18 91.108.183.186 5.157.7.10 5.153.234.58

2018-03-21 07:23:12,400 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2018-03-21 07:23:12,401 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 37.235.1.174
nameserver 8.8.8.8
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 8.8.4.4

2018-03-21 07:23:12,401 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint sweden.privateinternetaccess.com

2018-03-21 07:23:12,654 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 35678
;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; sweden.privateinternetaccess.com.	IN	A

;; ANSWER SECTION:
sweden.privateinternetaccess.com.	257	IN	A	5.157.7.18
sweden.privateinternetaccess.com.	257	IN	A	5.157.7.154
sweden.privateinternetaccess.com.	257	IN	A	91.108.183.18
sweden.privateinternetaccess.com.	257	IN	A	37.203.209.27
sweden.privateinternetaccess.com.	257	IN	A	5.153.233.50
sweden.privateinternetaccess.com.	257	IN	A	91.108.183.178
sweden.privateinternetaccess.com.	257	IN	A	5.157.38.34
sweden.privateinternetaccess.com.	257	IN	A	5.153.233.26
sweden.privateinternetaccess.com.	257	IN	A	5.157.7.42
sweden.privateinternetaccess.com.	257	IN	A	5.157.38.18
sweden.privateinternetaccess.com.	257	IN	A	91.108.183.186
sweden.privateinternetaccess.com.	257	IN	A	5.157.7.10
sweden.privateinternetaccess.com.	257	IN	A	5.153.234.58

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 221 msec
;; SERVER: 209.222.18.218
;; WHEN: Wed Mar 21 07:23:12 2018
;; MSG SIZE  rcvd: 258

2018-03-21 07:23:12,654 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2018-03-21 07:23:12,655 DEBG 'start-script' stdout output:
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
172.17.0.5	1d059c09da7d

2018-03-21 07:23:12,659 DEBG 'start-script' stdout output:
[info] Adding 10.1.1.0/24 as route via docker eth0

2018-03-21 07:23:12,660 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2018-03-21 07:23:12,661 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 
10.1.1.0/24 via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.5 

2018-03-21 07:23:12,661 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel

2018-03-21 07:23:12,663 DEBG 'start-script' stdout output:
Module                  Size  Used by
xt_nat                 16384  14
veth                   16384  0
xt_CHECKSUM            16384  1
iptable_mangle         16384  1
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
ebtable_filter         16384  0
ebtables               32768  1 ebtable_filter
ip6table_filter        16384  0
ip6_tables             24576  1 ip6table_filter
vhost_net              20480  0
tun                    32768  4 vhost_net
vhost                  32768  1 vhost_net
tap                    20480  1 vhost_net
ipt_MASQUERADE         16384  14
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_conntrack_ipv4      16384  39
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
iptable_filter         16384  1
ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat
nf_nat                 24576  3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
xfs                   626688  3
dm_crypt               36864  3
ecb                    16384  6
crypto_simd            16384  0
glue_helper            16384  0
cryptd                 20480  1 crypto_simd
aes_x86_64             20480  6
xts                    16384  3
algif_skcipher         16384  0
af_alg                 20480  1 algif_skcipher
dm_mod                106496  7 dm_crypt
dax                    20480  1 dm_mod
md_mod                 49152  3
bonding               110592  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             192512  0
kvm                   339968  1 kvm_intel
crc32c_intel           24576  0
intel_cstate           16384  0
intel_uncore           98304  0
i7core_edac            24576  0
e1000e                172032  0
i2c_i801               24576  0
i2c_core               36864  1 i2c_i801
pata_marvell           16384  0
mxm_wmi                16384  0
i5500_temp             16384  0
ahci                   36864  4
libahci                28672  1 ahci
ptp                    20480  1 e1000e
wmi                    20480  1 mxm_wmi
pps_core               16384  1 ptp
button                 16384  0
acpi_cpufreq           16384  0

2018-03-21 07:23:12,667 DEBG 'start-script' stdout output:
iptable_mangle         16384  1
ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat

2018-03-21 07:23:12,667 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2018-03-21 07:23:12,676 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2018-03-21 07:23:12,680 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.5

2018-03-21 07:23:12,683 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2018-03-21 07:23:12,726 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2018-03-21 07:23:13,470 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2018-03-21 07:23:13,472 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 tcp -m tcp --sport 502 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 10.1.1.0/24 -i eth0 -p tcp -m tcp --dport 5000 -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 tcp -m tcp --dport 502 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 10.1.1.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2018-03-21 07:23:13,472 DEBG 'start-script' stdout output:
--------------------

2018-03-21 07:23:13,473 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_REMOTE 'sweden.privateinternetaccess.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --remote 5.157.7.18 502 tcp-client --remote 5.157.7.154 502 tcp-client --remote 91.108.183.18 502 tcp-client --remote 37.203.209.27 502 tcp-client --remote 5.153.233.50 502 tcp-client --remote 91.108.183.178 502 tcp-client --remote 5.157.38.34 502 tcp-client --remote 5.153.233.26 502 tcp-client --remote 5.157.7.42 502 tcp-client --remote 5.157.38.18 502 tcp-client --remote 91.108.183.186 502 tcp-client --remote 5.157.7.10 502 tcp-client --remote 5.153.234.58 502 tcp-client --keepalive 10 60 --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/Sweden.ovpn'
[info] Starting OpenVPN...

2018-03-21 07:23:14,245 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:14 2018 WARNING: file 'credentials.conf' is group or others accessible
Wed Mar 21 07:23:14 2018 OpenVPN 2.4.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017
Wed Mar 21 07:23:14 2018 library versions: OpenSSL 1.1.0f  25 May 2017, LZO 2.10

2018-03-21 07:23:14,246 DEBG 'start-script' stdout output:
[info] OpenVPN started

2018-03-21 07:23:14,246 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:14 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
[debug] Waiting for valid IP address from tunnel...

2018-03-21 07:23:14,262 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:14 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]5.157.7.18:502
Wed Mar 21 07:23:14 2018 Attempting to establish TCP connection with [AF_INET]5.157.7.18:502 [nonblock]

2018-03-21 07:23:15,262 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:15 2018 TCP connection established with [AF_INET]5.157.7.18:502
Wed Mar 21 07:23:15 2018 TCP_CLIENT link local: (not bound)
Wed Mar 21 07:23:15 2018 TCP_CLIENT link remote: [AF_INET]5.157.7.18:502

2018-03-21 07:23:17,685 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:17 2018 [4524293204c99fb7603f2eb30135e3fc] Peer Connection Initiated with [AF_INET]5.157.7.18:502

2018-03-21 07:23:19,557 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 auth-token received, disabling auth-nocache for the authentication token

2018-03-21 07:23:19,558 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 TUN/TAP device tun0 opened

2018-03-21 07:23:19,558 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Wed Mar 21 07:23:19 2018 /usr/bin/ip link set dev tun0 up mtu 1500

2018-03-21 07:23:19,559 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 /usr/bin/ip addr add dev tun0 local 10.40.1.6 peer 10.40.1.5

2018-03-21 07:23:19,560 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 /root/openvpnup.sh tun0 1500 1560 10.40.1.6 10.40.1.5 init

2018-03-21 07:23:19,567 DEBG 'start-script' stdout output:
Wed Mar 21 07:23:19 2018 Initialization Sequence Completed

2018-03-21 07:23:19,600 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.40.1.6'

2018-03-21 07:23:19,610 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-03-21 07:23:19,611 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2018-03-21 07:23:19,639 DEBG 'rtorrent-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.40.1.6'

2018-03-21 07:23:19,643 DEBG 'rtorrent-script' stdout output:
[info] rTorrent not running
[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.40.1.6 different, marking for reconfigure

2018-03-21 07:23:19,721 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.40.1.6'

2018-03-21 07:23:19,722 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.40.1.6'
[debug] Attempting to get external IP using Name Server 'ns1.google.com'...

2018-03-21 07:23:19,722 DEBG 'start-script' stdout output:
[info] Strict port forwarding enabled, attempting to assign an incoming port...

2018-03-21 07:23:20,057 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=ecXXXXXc...

2018-03-21 07:23:20,697 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 5.157.7.19

2018-03-21 07:23:20,756 DEBG 'rtorrent-script' stdout output:
[debug] External IP address from tunnel is '5.157.7.19'

2018-03-21 07:23:20,757 DEBG 'rtorrent-script' stdout output:
[debug] Waiting for file '/home/nobody/vpn_incoming_port.txt' to be generated (contains PIA API generated incoming port number)...

2018-03-21 07:23:21,021 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 12 retries left
[info] Retrying in 10 secs...

2018-03-21 07:23:31,361 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 11 retries left
[info] Retrying in 10 secs...

2018-03-21 07:23:41,772 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 10 retries left
[info] Retrying in 10 secs...

2018-03-21 07:23:52,113 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 9 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:02,452 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 8 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:13,124 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 7 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:23,469 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 6 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:34,102 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 5 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:44,442 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 4 retries left
[info] Retrying in 10 secs...

2018-03-21 07:24:50,558 WARN received SIGTERM indicating exit request
2018-03-21 07:24:50,559 INFO waiting for start-script, rutorrent-script, rtorrent-script to die
2018-03-21 07:24:51,560 DEBG killing rtorrent-script (pid 149) with signal SIGTERM
2018-03-21 07:24:51,561 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 22465048011696 for <Subprocess at 22465048053952 with name rtorrent-script in state STOPPING> (stdout)>
2018-03-21 07:24:51,561 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 22465048011408 for <Subprocess at 22465048053952 with name rtorrent-script in state STOPPING> (stderr)>
2018-03-21 07:24:51,561 INFO stopped: rtorrent-script (terminated by SIGTERM)
2018-03-21 07:24:51,561 DEBG received SIGCLD indicating a child quit
2018-03-21 07:24:52,563 DEBG killing rutorrent-script (pid 146) with signal SIGTERM
2018-03-21 07:24:52,563 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22465048052440 for <Subprocess at 22465048052872 with name rutorrent-script in state STOPPING> (stdout)>
2018-03-21 07:24:52,563 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 22465048052152 for <Subprocess at 22465048052872 with name rutorrent-script in state STOPPING> (stderr)>
2018-03-21 07:24:52,564 INFO stopped: rutorrent-script (terminated by SIGTERM)
2018-03-21 07:24:52,564 DEBG received SIGCLD indicating a child quit
2018-03-21 07:24:52,564 DEBG killing start-script (pid 145) with signal SIGTERM
2018-03-21 07:24:52,565 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22465048053376 for <Subprocess at 22465048053592 with name start-script in state STOPPING> (stdout)>
2018-03-21 07:24:52,565 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22465048053088 for <Subprocess at 22465048053592 with name start-script in state STOPPING> (stderr)>
2018-03-21 07:24:52,565 INFO stopped: start-script (terminated by SIGTERM)
2018-03-21 07:24:52,565 DEBG received SIGCLD indicating a child quit


There you go.

Link to comment
 
Created by...___.   .__       .__                   \_ |__ |__| ____ |  |__   ____ ___  ___| __ \|  |/    \|  |  \_/ __ \\  \/  /| \_\ \  |   |  \   Y  \  ___/ >     |___  /__|___|  /___|  /\___  >__/\_ \    \/        \/     \/     \/      \/  https://hub.docker.com/u/binhex/2018-03-21 07:22:54.752017 [info] Host is running unRAID2018-03-21 07:22:54.849874 [info] System information Linux 1d059c09da7d 4.14.26-unRAID #1 SMP PREEMPT Mon Mar 12 16:21:20 PDT 2018 x86_64 GNU/Linux2018-03-21 07:22:55.383572 [info] PUID defined as '99'2018-03-21 07:22:55.678955 [info] PGID defined as '100'2018-03-21 07:22:56.688358 [info] UMASK defined as '000'2018-03-21 07:22:56.728755 [info] Permissions already set for volume mappings2018-03-21 07:22:56.826530 [info] VPN_ENABLED defined as 'yes'2018-03-21 07:22:57.348865 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Sweden.ovpndos2unix: converting file /config/openvpn/Sweden.ovpn to Unix format...2018-03-21 07:22:57.594015 [info] VPN remote line defined as 'remote sweden.privateinternetaccess.com 502'2018-03-21 07:22:57.640991 [info] VPN_REMOTE defined as 'sweden.privateinternetaccess.com'2018-03-21 07:22:57.687499 [info] VPN_PORT defined as '502'2018-03-21 07:22:57.730230 [info] VPN_PROTOCOL defined as 'tcp-client'2018-03-21 07:22:57.766712 [info] VPN_DEVICE_TYPE defined as 'tun0'2018-03-21 07:22:57.806674 [info] VPN_PROV defined as 'pia'2018-03-21 07:22:57.846117 [info] LAN_NETWORK defined as '10.1.1.0/24'2018-03-21 07:22:57.884107 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4'2018-03-21 07:22:57.932282 [info] VPN_USER defined as 'XXXXX'2018-03-21 07:22:57.970247 [info] VPN_PASS defined as 'XXXXX'2018-03-21 07:22:58.006010 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)2018-03-21 07:22:58.040830 [info] STRICT_PORT_FORWARD defined as 'yes'2018-03-21 07:22:58.076367 [info] ENABLE_PRIVOXY defined as 'no'2018-03-21 07:22:58.111773 [info] ENABLE_FLOOD defined as 'no'2018-03-21 07:22:58.147791 [info] ENABLE_AUTODL_IRSSI defined as 'no'chsh: Shell not changed.Changing shell for nobody.2018-03-21 07:23:02.654809 [info] Starting Supervisor...2018-03-21 07:23:06,722 CRIT Set uid to user 02018-03-21 07:23:06,722 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing2018-03-21 07:23:06,773 INFO supervisord started with pid 72018-03-21 07:23:07,775 INFO spawned: 'start-script' with pid 1452018-03-21 07:23:07,777 INFO spawned: 'rutorrent-script' with pid 1462018-03-21 07:23:07,779 INFO spawned: 'flood-script' with pid 1472018-03-21 07:23:07,781 INFO spawned: 'irssi-script' with pid 1482018-03-21 07:23:07,783 INFO spawned: 'rtorrent-script' with pid 1492018-03-21 07:23:07,786 INFO spawned: 'privoxy-script' with pid 1502018-03-21 07:23:07,786 INFO reaped unknown pid 82018-03-21 07:23:07,787 DEBG 'start-script' stdout output:[info] VPN is enabled, beginning configuration of VPN[debug] Environment variables defined as followsBASH=/bin/bashBASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepathBASH_ALIASES=()BASH_ARGC=()BASH_ARGV=()BASH_CMDS=()BASH_LINENO=([0]="0")BASH_SOURCE=([0]="/root/start.sh")BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")BASH_VERSION='4.4.12(1)-release'DEBUG=trueDIRSTACK=()ENABLE_AUTODL_IRSSI=noENABLE_FLOOD=noENABLE_PRIVOXY=noEUID=0GROUPS=()HOME=/home/nobodyHOSTNAME=1d059c09da7dHOSTTYPE=x86_64HOST_OS=unRAIDIFS=$' \t\n'LANG=en_GB.UTF-8LAN_NETWORK=10.1.1.0/24MACHTYPE=x86_64-unknown-linux-gnuNAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4OPTERR=1OPTIND=1OSTYPE=linux-gnuPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binPGID=100PHP_TZ=Pacific/AucklandPIPESTATUS=([0]="0")PPID=7PS4='+ 'PUID=99PWD=/SHELL=/bin/bashSHELLOPTS=braceexpand:hashall:interactive-commentsSHLVL=1STRICT_PORT_FORWARD=yesSUPERVISOR_ENABLED=1SUPERVISOR_GROUP_NAME=start-scriptSUPERVISOR_PROCESS_NAME=start-scriptTERM=xtermTZ=Pacific/AucklandUID=0UMASK=000VPN_CONFIG=/config/openvpn/Sweden.ovpnVPN_DEVICE_TYPE=tun0VPN_ENABLED=yesVPN_OPTIONS=VPN_PASS=XXXXXVPN_PORT=502VPN_PROTOCOL=tcp-clientVPN_PROV=piaVPN_REMOTE=sweden.privateinternetaccess.comVPN_USER=XXXXX_='[debug] Environment variables defined as follows'[debug] Directory listing of files in /config/openvpn as follows2018-03-21 07:23:07,787 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,787 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,787 INFO success: flood-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,788 INFO success: irssi-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,788 INFO success: rtorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,788 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)2018-03-21 07:23:07,790 DEBG 'flood-script' stdout output:[info] Flood not enabled, skipping starting Flood Web UI2018-03-21 07:23:07,791 DEBG fd 17 closed, stopped monitoring  (stdout)>2018-03-21 07:23:07,791 DEBG fd 21 closed, stopped monitoring  (stderr)>2018-03-21 07:23:07,791 INFO exited: flood-script (exit status 0; expected)2018-03-21 07:23:07,791 DEBG received SIGCLD indicating a child quit2018-03-21 07:23:07,792 DEBG 'irssi-script' stdout output:[info] Autodl-irssi not enabled, skipping startup2018-03-21 07:23:07,792 DEBG fd 26 closed, stopped monitoring  (stderr)>2018-03-21 07:23:07,792 DEBG fd 22 closed, stopped monitoring  (stdout)>2018-03-21 07:23:07,793 INFO exited: irssi-script (exit status 0; expected)2018-03-21 07:23:07,793 DEBG received SIGCLD indicating a child quit2018-03-21 07:23:07,795 DEBG 'privoxy-script' stdout output:[info] Privoxy set to disabled2018-03-21 07:23:07,795 DEBG fd 32 closed, stopped monitoring  (stdout)>2018-03-21 07:23:07,796 DEBG fd 36 closed, stopped monitoring  (stderr)>2018-03-21 07:23:07,796 INFO exited: privoxy-script (exit status 0; expected)2018-03-21 07:23:07,796 DEBG received SIGCLD indicating a child quit2018-03-21 07:23:07,916 DEBG 'rtorrent-script' stdout output:[info] rTorrent config file already exists, skipping copy2018-03-21 07:23:08,014 DEBG 'rtorrent-script' stdout output:[info] VPN is enabled, checking VPN tunnel local ip is valid2018-03-21 07:23:08,014 DEBG 'rtorrent-script' stdout output:[debug] Waiting for valid IP address from tunnel...2018-03-21 07:23:08,020 DEBG 'start-script' stdout output:total 16drwxrwxr-x 1 nobody users  116 Mar 21 07:22 .drwxrwxr-x 1 nobody users  193 Mar 21 07:22 ..-rwxrwxr-x 1 nobody users 2025 Mar 14 11:20 ca.rsa.2048.crt-rwxrwxr-x 1 nobody users   20 Mar 21 03:30 credentials.conf-rwxrwxr-x 1 nobody users  869 Mar 14 11:20 crl.rsa.2048.pem-rwxrwxr-x 1 nobody users  287 Mar 21 07:22 Sweden.ovpn2018-03-21 07:23:08,125 DEBG 'start-script' stdout output:[debug] Contents of ovpn file /config/openvpn/Sweden.ovpn as follows...2018-03-21 07:23:08,126 DEBG 'start-script' stdout output:remote sweden.privateinternetaccess.com 502clientdev tunproto tcp-clientresolv-retry infinitenobindpersist-keycipher aes-128-cbcauth sha1tls-clientremote-cert-tls serverauth-user-pass credentials.confcomp-lzoverb 1crl-verify crl.rsa.2048.pemca ca.rsa.2048.crtdisable-occ2018-03-21 07:23:08,338 DEBG 'start-script' stdout output:[info] Default route for container is 172.17.0.12018-03-21 07:23:08,342 DEBG 'start-script' stdout output:[info] Adding 209.222.18.222 to /etc/resolv.conf2018-03-21 07:23:08,346 DEBG 'start-script' stdout output:[info] Adding 37.235.1.174 to /etc/resolv.conf2018-03-21 07:23:08,349 DEBG 'start-script' stdout output:[info] Adding 8.8.8.8 to /etc/resolv.conf2018-03-21 07:23:08,352 DEBG 'start-script' stdout output:[info] Adding 209.222.18.218 to /etc/resolv.conf2018-03-21 07:23:08,356 DEBG 'start-script' stdout output:[info] Adding 37.235.1.177 to /etc/resolv.conf2018-03-21 07:23:08,360 DEBG 'start-script' stdout output:[info] Adding 8.8.4.4 to /etc/resolv.conf2018-03-21 07:23:12,113 DEBG 'start-script' stdout output:[info] Remote VPN endpoint resolves to the following A record(s)...5.157.7.18 5.157.7.154 91.108.183.18 37.203.209.27 5.153.233.50 91.108.183.178 5.157.38.34 5.153.233.26 5.157.7.42 5.157.38.18 91.108.183.186 5.157.7.10 5.153.234.582018-03-21 07:23:12,400 DEBG 'start-script' stdout output:[debug] Show name servers defined for container2018-03-21 07:23:12,401 DEBG 'start-script' stdout output:nameserver 209.222.18.222nameserver 37.235.1.174nameserver 8.8.8.8nameserver 209.222.18.218nameserver 37.235.1.177nameserver 8.8.4.42018-03-21 07:23:12,401 DEBG 'start-script' stdout output:[debug] Show name resolution for VPN endpoint sweden.privateinternetaccess.com2018-03-21 07:23:12,654 DEBG 'start-script' stdout output:;; ->>HEADER;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION:;; sweden.privateinternetaccess.com.	IN	A;; ANSWER SECTION:sweden.privateinternetaccess.com.	257	IN	A	5.157.7.18sweden.privateinternetaccess.com.	257	IN	A	5.157.7.154sweden.privateinternetaccess.com.	257	IN	A	91.108.183.18sweden.privateinternetaccess.com.	257	IN	A	37.203.209.27sweden.privateinternetaccess.com.	257	IN	A	5.153.233.50sweden.privateinternetaccess.com.	257	IN	A	91.108.183.178sweden.privateinternetaccess.com.	257	IN	A	5.157.38.34sweden.privateinternetaccess.com.	257	IN	A	5.153.233.26sweden.privateinternetaccess.com.	257	IN	A	5.157.7.42sweden.privateinternetaccess.com.	257	IN	A	5.157.38.18sweden.privateinternetaccess.com.	257	IN	A	91.108.183.186sweden.privateinternetaccess.com.	257	IN	A	5.157.7.10sweden.privateinternetaccess.com.	257	IN	A	5.153.234.58;; AUTHORITY SECTION:;; ADDITIONAL SECTION:;; Query time: 221 msec;; SERVER: 209.222.18.218;; WHEN: Wed Mar 21 07:23:12 2018;; MSG SIZE  rcvd: 2582018-03-21 07:23:12,654 DEBG 'start-script' stdout output:[debug] Show contents of hosts file2018-03-21 07:23:12,655 DEBG 'start-script' stdout output:127.0.0.1	localhost::1	localhost ip6-localhost ip6-loopbackfe00::0	ip6-localnetff00::0	ip6-mcastprefixff02::1	ip6-allnodesff02::2	ip6-allrouters172.17.0.5	1d059c09da7d2018-03-21 07:23:12,659 DEBG 'start-script' stdout output:[info] Adding 10.1.1.0/24 as route via docker eth02018-03-21 07:23:12,660 DEBG 'start-script' stdout output:[info] ip route defined as follows...--------------------2018-03-21 07:23:12,661 DEBG 'start-script' stdout output:default via 172.17.0.1 dev eth0 10.1.1.0/24 via 172.17.0.1 dev eth0 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.5 2018-03-21 07:23:12,661 DEBG 'start-script' stdout output:--------------------[debug] Modules currently loaded for kernel2018-03-21 07:23:12,663 DEBG 'start-script' stdout output:Module                  Size  Used byxt_nat                 16384  14veth                   16384  0xt_CHECKSUM            16384  1iptable_mangle         16384  1ipt_REJECT             16384  2nf_reject_ipv4         16384  1 ipt_REJECTebtable_filter         16384  0ebtables               32768  1 ebtable_filterip6table_filter        16384  0ip6_tables             24576  1 ip6table_filtervhost_net              20480  0tun                    32768  4 vhost_netvhost                  32768  1 vhost_nettap                    20480  1 vhost_netipt_MASQUERADE         16384  14nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADEiptable_nat            16384  1nf_conntrack_ipv4      16384  39nf_defrag_ipv4         16384  1 nf_conntrack_ipv4nf_nat_ipv4            16384  1 iptable_natiptable_filter         16384  1ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_natnf_nat                 24576  3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4xfs                   626688  3dm_crypt               36864  3ecb                    16384  6crypto_simd            16384  0glue_helper            16384  0cryptd                 20480  1 crypto_simdaes_x86_64             20480  6xts                    16384  3algif_skcipher         16384  0af_alg                 20480  1 algif_skcipherdm_mod                106496  7 dm_cryptdax                    20480  1 dm_modmd_mod                 49152  3bonding               110592  0intel_powerclamp       16384  0coretemp               16384  0kvm_intel             192512  0kvm                   339968  1 kvm_intelcrc32c_intel           24576  0intel_cstate           16384  0intel_uncore           98304  0i7core_edac            24576  0e1000e                172032  0i2c_i801               24576  0i2c_core               36864  1 i2c_i801pata_marvell           16384  0mxm_wmi                16384  0i5500_temp             16384  0ahci                   36864  4libahci                28672  1 ahciptp                    20480  1 e1000ewmi                    20480  1 mxm_wmipps_core               16384  1 ptpbutton                 16384  0acpi_cpufreq           16384  02018-03-21 07:23:12,667 DEBG 'start-script' stdout output:iptable_mangle         16384  1ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat2018-03-21 07:23:12,667 DEBG 'start-script' stdout output:[info] iptable_mangle support detected, adding fwmark for tables2018-03-21 07:23:12,676 DEBG 'start-script' stdout output:[debug] Docker interface defined as eth02018-03-21 07:23:12,680 DEBG 'start-script' stdout output:[debug] Docker IP defined as 172.17.0.52018-03-21 07:23:12,683 DEBG 'start-script' stdout output:[debug] Docker netmask defined as 255.255.0.02018-03-21 07:23:12,726 DEBG 'start-script' stdout output:[info] Docker network defined as    172.17.0.0/162018-03-21 07:23:13,470 DEBG 'start-script' stdout output:[info] iptables defined as follows...--------------------2018-03-21 07:23:13,472 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 tcp -m tcp --sport 502 -j ACCEPT-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT-A INPUT -s 10.1.1.0/24 -i eth0 -p tcp -m tcp --dport 5000 -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 tcp -m tcp --dport 502 -j ACCEPT-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT-A OUTPUT -d 10.1.1.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT-A OUTPUT -o lo -j ACCEPT2018-03-21 07:23:13,472 DEBG 'start-script' stdout output:--------------------2018-03-21 07:23:13,473 DEBG 'start-script' stdout output:[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_REMOTE 'sweden.privateinternetaccess.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --remote 5.157.7.18 502 tcp-client --remote 5.157.7.154 502 tcp-client --remote 91.108.183.18 502 tcp-client --remote 37.203.209.27 502 tcp-client --remote 5.153.233.50 502 tcp-client --remote 91.108.183.178 502 tcp-client --remote 5.157.38.34 502 tcp-client --remote 5.153.233.26 502 tcp-client --remote 5.157.7.42 502 tcp-client --remote 5.157.38.18 502 tcp-client --remote 91.108.183.186 502 tcp-client --remote 5.157.7.10 502 tcp-client --remote 5.153.234.58 502 tcp-client --keepalive 10 60 --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/Sweden.ovpn'[info] Starting OpenVPN...2018-03-21 07:23:14,245 DEBG 'start-script' stdout output:Wed Mar 21 07:23:14 2018 WARNING: file 'credentials.conf' is group or others accessibleWed Mar 21 07:23:14 2018 OpenVPN 2.4.4 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017Wed Mar 21 07:23:14 2018 library versions: OpenSSL 1.1.0f  25 May 2017, LZO 2.102018-03-21 07:23:14,246 DEBG 'start-script' stdout output:[info] OpenVPN started2018-03-21 07:23:14,246 DEBG 'start-script' stdout output:Wed Mar 21 07:23:14 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts[debug] Waiting for valid IP address from tunnel...2018-03-21 07:23:14,262 DEBG 'start-script' stdout output:Wed Mar 21 07:23:14 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]5.157.7.18:502Wed Mar 21 07:23:14 2018 Attempting to establish TCP connection with [AF_INET]5.157.7.18:502 [nonblock]2018-03-21 07:23:15,262 DEBG 'start-script' stdout output:Wed Mar 21 07:23:15 2018 TCP connection established with [AF_INET]5.157.7.18:502Wed Mar 21 07:23:15 2018 TCP_CLIENT link local: (not bound)Wed Mar 21 07:23:15 2018 TCP_CLIENT link remote: [AF_INET]5.157.7.18:5022018-03-21 07:23:17,685 DEBG 'start-script' stdout output:Wed Mar 21 07:23:17 2018 [4524293204c99fb7603f2eb30135e3fc] Peer Connection Initiated with [AF_INET]5.157.7.18:5022018-03-21 07:23:19,557 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 auth-token received, disabling auth-nocache for the authentication token2018-03-21 07:23:19,558 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 TUN/TAP device tun0 opened2018-03-21 07:23:19,558 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0Wed Mar 21 07:23:19 2018 /usr/bin/ip link set dev tun0 up mtu 15002018-03-21 07:23:19,559 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 /usr/bin/ip addr add dev tun0 local 10.40.1.6 peer 10.40.1.52018-03-21 07:23:19,560 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 /root/openvpnup.sh tun0 1500 1560 10.40.1.6 10.40.1.5 init2018-03-21 07:23:19,567 DEBG 'start-script' stdout output:Wed Mar 21 07:23:19 2018 Initialization Sequence Completed2018-03-21 07:23:19,600 DEBG 'start-script' stdout output:[debug] Valid IP address from tunnel acquired '10.40.1.6'2018-03-21 07:23:19,610 DEBG 'start-script' stdout output:[debug] Waiting for valid IP address from tunnel...2018-03-21 07:23:19,611 DEBG 'start-script' stdout output:[debug] Waiting for valid IP address from tunnel...2018-03-21 07:23:19,639 DEBG 'rtorrent-script' stdout output:[debug] Valid IP address from tunnel acquired '10.40.1.6'2018-03-21 07:23:19,643 DEBG 'rtorrent-script' stdout output:[info] rTorrent not running[info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.40.1.6 different, marking for reconfigure2018-03-21 07:23:19,721 DEBG 'start-script' stdout output:[debug] Valid IP address from tunnel acquired '10.40.1.6'2018-03-21 07:23:19,722 DEBG 'start-script' stdout output:[debug] Valid IP address from tunnel acquired '10.40.1.6'[debug] Attempting to get external IP using Name Server 'ns1.google.com'...2018-03-21 07:23:19,722 DEBG 'start-script' stdout output:[info] Strict port forwarding enabled, attempting to assign an incoming port...2018-03-21 07:23:20,057 DEBG 'start-script' stdout output:[info] Attempting to curl http://209.222.18.222:2000/?client_id=ecXXXXXc...2018-03-21 07:23:20,697 DEBG 'start-script' stdout output:[info] Successfully retrieved external IP address 5.157.7.192018-03-21 07:23:20,756 DEBG 'rtorrent-script' stdout output:[debug] External IP address from tunnel is '5.157.7.19'2018-03-21 07:23:20,757 DEBG 'rtorrent-script' stdout output:[debug] Waiting for file '/home/nobody/vpn_incoming_port.txt' to be generated (contains PIA API generated incoming port number)...2018-03-21 07:23:21,021 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 12 retries left[info] Retrying in 10 secs...2018-03-21 07:23:31,361 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 11 retries left[info] Retrying in 10 secs...2018-03-21 07:23:41,772 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 10 retries left[info] Retrying in 10 secs...2018-03-21 07:23:52,113 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 9 retries left[info] Retrying in 10 secs...2018-03-21 07:24:02,452 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 8 retries left[info] Retrying in 10 secs...2018-03-21 07:24:13,124 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 7 retries left[info] Retrying in 10 secs...2018-03-21 07:24:23,469 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 6 retries left[info] Retrying in 10 secs...2018-03-21 07:24:34,102 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 5 retries left[info] Retrying in 10 secs...2018-03-21 07:24:44,442 DEBG 'start-script' stdout output:[warn] Response code 000 from curl != 2xx[warn] Exit code 7 from curl != 0[info] 4 retries left[info] Retrying in 10 secs...2018-03-21 07:24:50,558 WARN received SIGTERM indicating exit request2018-03-21 07:24:50,559 INFO waiting for start-script, rutorrent-script, rtorrent-script to die2018-03-21 07:24:51,560 DEBG killing rtorrent-script (pid 149) with signal SIGTERM2018-03-21 07:24:51,561 DEBG fd 27 closed, stopped monitoring  (stdout)>2018-03-21 07:24:51,561 DEBG fd 31 closed, stopped monitoring  (stderr)>2018-03-21 07:24:51,561 INFO stopped: rtorrent-script (terminated by SIGTERM)2018-03-21 07:24:51,561 DEBG received SIGCLD indicating a child quit2018-03-21 07:24:52,563 DEBG killing rutorrent-script (pid 146) with signal SIGTERM2018-03-21 07:24:52,563 DEBG fd 11 closed, stopped monitoring  (stdout)>2018-03-21 07:24:52,563 DEBG fd 16 closed, stopped monitoring  (stderr)>2018-03-21 07:24:52,564 INFO stopped: rutorrent-script (terminated by SIGTERM)2018-03-21 07:24:52,564 DEBG received SIGCLD indicating a child quit2018-03-21 07:24:52,564 DEBG killing start-script (pid 145) with signal SIGTERM2018-03-21 07:24:52,565 DEBG fd 8 closed, stopped monitoring  (stdout)>2018-03-21 07:24:52,565 DEBG fd 10 closed, stopped monitoring  (stderr)>2018-03-21 07:24:52,565 INFO stopped: start-script (terminated by SIGTERM)2018-03-21 07:24:52,565 DEBG received SIGCLD indicating a child quit


There you go.

Same issue as posted below, resolution is wait for pia to fix the API used to obtain a incoming port:-

https://lime-technology.com/index.php?/topic/44109-[support]-binhex---DelugeVPN#entry644174

Sent from my SM-G935F using Tapatalk

Link to comment
39 minutes ago, binhex said:

Same issue as posted below, resolution is wait for pia to fix the API used to obtain a incoming port:-

https://lime-technology.com/index.php?/topic/44109-[support]-binhex---DelugeVPN#entry644174

Sent from my SM-G935F using Tapatalk
 


That link leads to your DelugeVPN thread, but not to any post.

But, I get that it's on PIA's side. Is this something that can be solved by changing the openvpn cert to use a different point, or is it just stuck altogether until the API is fixed?

Link to comment

That link leads to your DelugeVPN thread, but not to any post.

But, I get that it's on PIA's side. Is this something that can be solved by changing the openvpn cert to use a different point, or is it just stuck altogether until the API is fixed?
I tried it earlier today and Netherlands endpoint was working and I could get an incoming port, so try it, maybe I was just lucky at that time.

Sent from my SM-G935F using Tapatalk

Link to comment
4 minutes ago, binhex said:

I tried it earlier today and Netherlands endpoint was working and I could get an incoming port, so try it, maybe I was just lucky at that time.

Sent from my SM-G935F using Tapatalk
 

Hmm. I'll just be patient for now.

 

Thank you for the help.

Link to comment
  • binhex locked this topic
Guest
This topic is now closed to further replies.