Transmission OpenVPN Guide
|
Posts: 2
Threads: 0
Joined: Sep 2015
Reputation:
0
[Not Solved]
Sep 04, 2015, 04:34 PM
(This post was last modified: Sep 04, 2015, 04:35 PM by guido.)
(Sep 04, 2015, 03:54 PM)Mike Wrote: Guido, I have a feeling this is an OSMC issue which has always had random strange issues (many with Raspbmc, OSMC's predecessor). Are you saying that only one of the programs actually starts in rc.local but not all of them together (e.g. only sickbeard runs but couchpotato and sickbeard don't?)
Your sleep value is incorrect, it should be sleep 15, not sleep15.
You shouldn't need to run Sickbeard or Couchpotato in rc.local, there are init.d scripts for it, how did you install SickBeard and CouchPotato?
I am very curious to see why OSMC is not letting you do things in rc.local.
I would definitely recommend trying the Minibian image and the installer to install Kodi, SickRage and Couchpotato to see if that will suit your needs.
Are you using a Kodi VPN plugin or did you install OpenVPN through SSH?
Before I found the awesome guides from htpc guides, I used this guide http://www.dennisjanssen.be/tutorials/ra...ia-center/.
Indeed there is something weird happening. The following combinations work...
Code:
sudo python /home/osmc/sickbeard/SickBeard.py -d
sudo python /home/osmc/CouchPotatoServer/CouchPotato.py
and
Code:
sudo python /home/osmc/sickbeard/SickBeard.py -d
sleep 15
sudo openvpn --config /etc/openvpn/amsterdam50000.ovpn --auth-user-pass /etc/openvpn/login.txt --script-security 2 --up /etc/openvpn/torrentvpn.sh --down /etc/openvpn/torrentvpnstop.sh
Also individually they all work.
Thanks for the Minibian suggestions, but I am not looking forward to start from scratch again considering all the settings for sickrage and skinning of Kodi. Also, up until this point, OSMC has been working quite well.
First, I will look into removing couchpotato and sickrage from the rc.local. And use init.d.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Sep 04, 2015, 04:58 PM
Check out my guides for CouchPotato and SickRage, both of them use the init.d scripts. Let us know how it goes.
He shouldn't be running anything like CouchPotato or SickRage, I use the pi user for everything (as well as mounting the hard drive) so there are no permission issues.
I can understand not wanting to start from scratch
Posts: 79
Threads: 9
Joined: Aug 2015
Reputation:
2
[Not Solved]
Sep 04, 2015, 10:24 PM
Is there a way to test that transmission will stop if the vpn goes down?
Posts: 38
Threads: 11
Joined: Jul 2015
Reputation:
3
[Not Solved]
Sep 05, 2015, 01:17 AM
I know I am having issues right now with my auto start as well. I haven't run an update in a while maybe need to do that and see if things get fixed.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Sep 05, 2015, 07:17 AM
(Sep 04, 2015, 10:24 PM)Loose Nut Wrote: Is there a way to test that transmission will stop if the vpn goes down?
This is how I tested it:
Code:
sudo service openvpn stop
Posts: 79
Threads: 9
Joined: Aug 2015
Reputation:
2
[Not Solved]
Sep 05, 2015, 07:41 AM
(Sep 05, 2015, 07:17 AM)Mike Wrote: This is how I tested it:
Code:
sudo service openvpn stop
Weird, I did that and not only did my torrents continue, but I removed and re-added the test torrent and it was still displaying PIAs proxy.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Sep 05, 2015, 10:50 AM
That makes very little sense, you should pretty instantly lose the Transmission connection when OpenVPN stops (that is what the --down part does in the rc.local script). I think I will convert the OpenVPN script to an init.d script and see how it goes.
You are on Jessie or Wheezy?
Code:
cat /etc/*release | grep VERSION=
Posts: 79
Threads: 9
Joined: Aug 2015
Reputation:
2
[Not Solved]
Sep 05, 2015, 11:39 PM
(Sep 05, 2015, 10:50 AM)Mike Wrote: That makes very little sense, you should pretty instantly lose the Transmission connection when OpenVPN stops (that is what the --down part does in the rc.local script). I think I will convert the OpenVPN script to an init.d script and see how it goes.
You are on Jessie or Wheezy?
Code:
cat /etc/*release | grep VERSION=
I'm on wheezy.
Is there anything else I can do?
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Sep 06, 2015, 07:32 PM
Not that I can currently think of, I think you can rest assured since even when you are manually stopping OpenVPN Transmission continues to show your VPN IP since this would be the most important thing. There will be a new method that will run torrent traffic through a VPN user so transmission won't even see the non-VPN network interfaces.
Posts: 79
Threads: 9
Joined: Aug 2015
Reputation:
2
[Not Solved]
Sep 07, 2015, 06:54 AM
(Sep 06, 2015, 07:32 PM)Mike Wrote: Not that I can currently think of, I think you can rest assured since even when you are manually stopping OpenVPN Transmission continues to show your VPN IP since this would be the most important thing. There will be a new method that will run torrent traffic through a VPN user so transmission won't even see the non-VPN network interfaces.
That sounds awesome! Will it be hard to switch from one method to another?
|
|
Recent Posts
|
Samba share
jonescelinaa Oct 26, 2024, 09:25 AM
|
Can Be BeNaughty Legit? 7 Things You Want to Lea...
jonesPhedra Oct 24, 2024, 06:39 AM
|
What are the advantages of choosing to pay someo...
hannahwalters Sep 21, 2024, 11:24 AM
|
Update Spotweb and PHP
jonescelinaa Aug 21, 2024, 03:54 AM
|
Find My IP Address - Kodi - Updated
jonescelinaa Jul 09, 2024, 09:42 AM
|
Latest unread posts | Unanswered posts |
|