[Not Solved]
Sep 03, 2015, 10:41 AM
(This post was last modified: Sep 04, 2015, 05:08 PM by Mike.)
I'm having an issue with the openvpn transmission guide. Once I do all the steps in the guide it appears to be working and by doing the torrent file test I get PIA's IP instead of my own. However, once I reboot the Banana Pi transmission appears to stop working. I cannot access it via the web gui. I did service transmission-daemon restart and I was able to log into the web gui. However, I was no longer being protected by the PIA IP and my own IP was visible with the torrent file test.
I thought maybe it was a permissions thing, so I re-did the tutorial as root and the same thing happened. I did notice the following error though:
root@bananapi:~# cd /etc/openvpn
root@bananapi:/etc/openvpn# sudo openvpn --config /etc/openvpn/'AU Melbourne.ovpn' --auth-user-pass /etc/openvpn/login.txt --script-security 2 --up /etc/openvpn /torrentvpn.sh --down /etc/openvpn/torrentvpnstop.sh
Thu Sep 3 12:29:02 2015 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Thu Sep 3 12:29:02 2015 WARNING: file '/etc/openvpn/login.txt' is group or othe rs accessible
Thu Sep 3 12:29:02 2015 NOTE: the current --script-security setting may allow t his configuration to call user-defined scripts
Thu Sep 3 12:29:02 2015 LZO compression initialized
Thu Sep 3 12:29:02 2015 UDPv4 link local: [undef]
Thu Sep 3 12:29:02 2015 UDPv4 link remote: [AF_INET]168.1.99.218:1194
Thu Sep 3 12:29:02 2015 WARNING: this configuration may cache passwords in memo ry -- use the auth-nocache option to prevent this
Thu Sep 3 12:29:03 2015 [Private_Internet_Access] Peer Connection Initiated wit h [AF_INET]168.1.99.218:1194
Thu Sep 3 12:29:06 2015 TUN/TAP device tun1 opened
Thu Sep 3 12:29:06 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Sep 3 12:29:06 2015 /sbin/ifconfig tun1 10.108.1.6 pointopoint 10.108.1.5 m tu 1500
Thu Sep 3 12:29:06 2015 /etc/openvpn/torrentvpn.sh tun1 1500 1542 10.108.1.6 10 .108.1.5 init
Stopping bittorrent daemon: transmission-daemon.
nameserver 209.222.18.222
nameserver 209.222.18.218
RTNETLINK answers: File exists
RTNETLINK answers: File exists
Restarting bittorrent daemon: transmission-daemon.
SIOCADDRT: File exists
Thu Sep 3 12:29:07 2015 ERROR: Linux route add command failed: external program exited with error status: 7
Thu Sep 3 12:29:07 2015 Initialization Sequence Completed
Could that have something to do with it? I have been playing with it for ages, but nothing I do seems to fix it
I thought maybe it was a permissions thing, so I re-did the tutorial as root and the same thing happened. I did notice the following error though:
root@bananapi:~# cd /etc/openvpn
root@bananapi:/etc/openvpn# sudo openvpn --config /etc/openvpn/'AU Melbourne.ovpn' --auth-user-pass /etc/openvpn/login.txt --script-security 2 --up /etc/openvpn /torrentvpn.sh --down /etc/openvpn/torrentvpnstop.sh
Thu Sep 3 12:29:02 2015 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Thu Sep 3 12:29:02 2015 WARNING: file '/etc/openvpn/login.txt' is group or othe rs accessible
Thu Sep 3 12:29:02 2015 NOTE: the current --script-security setting may allow t his configuration to call user-defined scripts
Thu Sep 3 12:29:02 2015 LZO compression initialized
Thu Sep 3 12:29:02 2015 UDPv4 link local: [undef]
Thu Sep 3 12:29:02 2015 UDPv4 link remote: [AF_INET]168.1.99.218:1194
Thu Sep 3 12:29:02 2015 WARNING: this configuration may cache passwords in memo ry -- use the auth-nocache option to prevent this
Thu Sep 3 12:29:03 2015 [Private_Internet_Access] Peer Connection Initiated wit h [AF_INET]168.1.99.218:1194
Thu Sep 3 12:29:06 2015 TUN/TAP device tun1 opened
Thu Sep 3 12:29:06 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Sep 3 12:29:06 2015 /sbin/ifconfig tun1 10.108.1.6 pointopoint 10.108.1.5 m tu 1500
Thu Sep 3 12:29:06 2015 /etc/openvpn/torrentvpn.sh tun1 1500 1542 10.108.1.6 10 .108.1.5 init
Stopping bittorrent daemon: transmission-daemon.
nameserver 209.222.18.222
nameserver 209.222.18.218
RTNETLINK answers: File exists
RTNETLINK answers: File exists
Restarting bittorrent daemon: transmission-daemon.
SIOCADDRT: File exists
Thu Sep 3 12:29:07 2015 ERROR: Linux route add command failed: external program exited with error status: 7
Thu Sep 3 12:29:07 2015 Initialization Sequence Completed
Could that have something to do with it? I have been playing with it for ages, but nothing I do seems to fix it