December 13, 201312 yr Since the log show tun0, then you have not updated the plugin, can you please do that and try again? FYI, I also use PIA, and have no issues. //Peter Will do.
January 11, 201412 yr Keep getting this: "Options error: --ca fails with 'ca.crt': No such file or directory Options error: Please correct these errors. Use --help for more information. " Filepath is \boot\openvpn\PIA Not sure whats going on here.
January 11, 201412 yr Author Hi, You are on the latest version? check if there is not any new update of the plugin, I use PIA as well, and have no issue. //Petre
January 11, 201412 yr Keep getting this: "Options error: --ca fails with 'ca.crt': No such file or directory Options error: Please correct these errors. Use --help for more information. " Filepath is \boot\openvpn\PIA Not sure whats going on here. Is there a "ca.crt" file in \boot\openvpn\PIA"? Is the path identified in the --ca option showing the correct path and the correct case "PIA" vs "pia"?
January 12, 201412 yr Author Keep getting this: "Options error: --ca fails with 'ca.crt': No such file or directory Options error: Please correct these errors. Use --help for more information. " Filepath is \boot\openvpn\PIA Not sure whats going on here. This error have been fixed in the new version. Also removed curl packaged in the plugin, since this is now included in 5.0.4 Edit Do a save config after plugin is installed! Some changes have been done on the config file. //Peter
January 12, 201412 yr I actually got it working without the update. Eventually, it detected the ca.crt file.
January 13, 201412 yr Author I actually got it working without the update. Eventually, it detected the ca.crt file. what did you do? , it's common to state the solution. //Peter
January 15, 201412 yr so i implemented the port_open.sh script that you posted but how can i tell if its working? What output do you get from these 2 commands? cat /tmp/vpn_ip cat /tmp/vpn_port_opened vpn_ip should be an ip address starting with 10.x.x.x. vpn_port_opened should be the port Transmission is set to use. In the port_open.sh script, the "ifconfig" line checks for your PIA local IP address & saves it to /tmp/vpn_ip. The "curl" command opens the port & saves it to /tmp/vpn_port_opened. The awk command sets the port opened in Transmission (without having to edit the settings file or restart Transmission). when i open Transmission Remote GUI and go to >tools>transmission options>network>test port it still says port closed , and in my system log i keep getting a lot of " Scrape error: Could not connect to tracker" . and a whole lot of Saved "/mnt/disk/apps/transmission/stats.json" (bencode.c:1733) like every few minutes. I am using the web GUI instead of remote GUI, not sure of the differences. When working, the Transmission web GUI should show port opened & the port should be the same as /tmp/vpn_port_opened. My syslog shows lots of stats saved & torrent resumed messages. I have my transmission port set as 36424 here is what i get when i run: lsof -i -n -P COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME rpc.portm 937 bin 4u IPv4 551 0t0 UDP *:111 rpc.portm 937 bin 5u IPv4 552 0t0 TCP *:111 (LISTEN) rpc.statd 941 root 5u IPv4 4376 0t0 UDP *:703 rpc.statd 941 root 7u IPv4 4385 0t0 UDP *:52456 rpc.statd 941 root 8u IPv4 4388 0t0 TCP *:33174 (LISTEN) transmiss 7776 nobody 9u IPv4 1212618 0t0 UDP *:43503 transmiss 7776 nobody 10u IPv4 1212622 0t0 TCP *:9091 (LISTEN) transmiss 7776 nobody 11u IPv4 1212623 0t0 TCP *:36424 (LISTEN) transmiss 7776 nobody 12u IPv4 1212625 0t0 UDP *:36424 transmiss 7776 nobody 16u IPv4 1938323 0t0 TCP 10.171.1.6:45473->203.219.131.165:51413 (ESTABLISHED) Looks like Transmission is running on port 36424. Is that the port reported opened in /tmp/vpn_port_opened? and one other thing when i edit settings.json file to bind transmission to ipv4 adress all my torrents go red and unable to connect , should i make sure there are no torrents in transmission when i implement the bind ipv4 adress? Whenever you edit the settings.json file, Transmission has to be stopped & restarted (else it overwrites your settings). Should not have to empty out existing torrents though. cat /tmp/vpn_port_opened returns nothing. the other command works properly. What do to? I know I'm late to the game in this thread, someone, please help! *Problem was fixed by adding a "-k" next to the Curl statement right before the -d
January 20, 201412 yr if i have 2 nics: eth0: 192.168.2.4 eth1: 192.168.2.5 and only want eth1 to use the vpn could i install this and place 192.168.2.4 in the bypass.txt file to make all vpn traffic goto eth1?
January 26, 201412 yr The OpenVPN log is at /tmp/openvpn/openvpn.out, but it appears to get erased when the plugin is stopped, what would be the best way to make it permanent, at least for awhile, while I'm testing? I've tried copying it to a location on the cache drive, but my skills are somewhat lacking
January 26, 201412 yr So I got this plugin working with a VPN service and it seems to be great. My ISP has been throttling me for the last 7-8 months on certain things and this seems to have brought my speeds back. I have a question though. While my unraid server is connected to the VPN I start having high latency to things on the internet with other computers on my network. Gaming for example. I'm not sure if being connected to the VPN is using my entire upload speed but if so, is there a way to limit this on this plugin? This may not be it but I've seen when I upload things my latency goes up quite a bit.
February 13, 201412 yr Hi, Found this link to a kill switch script for Private internet access. It should work with any VPN that provides a connection to tun0, tun5, etc. It suppose to kill internet access if the VPN goes down. original script can be found here. https://www.privateinternetaccess.com/forum/index.php?p=/discussion/1151/pia-iptables-manager-new/p1 You need to install iptables for it to work http://search.slackware.eu/cgi-bin/package.cgi/view/slackware-13.37/slackware/n/iptables-1.4.10-i486-1.txz I've adapted the script for unraid and attached the script to this post. Added the "--no-check-certificate" to the wget lines, removed the "clear" commands which destroy the boot process if you install ncurses. Also added the ability to pass variables and removed the menu wait commands. You can send it these variables " start | stop | status " Copy it to your /usr/sbin/ folder every time you boot then run it from the go script, illustrated below cp /boot/config/plugins/openvpn/killswitch /usr/sbin/ killswitch start The status function works as best as to my abilities, but you should look and compare the "IPTABLES" output to the "ON" output. If there is a better coder out there who can spruce this up and check my work it would be greatly appreciated. Enjoy killswitch.zip
February 18, 201412 yr Just trying out my first VPN (SlickVPN) but I can't do anything with the 'Client configuration file' option. Thanks.
March 27, 201412 yr Yes, it will be a new release of the plugin, can't say when... //P Awesome. I am thinking about moving to unraid 6 this weekend and I use it for my PIA connection Sent from my Nexus 5 using Tapatalk
March 27, 201412 yr How can i make sab/couch/sickbeard to run after the openvpn is already connected? Also if I put the protocol to udp I am not getting the speed the speed. While on my dd-wrt i get the full speed. Any idea?
April 9, 201412 yr Author When it's solved from Toms side ( i Think), some issue with PHP commands in the plugin for B4 //Peter
Archived
This topic is now archived and is closed to further replies.