[Support] binhex - DelugeVPN


Recommended Posts

I've been using this docker for some time without issue but I've recently been trying to use Privoxy and I'm unable to get it working. My unraid server IP is 192.168.0.101 and I'm able to connect to all the docker webui's fine thru their various ports. I've checked the IP the torrents see and it's the VPN IP as expected. When I set my proxy to point to 192.168.0.101:8118 (with or without http://) in chrome or firefox I get a proxy connection failed error. I tried SwitchOmega also to no avail. I don't see any errors in the supervisord.log and it looks like Privoxy is starting fine, though I don't see the port 8118 anywhere in the log file. I would have expected something highlighting that it's open for the proxy.

Edit: Oh yeah, I don't have any other privoxy enabled dockers running (like sabnzbvpn etc)...

Chrome Error:

There is no Internet connection

There is something wrong with the proxy server, or the address is incorrect.
Try:
Contacting the system admin
Checking the proxy address
ERR_PROXY_CONNECTION_FAILED

I don't know what else to check. Any ideas/help?
THANKS!

 

supervisord.log

Edited by nowhere
Link to comment

Hey guys,

 

I've sifted through this topic a bit and can't find a particular answer. As far as I can tell, there are some filters set up to prevent leakage of the VPN fails. 

 

Is there any particular way to verify when the tunnel is up or not and be certain that data isn't being leaked?

 

Cheers!

Link to comment

From their description in community apps:

Quote

Deluge is a full-featured BitTorrent client for Linux, OS X, Unix and Windows. It uses libtorrent in its backend and features multiple user-interfaces including: GTK+, web and console. It has been designed using the client server model with a daemon process that handles all the bittorrent activity. The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform. This Docker includes OpenVPN to ensure a secure and private connection to the Internet, including use of iptables to prevent IP leakage when the tunnel is down. It also includes Privoxy to allow unfiltered access to index sites, to use Privoxy please point your application at "host ip:8118"

 

Edited by nowhere
Link to comment

I originally used the nonVPN version of the deluge docker, but then moved to this delugevpn version, with vpn turned off.

I have now created an account on PIA and have been attempting to configure the docker to use that.

 

I have found nothing in this topic, nor on docker hub or github which describes the configuration page which the docker presents me with.  I even found a you tube video with instructions on how to configure, but that also shows a different configuration screen to the one I have.

 

My first attempt, after setting VPN_ENABLED = yes, reported a missing .ovpn file. After some research, I found that I have to download a .ovpn file from PIA, and place it in /config/openvpn, along with the .crt and .pem files.

 

Having done this, the logfile shows the following error:

2017-08-30 00:59:30,968 DEBG 'start-script' stdout output:
Wed Aug 30 00:59:30 2017 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
Wed Aug 30 00:59:30 2017 Exiting due to fatal error

Here I am stuck.  Having spent a couple of hours searching, I can find nothing which enlightens me.

 

Full log attached.

logfile

Link to comment

please forgive my noobness here.  I've searched for hours and cant seem to find a working solution to my issue.  I hope I can make sense of it:

 

I would like to route Sab through my VPN (pia).  I have binhex-delugevpn docker set up and running beautifully with privoxy and I wasn't sure if I could get the non-VPN version of Sab routed through that (the way that I did with Sonarr and Radarr), or if I needed to use the Sab with VPN and essentially run two VPN connections.

 

As I wrote that I realized that I dont know if that will come across clearly....

 

Basically, I need to know if I can run both delugevpn AND sabnzbdvpn dockers on the same unraid system, OR if I can route sab through the vpn in the other docker.

 

After setting up sabnzbdvpn the same way as delugevpn I get a fatal error on my docker screen:

Fatal error: Cannot declare class DockerTemplates, because the name is already in use in /usr/local/emhttp/plugins/dockerMan/dockerClient.php on line 35

 

 

Thanks for any help you can provide!

Grey

Link to comment
56 minutes ago, PeterB said:

