{"action":"created","issue":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/26","labels_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/26/comments","events_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/26/events","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/26","id":101281342,"number":26,"title":"Does not work on Unraid NAS (Slackware) ","user":{"login":"raidersan","id":7662271,"avatar_url":"https://avatars.githubusercontent.com/u/7662271?v=3","gravatar_id":"","url":"https://api.github.com/users/raidersan","html_url":"https://github.com/raidersan","followers_url":"https://api.github.com/users/raidersan/followers","following_url":"https://api.github.com/users/raidersan/following{/other_user}","gists_url":"https://api.github.com/users/raidersan/gists{/gist_id}","starred_url":"https://api.github.com/users/raidersan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raidersan/subscriptions","organizations_url":"https://api.github.com/users/raidersan/orgs","repos_url":"https://api.github.com/users/raidersan/repos","events_url":"https://api.github.com/users/raidersan/events{/privacy}","received_events_url":"https://api.github.com/users/raidersan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-16T17:10:02Z","updated_at":"2015-08-16T20:27:37Z","closed_at":null,"body":"Here is my log, it seems to be very similar to yours, I am not sure what you meant when you said that my routing seem be done differently on Unraid? I am clueless when it comes to routing but I am puzzled by that 172.17.42.1 address as my docker eth0 address is actually 172.17.0.68 (see me interfaces below)\r\n\r\n```\r\nSun Aug 16 18:00:27 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014\r\nSun Aug 16 18:00:27 2015 WARNING: file '/config/openvpn-credentials.txt' is group or others accessible\r\nSun Aug 16 18:00:27 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.\r\nSun Aug 16 18:00:27 2015 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts\r\nSun Aug 16 18:00:27 2015 Socket Buffers: R=[212992->131072] S=[212992->131072]\r\nSun Aug 16 18:00:27 2015 UDPv4 link local: [undef]\r\nSun Aug 16 18:00:27 2015 UDPv4 link remote: [AF_INET]109.201.137.163:1194\r\nSun Aug 16 18:00:27 2015 TLS: Initial packet from [AF_INET]109.201.137.163:1194, sid=31a2bf87 ca03bcc8\r\nSun Aug 16 18:00:27 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this\r\nSun Aug 16 18:00:27 2015 VERIFY OK: depth=1, C=DE, ST=Hesse-Nassau, L=Frankfurt, O=BTGuard, CN=BTGuard CA, emailAddress=support@btguard.com\r\nSun Aug 16 18:00:27 2015 VERIFY OK: depth=0, C=DE, ST=Hesse-Nassau, L=Frankfurt, O=BTGuard, CN=server, emailAddress=support@btguard.com\r\nSun Aug 16 18:00:27 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key\r\nSun Aug 16 18:00:27 2015 NOTE: --mute triggered...\r\nSun Aug 16 18:00:27 2015 4 variation(s) on previous 3 message(s) suppressed by --mute\r\nSun Aug 16 18:00:27 2015 [server] Peer Connection Initiated with [AF_INET]109.201.137.163:1194\r\nSun Aug 16 18:00:29 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)\r\nSun Aug 16 18:00:29 2015 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.8.8,redirect-gateway,route 10.10.10.1,topology net30,ping 10,ping-restart 120,ifconfig 10.10.10.158 10.10.10.157'\r\nSun Aug 16 18:00:29 2015 OPTIONS IMPORT: timers and/or timeouts modified\r\nSun Aug 16 18:00:29 2015 NOTE: --mute triggered...\r\nSun Aug 16 18:00:29 2015 3 variation(s) on previous 3 message(s) suppressed by --mute\r\nSun Aug 16 18:00:29 2015 ROUTE_GATEWAY 172.17.42.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:44\r\nSun Aug 16 18:00:29 2015 TUN/TAP device tun0 opened\r\nSun Aug 16 18:00:29 2015 TUN/TAP TX queue length set to 100\r\nSun Aug 16 18:00:29 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0\r\nSun Aug 16 18:00:29 2015 /sbin/ip link set dev tun0 up mtu 1500\r\nSun Aug 16 18:00:29 2015 /sbin/ip addr add dev tun0 local 10.10.10.158 peer 10.10.10.157\r\nSun Aug 16 18:00:29 2015 /etc/transmission/start.sh tun0 1500 1541 10.10.10.158 10.10.10.157 init\r\nUpdating TRANSMISSION_BIND_ADDRESS_IPV4 to tun0 ip: 10.10.10.158\r\nGenerating transmission settings.json from env variables\r\nSTARTING TRANSMISSION\r\nNO PORT UPDATER FOR THIS PROVIDER\r\nTransmission startup script complete.\r\nSun Aug 16 18:00:29 2015 /sbin/ip route add 109.201.137.163/32 via 172.17.42.1\r\nSun Aug 16 18:00:29 2015 /sbin/ip route del 0.0.0.0/0\r\nSun Aug 16 18:00:29 2015 /sbin/ip route add 0.0.0.0/0 via 10.10.10.157\r\nSun Aug 16 18:00:29 2015 /sbin/ip route add 10.10.10.1/32 via 10.10.10.157\r\nSun Aug 16 18:00:29 2015 Initialization Sequence Completed\r\n```\r\n\r\nHere are my routes\r\n\r\n```\r\nKernel IP routing table\r\nDestination     Gateway         Genmask         Flags Metric Ref    Use Iface\r\n0.0.0.0         10.10.10.157    0.0.0.0         UG    0      0        0 tun0\r\n10.10.10.1      10.10.10.157    255.255.255.255 UGH   0      0        0 tun0\r\n10.10.10.157    0.0.0.0         255.255.255.255 UH    0      0        0 tun0\r\n109.201.137.163 172.17.42.1     255.255.255.255 UGH   0      0        0 eth0\r\n172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 eth0\r\n```\r\n\r\nand my interfaces\r\n\r\n```\r\neth0      Link encap:Ethernet  HWaddr 02:42:ac:11:00:44  \r\n          inet addr:172.17.0.68  Bcast:0.0.0.0  Mask:255.255.0.0\r\n          UP BROADCAST RUNNING  MTU:1500  Metric:1\r\n          RX packets:2456 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:2226 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:0 \r\n          RX bytes:557144 (557.1 KB)  TX bytes:489313 (489.3 KB)\r\n\r\nlo        Link encap:Local Loopback  \r\n          inet addr:127.0.0.1  Mask:255.0.0.0\r\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:0 \r\n          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)\r\n\r\ntun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  \r\n          inet addr:10.10.10.158  P-t-P:10.10.10.157  Mask:255.255.255.255\r\n          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:381 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:100 \r\n          RX bytes:0 (0.0 B)  TX bytes:24787 (24.7 KB)\r\n```"},"comment":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/comments/131618069","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/26#issuecomment-131618069","issue_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/26","id":131618069,"user":{"login":"haugene","id":1038094,"avatar_url":"https://avatars.githubusercontent.com/u/1038094?v=3","gravatar_id":"","url":"https://api.github.com/users/haugene","html_url":"https://github.com/haugene","followers_url":"https://api.github.com/users/haugene/followers","following_url":"https://api.github.com/users/haugene/following{/other_user}","gists_url":"https://api.github.com/users/haugene/gists{/gist_id}","starred_url":"https://api.github.com/users/haugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haugene/subscriptions","organizations_url":"https://api.github.com/users/haugene/orgs","repos_url":"https://api.github.com/users/haugene/repos","events_url":"https://api.github.com/users/haugene/events{/privacy}","received_events_url":"https://api.github.com/users/haugene/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T20:27:37Z","updated_at":"2015-08-16T20:27:37Z","body":"Yeah, I was a little quick there. Compared to the log from your Rpi. But I get what you're saying about the 172.17.42.1 address. See the first section here https://docs.docker.com/articles/networking/ about the default docker0 interface. Also see the part about the --bip flag, maybe you could try to set it to 172.17.42.1/16 or try something else. See if that affects the interfaces or routing."}}