binhex-delugevpn


Recommended Posts

I am pretty new to UnRAID and docker containers (only been using for a few weeks now).  I have everything setup but having issues with getting deluge to open the WebUI once I enable VPN and  Privoxy.  Once I enable these two options, and click on WebUI, I am getting the following message in Safari...

 

'Safari Can't Connect to the Server Safari can't open page "xxx.xxx.x.xxx:8112" because Safari can't connect to the server "xxx.xxx.x.xxx".'

 

The binhex-delugevpn configuration is as follows...

 

Host Port 1: 8112

Host Port 2: 58846

Host Port 3: 58946

Host Port 4: 58946

Host Port 5: 8118

Host Path 2: /mnt/user/Downloads/

Key 1: yes

Key 2: user id for PIA

Key 3: password for PIA

Key 4: blank

Key 5: blank

Key 6:  yes

Key 7: yes

Key 8:  xxx.xxx.x.0/24

Key 9: 209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4

Key 10: false

Key 11: 000

Key 12: 99

key 13: 100

 

In the supervisor.log file, this is what is listed...

 

2019-01-07 18:20:26.549311 [info] System information Linux 6ea9b86dd1da 4.18.20-unRAID #1 SMP Fri Nov 23 11:38:16 PST 2018 x86_64 GNU/Linux
2019-01-07 18:20:26.573838 [info] PUID defined as '99'
2019-01-07 18:20:26.599150 [info] PGID defined as '100'
2019-01-07 18:20:26.659090 [info] UMASK defined as '000'
2019-01-07 18:20:26.678709 [info] Permissions already set for volume mappings
2019-01-07 18:20:26.701053 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-01-07 18:20:26.721152 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-01-07 18:20:26.741105 [info] VPN_ENABLED defined as 'yes'
2019-01-07 18:20:26.771159 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Netherlands.ovpn
dos2unix: converting file /config/openvpn/Netherlands.ovpn to Unix format...
2019-01-07 18:20:26.807255 [info] VPN remote line defined as 'remote nl.privateinternetaccess.com 1198'
2019-01-07 18:20:26.827377 [info] VPN_REMOTE defined as 'nl.privateinternetaccess.com'
2019-01-07 18:20:26.847603 [info] VPN_PORT defined as '1198'
2019-01-07 18:20:26.872338 [info] VPN_PROTOCOL defined as 'udp'
2019-01-07 18:20:26.892983 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-01-07 18:20:26.912976 [info] VPN_PROV defined as 'pia'
2019-01-07 18:20:26.932577 [info] LAN_NETWORK defined as '192.168.7.0/24'
2019-01-07 18:20:26.952559 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4'
2019-01-07 18:20:26.972172 [info] VPN_USER defined as 'p5361894'
2019-01-07 18:20:26.992346 [info] VPN_PASS defined as 'gHCGKThrgv'
2019-01-07 18:20:27.013570 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-01-07 18:20:27.034532 [info] STRICT_PORT_FORWARD defined as 'yes'
2019-01-07 18:20:27.055947 [info] ENABLE_PRIVOXY defined as 'yes'
2019-01-07 18:20:27.077435 [info] Starting Supervisor...
2019-01-07 18:20:27,244 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-01-07 18:20:27,244 INFO Set uid to user 0 succeeded
2019-01-07 18:20:27,246 INFO supervisord started with pid 8
2019-01-07 18:20:28,248 INFO spawned: 'start-script' with pid 148
2019-01-07 18:20:28,249 INFO spawned: 'watchdog-script' with pid 149
2019-01-07 18:20:28,250 INFO spawned: 'privoxy-script' with pid 150
2019-01-07 18:20:28,250 INFO reaped unknown pid 9
2019-01-07 18:20:28,256 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2019-01-07 18:20:28,256 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-01-07 18:20:28,256 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-01-07 18:20:28,256 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-01-07 18:20:28,259 DEBG 'watchdog-script' stderr output:
dos2unix: converting file /config/core.conf to Unix format...

2019-01-07 18:20:28,319 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-01-07 18:20:28,322 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-01-07 18:20:28,324 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-01-07 18:20:28,327 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-01-07 18:20:28,329 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2019-01-07 18:20:28,332 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-01-07 18:20:28,334 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-01-07 18:20:28,336 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-01-07 18:20:28,339 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2019-01-07 18:20:28,514 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-01-07 18:20:28,516 DEBG 'start-script' stdout output:
[info] Adding 192.168.7.0/24 as route via docker eth0

2019-01-07 18:20:28,517 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-01-07 18:20:28,518 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.2 
192.168.7.0/24 via 172.17.0.1 dev eth0 

2019-01-07 18:20:28,519 DEBG 'start-script' stdout output:
--------------------

2019-01-07 18:20:28,521 DEBG 'start-script' stdout output:
iptable_mangle         16384  1
ip_tables              24576  3 iptable_filter,iptable_nat,iptable_mangle

2019-01-07 18:20:28,521 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-01-07 18:20:28,571 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-01-07 18:20:28,572 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.7.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.7.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.7.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.7.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2019-01-07 18:20:28,573 DEBG 'start-script' stdout output:
--------------------

