Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OpenVPN Client:32 and 64-bit: Your Private and Secure Path to the Internet

Featured Replies

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.

  • 4 weeks later...
  • Replies 546
  • Views 164.7k
  • Created
  • Last Reply

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.

  • 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

Im on the latest version.

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"?

  • 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

I actually got it working without the update. Eventually, it detected the ca.crt file.

  • 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

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

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?

Up and running first try from Control Panel, and I'm a real noob! Thank you... :)

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

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.

  • 3 weeks later...

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

Just trying out my first VPN (SlickVPN) but I can't do anything with the 'Client configuration file' option.

 

Thanks.

Has anyone tried using this with HideMyAss??

  • 1 month later...

Any plans to make this for 64bit unRAID 6?

  • Author

Yes, it will be a new release of the plugin, can't say when...

 

//P

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

 

 

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?

Sorry this was for server

  • Author

Found a bug when saving config file.

plg removed

 

//Peter

  • 2 weeks later...

Any word on when the x64 version of the plugin will be available again?

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.