Transmission + OpenVPN NordVPN


Tommy

Recommended Posts

Hi,

I`m trying to setup Transmission with OpenVPN

I`m using https://hub.docker.com/r/activ/arch-transmissionvpn/ 

docker works fine without OpenVPN enable, I can access WebGUI and download files.

But after turning on OpenVPN transmission starts but I cant access it, and I appdata transmission does not make any files.

My VPN is NordVPN which provide ready to use .ovpn files.

In docker configuracion I entere VPN_USER VPN_PASS (login and password to NordVPN

VPN_REMOTE which is VPN node IP

UPD as protocole with port 1194

My LAN IP 10.1.1.0/24

.ovpn file are in docker /config/openvpn  /mnt/user/appdata/activ-transmissionvpn/openvpn

 

After startin I see:

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

2018-02-03 22:02:56.160756 [info] Host is running unRAID
2018-02-03 22:02:56.184616 [info] System information Linux a057c3e8c899 4.14.13-unRAID #1 SMP PREEMPT Wed Jan 10 10:27:09 PST 2018 x86_64 GNU/Linux
2018-02-03 22:02:56.210046 [info] PUID defined as '1001'
2018-02-03 22:02:56.242397 [info] PGID defined as '100'
2018-02-03 22:02:56.478645 [info] Permissions already set for volume mappings
2018-02-03 22:02:56.506237 [info] VPN_ENABLED defined as 'yes'
2018-02-03 22:02:56.531668 [info] VPN_PROV defined as 'custom'
2018-02-03 22:02:56.556896 [info] VPN_REMOTE defined as '82.102.16.141'
2018-02-03 22:02:56.581066 [info] VPN_PORT defined as '1194'
2018-02-03 22:02:56.605952 [info] VPN_PROTOCOL defined as 'udp'
2018-02-03 22:02:56.630970 [info] LAN_NETWORK defined as '10.1.1.0/24'
2018-02-03 22:02:56.656843 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers
2018-02-03 22:02:56.682251 [info] VPN_USER defined as '[email protected]'
2018-02-03 22:02:56.706380 [info] VPN_PASS defined as 'my_nordvpn_pass'
2018-02-03 22:02:56.731170 [warn] VPN_INCOMING_PORT not defined (via -e VPN_INCOMING_PORT), downloads may be slow
2018-02-03 22:02:56.756407 [warn] VPN_DEVICE_TYPE not defined (via -e VPN_DEVICE_TYPE), defaulting to 'tun'
2018-02-03 22:02:56.781150 [warn] STRONG_CERTS not defined (via -e STRONG_CERTS), defaulting to 'no'
2018-02-03 22:02:56.805141 [info] ENABLE_PRIVOXY defined as 'no'
chsh: Shell not changed.
Changing shell for nobody.
2018-02-03 22:02:57,378 CRIT Set uid to user 0
2018-02-03 22:02:57,379 INFO Included extra file "/etc/supervisor/conf.d/transmission.conf" during parsing
2018-02-03 22:02:57,381 INFO supervisord started with pid 7
2018-02-03 22:02:58,383 INFO spawned: 'checkproc-script' with pid 106
2018-02-03 22:02:58,385 INFO spawned: 'start-script' with pid 107
2018-02-03 22:02:58,387 INFO spawned: 'transmission-script' with pid 108
2018-02-03 22:02:58,389 INFO spawned: 'privoxy-script' with pid 109
2018-02-03 22:02:58,394 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2018-02-03 22:02:58,394 INFO success: checkproc-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-02-03 22:02:58,394 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-02-03 22:02:58,394 INFO success: transmission-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-02-03 22:02:58,394 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-02-03 22:02:58,395 DEBG 'transmission-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2018-02-03 22:02:58,396 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2018-02-03 22:02:58,397 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 22410527839224 for <Subprocess at 22410527445504 with name privoxy-script in state RUNNING> (stderr)>
2018-02-03 22:02:58,397 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 22410528947448 for <Subprocess at 22410527445504 with name privoxy-script in state RUNNING> (stdout)>
2018-02-03 22:02:58,397 INFO exited: privoxy-script (exit status 0; expected)
2018-02-03 22:02:58,397 DEBG received SIGCLD indicating a child quit
2018-02-03 22:02:58,800 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/al4.nordvpn.com.udp1194.ovpn

2018-02-03 22:02:58,801 DEBG 'start-script' stderr output:
dos2unix: 
2018-02-03 22:02:58,802 DEBG 'start-script' stderr output:
converting file /config/openvpn/al4.nordvpn.com.udp1194.ovpn to Unix format...

2018-02-03 22:02:58,812 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible

2018-02-03 22:02:58,868 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2018-02-03 22:02:58,871 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2018-02-03 22:02:58,874 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2018-02-03 22:02:58,876 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2018-02-03 22:02:58,879 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2018-02-03 22:02:59,208 DEBG 'start-script' stdout output:
[info] Adding 10.1.1.0/24 as route via docker eth0

2018-02-03 22:02:59,209 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2018-02-03 22:02:59,209 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.2 

2018-02-03 22:02:59,209 DEBG 'start-script' stdout output:
--------------------

2018-02-03 22:02:59,212 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2018-02-03 22:02:59,288 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2018-02-03 22:02:59,289 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 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9091 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9091 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9091 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9091 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2018-02-03 22:02:59,289 DEBG 'start-script' stdout output:
--------------------

2018-02-03 22:02:59,289 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2018-02-03 22:02:59,297 DEBG 'start-script' stdout output:
[info] OpenVPN started

unRAID 6.4

Xeon 8/16

32GB of RAM

4x2TB+2TB Parity

256GB SSD

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.