2019-01-07 18:20:28,574 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-01-07 18:20:28,579 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:28 2019 WARNING: file 'credentials.conf' is group or others accessible
Mon Jan  7 18:20:28 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
Mon Jan  7 18:20:28 2019 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.10

2019-01-07 18:20:28,580 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:28 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-01-07 18:20:28,580 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-01-07 18:20:28,581 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:28 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]46.166.138.142:1198

2019-01-07 18:20:28,581 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:28 2019 UDP link local: (not bound)
Mon Jan  7 18:20:28 2019 UDP link remote: [AF_INET]46.166.138.142:1198

2019-01-07 18:20:29,001 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:29 2019 [e9efd58d607ce7a520e24d8cbf6452b5] Peer Connection Initiated with [AF_INET]46.166.138.142:1198

2019-01-07 18:20:30,237 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:30 2019 auth-token received, disabling auth-nocache for the authentication token

2019-01-07 18:20:30,238 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:30 2019 TUN/TAP device tun0 opened
Mon Jan  7 18:20:30 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Jan  7 18:20:30 2019 /usr/bin/ip link set dev tun0 up mtu 1500

2019-01-07 18:20:30,239 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:30 2019 /usr/bin/ip addr add dev tun0 local 10.1.10.6 peer 10.1.10.5

2019-01-07 18:20:30,240 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:30 2019 /root/openvpnup.sh tun0 1500 1558 10.1.10.6 10.1.10.5 init

2019-01-07 18:20:30,245 DEBG 'start-script' stdout output:
Mon Jan  7 18:20:30 2019 Initialization Sequence Completed

2019-01-07 18:20:30,325 DEBG 'privoxy-script' stdout output:
[info] Configuring Privoxy...

2019-01-07 18:20:30,335 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.1.10.6 different, marking for reconfigure

2019-01-07 18:20:30,338 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2019-01-07 18:20:30,341 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2019-01-07 18:20:30,357 DEBG 'start-script' stdout output:
[warn] PIA endpoint 'nl.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-vancouver.privateinternetaccess.com (CA Vancouver)
[info] ca-toronto.privateinternetaccess.com (CA Toronto)
[info] ca-montreal.privateinternetaccess.com (CA Montreal)
[info] czech.privateinternetaccess.com (Czech Republic)
[info] spain.privateinternetaccess.com (Spain)
[info] swiss.privateinternetaccess.com (Switzerland)

2019-01-07 18:20:30,358 DEBG 'start-script' stdout output:
[info] sweden.privateinternetaccess.com (Sweden)
[info] france.privateinternetaccess.com (France)
[info] de-berlin.privateinternetaccess.com (Germany)
[info] de-frankfurt.privateinternetaccess.com (Germany)
[info] ro.privateinternetaccess.com (Romania)
[info] israel.privateinternetaccess.com (Israel)

2019-01-07 18:20:30,359 DEBG 'start-script' stdout output:
[info] Attempting to curl http://209.222.18.222:2000/?client_id=19a5b6ffb217f2e0ee044f44df30ce57ad219484d50d536979f878905f5063b1...

2019-01-07 18:20:30,465 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...

2019-01-07 18:20:30,471 DEBG 'privoxy-script' stdout output:
[info] All checks complete, starting Privoxy...

2019-01-07 18:20:30,480 DEBG 'privoxy-script' stderr output:
2019-01-07 18:20:30.480 1458a888a100 Info: Privoxy version 3.0.26
2019-01-07 18:20:30.480 1458a888a100 Info: Program name: /usr/bin/privoxy

2019-01-07 18:20:30,683 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 212.92.122.146

2019-01-07 18:20:40,578 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...

 

Would anyone know what the issue is?  Any help would be great.  

Link to comment
1 hour ago, JohnSracic said:

Would anyone know what the issue is?  Any help would be great.

1. log into PIA, and change your password.

2. switch to the ovpn file from the list, as it told you.

1 hour ago, JohnSracic said:

[warn] PIA endpoint 'nl.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-vancouver.privateinternetaccess.com (CA Vancouver)
[info] ca-toronto.privateinternetaccess.com (CA Toronto)
[info] ca-montreal.privateinternetaccess.com (CA Montreal)
[info] czech.privateinternetaccess.com (Czech Republic)
[info] spain.privateinternetaccess.com (Spain)
[info] swiss.privateinternetaccess.com (Switzerland)
[info] sweden.privateinternetaccess.com (Sweden)
[info] france.privateinternetaccess.com (France)
[info] de-berlin.privateinternetaccess.com (Germany)
[info] de-frankfurt.privateinternetaccess.com (Germany)
[info] ro.privateinternetaccess.com (Romania)
[info] israel.privateinternetaccess.com (Israel)

 

Link to comment
11 minutes ago, jonathanm said:

1. log into PIA, and change your password.

2. switch to the ovpn file from the list, as it told you.

 

Changed my password but I am not clear on what you mean about switch to the oven file form the list...  Are you talking about the the items under advanced OpenVPN SSL Usage Guides then the third from the bottom "OpenVPN Configuration Files (Recommended default)?

Edited by JohnSracic
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.