I originally used the nonVPN version of the deluge docker, but then moved to this delugevpn version, with vpn turned off.

I have now created an account on PIA and have been attempting to configure the docker to use that.

 

I have found nothing in this topic, nor on docker hub or github which describes the configuration page which the docker presents me with.  I even found a you tube video with instructions on how to configure, but that also shows a different configuration screen to the one I have.

 

My first attempt, after setting VPN_ENABLED = yes, reported a missing .ovpn file. After some research, I found that I have to download a .ovpn file from PIA, and place it in /config/openvpn, along with the .crt and .pem files.

 

Having done this, the logfile shows the following error:


2017-08-30 00:59:30,968 DEBG 'start-script' stdout output:
Wed Aug 30 00:59:30 2017 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
Wed Aug 30 00:59:30 2017 Exiting due to fatal error

Here I am stuck.  Having spent a couple of hours searching, I can find nothing which enlightens me.

 

Full log attached.

logfile

 

You have defined your PIA username but not your password. Think you should be good to go if you define your pw as well.. 

Link to comment

no duplicate containers... however, I installed sabnzbdvnc first > had some issues/doubts > deleted the container > installed non-VNC version and configured it with my provider > had some doubts/issues > deleted the container > and now have the VNC version installed again.  now getting that "fatal error" and I'm not sure if its because of my flippant changing.... now I am here.

 

 

Link to comment
9 hours ago, strike said:

 

You have defined your PIA username but not your password. Think you should be good to go if you define your pw as well.. 

Thanks for the response.  I have entered my password in Key3 (VPN_PASS).  Where else do I have to define it?

 

Okay, it seems that using a '$' as the first character of the password was upsetting things.  I've changed the password and I now get further but, for some reason, twisted is reporting a 'CannotListenError'.  I'm guessing that this might be something to do with two lines earlier in the log:

[info] Deluge listening interface currently defined as 0.0.0.0
[info] Deluge listening interface will be changed to 10.24.10.6

Deluge appears to be running - I can access via the web gui but the deluge UI, running on my desktop machine, is unable to connect to the daemon.  This was working fine until I enabled vpn.

 

Later:

Well, it seems to be working now, despite the messages still appearing in the log!

Edited by PeterB
Further info
Link to comment
On 25/8/2017 at 5:57 AM, Hoopster said:

Duh, helps if I RTFM or in this case the FAQ. Hopefully, this will be resolved soon.  I think that until today, I was probably still on the old docker and with the reinstall i need to do things I did not have to do previously to get this properly configured.  I was just expecting it to all be automatic with PIA like before.

 

UPDATE: Problem solved by reading the FAQ  - that's probably why you have one, huh? :D

where did you find the FAQ I got the same problem now :-D 

Link to comment
On 28/08/2017 at 7:04 PM, binhex said:

Packet analysis using something like tcpdump running on your host of the only way to check this (what I've done) then load the capture file into wireshark.

Sent from my SM-G935F using Tapatalk
 

Thanks heaps for that. Very helpful. I knew that you had iptables set up, just wasn't sure how to test it myself (not that I don't trust you haha).

 

Thanks again!

Link to comment

Hi there,

Hoping someone can assist. I've installed this docker app and configured it to use my PIA account for the VPN but it fails to start with the following alert in the logs.

[crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...

If I disable the the VPN it start fine and I can browse to the deluge web interface.

 

Any ideas on what I'm doing wrong?

 

Thanks.

Link to comment

Thanks strike... That helped. I downloaded the zip file and extracted to \appdata\binhex-delugevpn\openvpn

 

Now when I start deluge it remains running but the web UI is still unavailable.. I now get the following error in the logs.

Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: auth-user-pass (2.4.1)

Link to comment

Ok, so I removed "nl.privateinternetaccess.com" from "VPN_OPTIONS" so that it's now blank.

 

I still can't access the web ui and now get the following warning:

 

WARNING: file 'credentials.conf' is group or others accessible

EBG '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...

 

Thanks for all the help.

Link to comment

Ok if I leave the retry attempts expire I get the following: the web ui for deluge becomes available but I'm not sure if I'm connected via VPN and how I can connect via alternative server if ireland.pia is offered slow preformance.

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

2017-09-03 10:15:15,447 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 7 from curl != 0
[info] 1 retries left
[info] Retrying in 10 secs...

2017-09-03 10:15:25,488 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx, exausted retries exiting script...

2017-09-03 10:15:25,490 DEBG 'start-script' stdout output:
[warn] PIA endpoint 'ireland.privateinternetaccess.com' doesn't support port forwarding, DL/UL speeds will be slow
[info] Please consider switching to an endpoint that does support port forwarding, shown below:-
[info] ca-toronto.privateinternetaccess.com (CA Toronto)
[info] ca.privateinternetaccess.com (CA Montreal)
[info] nl.privateinternetaccess.com (Netherlands)
[info] swiss.privateinternetaccess.com (Switzerland)
[info] sweden.privateinternetaccess.com (Sweden)
[info] france.privateinternetaccess.com (France)
[info] ro.privateinternetaccess.com (Romania)
[info] israel.privateinternetaccess.com (Israel)

2017-09-03 10:15:26,176 DEBG 'deluge-script' stdout output:
[info] Attempting to start Deluge...

2017-09-03 10:15:26,900 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface currently defined as 10.48.10.6
[info] Deluge listening interface will be changed to 10.7.10.6
[info] Saving changes to Deluge config file /config/core.conf...

2017-09-03 10:15:27,891 DEBG 'deluge-web-script' stdout output:
[info] Starting Deluge webui...

2017-09-03 10:15:28,829 DEBG 'deluge-script' stdout output:
Setting random_port to False..
Configuration value successfully updated.

2017-09-03 10:15:29,685 DEBG 'deluge-script' stdout output:
Setting listen_ports to (6890, 6890)..
Configuration value successfully updated.

2017-09-03 10:15:29,738 DEBG 'deluge-script' stdout output:
[info] Deluge started

 

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

With debug mode enabled and credentials removed:

 

BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")

2017-09-03 10:24:30,707 DEBG 'start-script' stdout output:
BASH_VERSION='4.4.12(1)-release'

2017-09-03 10:24:30,708 DEBG 'start-script' stdout output:
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=no
EUID=0

)
HOME=/home/nobody
HOSTNAME=3be938536fcc
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.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
PIPESTATUS=([0]="0")
PPID=5
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=Europe/London
UID=0

0

2017-09-03 10:24:30,709 DEBG 'start-script' stdout output:
VPN_CONFIG=/config/openvpn/Ireland.ovpn
VPN_DEVICE_TYPE=tun
VPN_ENABLED=yes
VPN_INCOMING_PORT=
VPN_OPTIONS=
VPN_PASS='vpn password'
VPN_PORT=1198
VPN_PROTOCOL=udp
VPN_PROV=pia
VPN_REMOTE=ireland.privateinternetaccess.com
VPN_USER='vpn username'
_='[debug] Environment variables defined as follows'
vpn_remote_line='ireland.privateinternetaccess.com 1198'
[debug] Directory listing of files in /config/openvpn as follows

2017-09-03 10:24:30,720 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy

2017-09-03 10:24:30,725 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-09-03 10:24:30,728 DEBG 'deluge-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2017-09-03 10:24:30,732 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-09-03 10:24:30,733 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47284540382456 for <Subprocess at 47284539651280 with name privoxy-script in state RUNNING> (stderr)>
2017-09-03 10:24:30,734 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47284540382384 for <Subprocess at 47284539651280 with name privoxy-script in state RUNNING> (stdout)>
2017-09-03 10:24:30,735 INFO exited: privoxy-script (exit status 0; expected)
2017-09-03 10:24:30,735 DEBG received SIGCLD indicating a child quit
2017-09-03 10:24:30,745 DEBG 'start-script' stdout output:

8
drwxrwxr-x 1 nobody users 4096 Sep 3 10:24 .
drwxrwxr-x 1 nobody users 4096 Sep 3 10:15 ..
-rwxrwxr-x 1 nobody users 295 Feb 6 2017 AU Melbourne.ovpn
-rwxrwxr-x 1 nobody users 285 Feb 6 2017 AU Sydney.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Brazil.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 CA Montreal.ovpn
-rwxrwxr-x 1 nobody users 2025 Feb 6 2017 ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 CA Toronto.ovpn
-rwxrwxr-x 1 nobody users 19 Sep 3 10:13 credentials.conf
-rwxrwxr-x 1 nobody users 869 Feb 6 2017 crl.rsa.2048.pem
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 Denmark.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Finland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 France.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 Germany.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Hong Kong.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 India.ovpn
-rwxrwxr-x 1 nobody users 282 Sep 3 10:24 Ireland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Israel.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Italy.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Japan.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Mexico.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Netherlands.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 New Zealand.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Norway.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Romania.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 Singapore.ovpn
-rwxrwxr-x 1 nobody users 284 Feb 6 2017 South Korea.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Sweden.ovpn
-rwxrwxr-x 1 nobody users 287 Feb 6 2017 Switzerland.ovpn
-rwxrwxr-x 1 nobody users 288 Feb 6 2017 Turkey.ovpn
-rwxrwxr-x 1 nobody users 291 Feb 6 2017 UK London.ovpn
-rwxrwxr-x 1 nobody users 296 Feb 6 2017 UK Southampton.ovpn
-rwxrwxr-x 1 nobody users 295 Feb 6 2017 US California.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Chicago.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 US East.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Florida.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Midwest.ovpn
-rwxrwxr-x 1 nobody users 296 Feb 6 2017 US New York City.ovpn
-rwxrwxr-x 1 nobody users 292 Feb 6 2017 US Seattle.ovpn
-rwxrwxr-x 1 nobody users 298 Feb 6 2017 US Silicon Valley.ovpn
-rwxrwxr-x 1 nobody users 290 Feb 6 2017 US Texas.ovpn
-rwxrwxr-x 1 nobody users 289 Feb 6 2017 US West.ovpn

2017-09-03 10:24:30,775 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible

2017-09-03 10:24:30,782 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2017-09-03 10:24:30,799 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/Ireland.ovpn as follows...

2017-09-03 10:24:30,801 DEBG 'start-script' stdout output:
client
dev tun

p
remote ireland.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc

1
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

2017-09-03 10:24:30,812 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-09-03 10:24:30,818 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2017-09-03 10:24:30,825 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-09-03 10:24:30,832 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-09-03 10:24:30,839 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2017-09-03 10:24:30,845 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-09-03 10:24:30,851 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-09-03 10:24:31,045 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2017-09-03 10:24:31,046 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

2017-09-03 10:24:31,047 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint ireland.privateinternetaccess.com

2017-09-03 10:24:31,176 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 10723
;; flags: qr rd ra ; QUERY: 1, ANSWER: 8, AUTHORITY: 4, ADDITIONAL: 0
;; QUESTION SECTION:
;; ireland.privateinternetaccess.com.    IN    A

;; ANSWER SECTION:
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.7
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.5
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.8
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.6
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.10
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.4
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.9
ireland.privateinternetaccess.com.    299    IN    A    185.108.128.3

;; AUTHORITY SECTION:
privateinternetaccess.com.    15601    IN    NS    ns3.p28.dynect.net.
privateinternetaccess.com.    15601    IN    NS    ns4.p28.dynect.net.
privateinternetaccess.com.    15601    IN    NS    ns1.p28.dynect.net.
privateinternetaccess.com.    15601    IN    NS    ns2.p28.dynect.net.

;; ADDITIONAL SECTION:

;; Query time: 125 msec
;; SERVER: 209.222.18.222
;; WHEN: Sun Sep 3 10:24:31 2017
;; MSG SIZE rcvd: 265

