Package Details: torguard 3.96.1-2

Git Clone URL: https://aur.archlinux.org/torguard.git (read-only)
Package Base: torguard
Description: TorGuard VPN Software Stay private online with TorGuard's anonymous VPN software and connect to 37+ countries worldwide.
Upstream URL: https://www.torguard.com
Licenses: custom
Submitter: coco
Maintainer: coco (thatgeek, dramm)
Last Packager: dramm
Votes: 10
Popularity: 0.57
First Submitted: 2017-01-25 16:18
Last Updated: 2019-08-03 20:56

Pinned Comments

dramm commented on 2019-08-03 21:06

It must be run with sudo.

I usually modify the desktop file with the following: Exec=gksudo /usr/bin/torguard That way I can still open it through the desktop file.

If you don't want to type your password, just set the sudoers file accordingly.

Latest Comments

1 2 3 4 Next › Last »

dramm commented on 2019-08-11 16:23

For autostarting have a lot at https://wiki.archlinux.org/index.php/autostarting

You can set it to run on desktop environment startup or on window manager startup.

Does the autoconnect on start work correctly?

GrievousMa commented on 2019-08-11 07:43

@dramm thank you for the update. Stealth proxy, Stunnel and connecting via port 4443 all work very well now.

Autostart on boot option still does not work for me, but that is minor.

dramm commented on 2019-08-03 21:06

It must be run with sudo.

I usually modify the desktop file with the following: Exec=gksudo /usr/bin/torguard That way I can still open it through the desktop file.

If you don't want to type your password, just set the sudoers file accordingly.

dramm commented on 2019-08-03 20:58

@GrievousMa and @IslamMu

I updated the package.

The problem doesn't seem to be related to permissions but with unrecognized arguments, both by openconnect and openvpn. These parameters no longer work in the newer versions of openconnect and openvpn or torguard team did some modifications on the binaries. Either way I'm not a big fan of using their binaries... It should be working with the standard packages.

Anyways, it should be working.

Here are the outputs from openconnect and openvpn that are causing the errors, in case anybody wants to look into it:

OPENCONNECT STDERR:  "/opt/torguard/bin/openconnect: unrecognized option '--sbg-port-cmd-fd'"
 OPENVPN STDOUT:  "Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: scramble (2.4.7)"

GrievousMa commented on 2019-07-31 12:19

@dramm I have the same issue as IslamMu had, confirming all they had written before: Torguard won't connect with Stealth proxy or Stunnel or Openconnect options. Also Manjaro Linux. I run torguard as sudo /usr/bin/torguard - it does not connect at all without sudo.

Using Stealth proxy server results in "ss-local could not be started". This may be related to shadowsocks-libev, I guess? Perhaps it wants regular shadowsocks, not libev?

Using Port / Auth 4443 (SHA256/Stealth) gives "Could not connect to the VPN management socket. Please check your firewall settings!"

Using Stunnel option leads to "Error while starting STunnel STunnel could not be started".

Also checking the option More Settings -> General -> Auto-start on boot gives "Error enabling autostart option"

--

What I did:

  1. added myself to torguard and stunnel groups gpasswd -a *user* torguard, gpasswd -a *user* stunnel

  2. changed a line in /usr/share/applications/torguard.desktop file to Exec=sudo /usr/bin/torguard

  3. added a line to /etc/sudoers %torguard *myhost*=(root) NOPASSWD: /usr/bin/torguard, /opt/torguard/bin/torguard

--

Manjaro 18.0.4

torguard 3.96.1-1

stunnel 5.55-1

shadowsocks-libev 3.3.0-1

My guess is that it is related to groups permissions. There were no mentions of torguard in my sudoers configuration. Additionally, my user profile was not a member of stunnel or torguard groups. But even after I did it, the stealth proxy options described above did not start working.

dramm commented on 2019-07-10 13:16

@IslamMu It works with stunnel version 5.55. What version you are on?

IslamMu commented on 2019-06-06 22:36

@dramm . hey bro, could you upgrade to latest package and fix the error we talked about before

ciciolina commented on 2019-05-24 11:11

hi, i install the package directly from the torguard page that include the binaries and its more easy to run stealth servers and run without pass (prompt for the superuser password). for that you only need to change this line in the torguard.desktop

Exec=/usr/bin/torguard to: Exec=sudo /opt/torguard/bin/torguard
And save the file, now you can run with sudo privilege and works perfectly. Please add the binaries ;D

Pd. torguard.desktop file its here: /usr/share/applications/

dramm commented on 2019-05-20 15:47

Glad it worked for you. The reason I don't use the binaries in the package is because I was to avoid it, by the guys in the IRC. But yeah, I will have to look into it.

IslamMu commented on 2019-05-20 15:35

dramm i un installed the package form aur and stunnel, then i installed latest package with this way: cd Downloads, ,tar -xvzf torguard-v3.95.0-amd64-arch.tar.gz ,cd torguard-v3.95.0-amd64-arch ,makepkg -s ,sudo pacman -U *.pkg.tar.xz

and its working fine, i guess stunnel is included with this package, maybe you need to test your aur package or update it. thanks for helping me <3