2017-09-03 10:24:31,179 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2017-09-03 10:24:31,181 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.4    3be938536fcc
185.108.128.7    ireland.privateinternetaccess.com

2017-09-03 10:24:31,190 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2017-09-03 10:24:31,193 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-09-03 10:24:31,194 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.4
192.168.0.0/24 via 172.17.0.1 dev eth0

2017-09-03 10:24:31,195 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel

2017-09-03 10:24:31,199 DEBG 'start-script' stdout output:
Module Size Used by
xt_nat 1913 14
veth 4966 0
xt_CHECKSUM 1335 1
iptable_mangle 1658 2
ipt_REJECT 1521 2
nf_reject_ipv4 2483 1 ipt_REJECT
ebtable_filter 1903 0
ebtables 14552 1 ebtable_filter
vhost_net 9091 0
tun 19304 10 vhost_net
vhost 19681 1 vhost_net
macvtap 11622 1 vhost_net
macvlan 12389 1 macvtap
ipt_MASQUERADE 1277 12
nf_nat_masquerade_ipv4 1865 1 ipt_MASQUERADE
iptable_nat 1897 1
nf_conntrack_ipv4 5874 16
nf_nat_ipv4 4199 1 iptable_nat
iptable_filter 1706 2
ip_tables 9853 3 iptable_mangle,iptable_filter,iptable_nat
nf_nat 11145 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
md_mod 36700 1
kvm_amd 2151758 0
kvm 289949 1 kvm_amd
k10temp 2996 0
i2c_piix4 9140 0
pata_atiixp 4691 0
i2c_core 20390 1 i2c_piix4
e1000e 143207 0
ptp 9308 1 e1000e
ahci 26326 2
pps_core 5928 1 ptp
libahci 19716 1 ahci
acpi_cpufreq 7054 0

2017-09-03 10:24:31,207 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-09-03 10:24:31,223 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2017-09-03 10:24:31,230 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.4

2017-09-03 10:24:31,237 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2017-09-03 10:24:31,253 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-09-03 10:24:31,370 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-09-03 10:24:31,373 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.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -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.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-09-03 10:24:31,374 DEBG 'start-script' stdout output:
--------------------

2017-09-03 10:24:31,375 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --cd /config/openvpn --config '/config/openvpn/Ireland.ovpn' --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60 --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun' --setenv VPN_REMOTE 'ireland.privateinternetaccess.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf
[info] Starting OpenVPN...

2017-09-03 10:24:31,400 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 WARNING: file 'credentials.conf' is group or others accessible


2017-09-03 10:24:31,400 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017

2017-09-03 10:24:31,401 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10

2017-09-03 10:24:31,403 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-09-03 10:24:31,404 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2017-09-03 10:24:31,415 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-09-03 10:24:31,421 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]185.108.128.7:1198
Sun Sep 3 10:24:31 2017 UDP link local: (not bound)
Sun Sep 3 10:24:31 2017 UDP link remote: [AF_INET]185.108.128.7:1198

2017-09-03 10:24:31,531 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:31 2017 [1f03a4bc4932b1f1a3c92c3b944635b0] Peer Connection Initiated with [AF_INET]185.108.128.7:1198

2017-09-03 10:24:32,733 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:32 2017 AUTH: Received control message: AUTH_FAILED

2017-09-03 10:24:32,734 DEBG 'start-script' stdout output:
Sun Sep 3 10:24:32 2017 SIGTERM[soft,auth-failure] received, process exiting
 

 

 

Link to comment

You have a successful start and are connected to the vpn. One thing tho, you should have only one ovpn file in the openvpn folder. And you must pick one of the endpoints which support port forwarding or else you won't be able to get any decent speed as torrenting require an open incoming port. The Netherlands is a good one, remove all the rest of the opvn files you have in the openvpn folder. If you want to change endpoints later just replace the opvn file with another endpoint and restart the container. 

Link to comment

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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