Jump to content
TorGuard

TorGuard UI for Raspberry

Rate this topic


Support

Recommended Posts

Support

Since we get many requests for this i just wanted to let you guys know that we are not far away to releasing a build for raspberry - openvpn is working great, we have some niggles to fix for open connect and wireguard - we won’t be too much longer :)

 

Screenshot 2020-10-29 at 11.15.43.png

  • Like 4
Link to post
Share on other sites
  • 3 weeks later...
Support
On 11/15/2020 at 4:48 PM, pfailax said:

If you enable wireguard in the option, the protocol is that one?Not openvpn?

 

You need to select wireguard under the tunnel type menu to connect to it - if that is what you mean.

Regards

Link to post
Share on other sites
pfailax
13 hours ago, Support said:

 

You need to select wireguard under the tunnel type menu to connect to it - if that is what you mean.

Regards

It says wireguard is not installed, i must do it separately?

Link to post
Share on other sites

Nice one!

I seem to have missed this thread in my searches all this while.

I got quite frustrated with not having a GUI and ended up building my own for openvpn:

Disconnected.thumb.jpg.7713d2b0a545557636d2a15f1a6fd1b5.jpg

 

connected.jpg.79f2478ab92f6adc78b2220ad3b5b4f9.jpg

 

It was fun writing it, but I didn't fancy trying to do the same for WireGuard - thank goodness I came across this thread.

Some feedback: the popup for WireGuard not being installed is informative, but providing a link to https://www.wireguard.com/install/ isn't helpful since there's no actual instructions for RPi users. Steps 1-8 outlined here are what you actually need.

 

Beta looking good so far - will the GUI update with a "Update available" message when updates are available?

 

Regards

Link to post
Share on other sites
Support

@jdaosk nice one  - yes we will resolve that, this was just temp, we maybe link to a guide on our site on how to update the kernel or install the packages required for wireguard or even possibly try to include those dependencies.

The update message will show when updates are available in this channel yes.

Regards

  • Like 1
Link to post
Share on other sites
Obi-Wan2

I almost chose a different VPN provider, because they had a GUI interface for Raspberry PI, so this is really game changing.

Is there any step by step instructions on installing https://torguard.net/downloads/torguard-v4.2.1-beta-arm32.deb on installing on the Raspbian OS? I have a technical background in Microsoft based computers and networks, but I'm new to Raspberry PI and it's Linux style interface and commands. I'm not even sure what to do with the previously mentioned file (how to install it, etc.).

Any help would be appreciated!

Link to post
Share on other sites
19807409

Sometimes I wonder about reports of something not working where on first attempt it works, when I commented back then, it worked, now I tested again for ability to share my experience with other used who seem to have troubles. For a guide, well, thinking that by asking about raspbian users mean arm architecture :

  1. Download latest for ARM (https://torguard.net/downloads/torguard-v4.2.1-beta-arm32.deb)
    (@Support hope in future, this link will be used for latest: https://torguard.net/downloads/torguard-latest-amd32.deb)
  2. Double click with left mouse on downloaded browser (does not matter if you click it in your browser downloads or in file browser)
    for those using terminal, assuming it is downloaded in your Downloads folder:
    sudo dpkg -i ~/Downloads/torguard-v4.2.1-beta-arm32.deb

     

  3. Start TorGuard application and set your settings/servers/credentials etc...
    Wireguard is already enabled by default
  4. If you use Wireguard, on first start you will get SSL handshake error, you have to close TG client after first ever start
    @Support I guess this is the only which could be fixed in non beta, but in real, I think it is not a problem as most users will set some settings which anyway require TorGuard client restart.
  5. Start TorGuard client and connect

 

Here are screenshots from those steps

  1. Downloaded and double click directly from browser and click on install
    [url=https://ibb.co/HxHKCkW][img]https://i.ibb.co/HxHKCkW/grafik.png[/img][/url]
    [url=https://i.ibb.co/pxh0rhz/grafik.png][img]https://i.ibb.co/pxh0rhz/grafik.png[/img][/url]
    - Wait until all packages are downloaded
       [url=https://i.ibb.co/CnrZk45/grafik.png][img]https://i.ibb.co/CnrZk45/grafik.png[/img][/url]
    - Wait until all packages are installed
       [url=https://i.ibb.co/vqQjBPK/grafik.png][img]https://i.ibb.co/vqQjBPK/grafik.png[/img][/url]
  2. Start TorGuard client from terminal or from main menu, TorGuard is placed by default into Internet folder
    [url=https://ibb.co/1LdLpRZ][img]https://i.ibb.co/1LdLpRZ/grafik.png[/img][/url]
    - Enter your password
       [url=https://ibb.co/zrkBp87][img]https://i.ibb.co/zrkBp87/grafik.png[/img][/url]
    - wait until application launches
       [url=https://ibb.co/YkFwKhJ][img]https://i.ibb.co/YkFwKhJ/grafik.png[/img][/url]
  3. Set your settings, wireguard is enabled by default on first start
    [url=https://imgbb.com/][img]https://i.ibb.co/94nC2Z7/grafik.png[/img][/url]
    - General defaults
      [url=https://ibb.co/YLqvXNN][img]https://i.ibb.co/YLqvXNN/grafik.png[/img][/url]
    - Network settings defaults
       [url=https://ibb.co/Ph4b95T][img]https://i.ibb.co/yy5MY8h/grafik.png[/img][/url]
    - Clicking on connect will ask you for credentials, enter it, you will get SSL handshake error on first client launch
       [url=https://ibb.co/VJXm34y][img]https://i.ibb.co/VJXm34y/grafik.png[/img][/url]
    - SSL Handshake error on first start of TorGuard client
       [url=https://i.ibb.co/MMwPGjZ/grafik.png[][img]https://i.ibb.co/MMwPGjZ/grafik.png[/img][/url]
    - If you enabled TorGuard in System tray (@Support this works too without any issues)
      [url=https://i.ibb.co/z2W1mrj/grafik.png][img]https://i.ibb.co/z2W1mrj/grafik.png[/img][/url]
  4. Shutdown/Close TorGuard client
    [url=https://i.ibb.co/0CD4pZS/grafik.png][img]https://i.ibb.co/0CD4pZS/grafik.png[/img][/url]
  5. Start TorGuard client from start menu and connect to your desired server
    - [url=https://ibb.co/XCc0mvC][img]https://i.ibb.co/XCc0mvC/grafik.png[/img][/url]
    - [url=https://ibb.co/dJPBgSZ][img]https://i.ibb.co/dJPBgSZ/grafik.png[/img][/url]
    - [url=https://ibb.co/5nvQwgx][img]https://i.ibb.co/5nvQwgx/grafik.png[/img][/url]
    - iperf3 test with a far away server in germany gets max speed as it does when connected to closest server (USA is more than 3000 km away from this device)
       [url=https://i.ibb.co/68jxzqy/grafik.png][img]https://i.ibb.co/68jxzqy/grafik.png[/img][/url]
    - here you can see task manager during the test where wireguard clearly uses almost no additional CPU power
      [url=https://ibb.co/QjbTh13][img]https://i.ibb.co/QjbTh13/grafik.png[/img][/url]
    - you can connect from system tray
       [url=https://ibb.co/DKJc05w][img]https://i.ibb.co/DKJc05w/grafik.png[/img][/url]
    - Connection established shown in System Tray
       [url=https://i.ibb.co/YZzRPC9/grafik.png][img]https://i.ibb.co/YZzRPC9/grafik.png[/img][/url]

 

@Support I can not confirm any mentioned issues for raspbian with this, it works very stable, no disconnects and no UI issues for now (I only tested default UI). Sorry for delayed review. Device is RPi3 where I use eMMC card with adapter in SD slot.

Link to post
Share on other sites
19807409

@Support you disabled images just for me or in general? Funny to see other users posting images, however, I will not waste time editing it now and finding out if something changed or if I should convert them to html urls. You must know, this will for sure have some impact on me using this forum, better said not using at all.

Link to post
Share on other sites
Support
4 hours ago, 19807409 said:

@Support you disabled images just for me or in general? Funny to see other users posting images, however, I will not waste time editing it now and finding out if something changed or if I should convert them to html urls. You must know, this will for sure have some impact on me using this forum, better said not using at all.

 

Hey there, no absolutely not, we would have no reason to do that - I will check It out just now for you.

Edit: It was a storage limit for each user, yours was at the limit - that’s now resolved.

Regards

Link to post
Share on other sites
Obi-Wan2

Thank you member 19807409!

I was able to successfully install and configure the GUI version of TorGuard on Raspberry PI.

Does anyone know how to get WireGuard installed on Raspberry PI, so that I can use TorGuard with it?

Link to post
Share on other sites
19807409

@Obi-Wan2

you are welcome, in general you can follow official documentation for how to build and install wireguard on rpi, I actually use original client on rpi, not TorGuard client, above was just to show how to install torguard client. I wrote a guide for rockpi4 with ubuntu (should be same for rpi4 on ubuntu)

If you do not want to compile by yourself, you can install from PPA too, here would be how I installed it on my rpi3 without compiling

sudo add-apt-repository ppa:wireguard/wireguard
echo "deb http://deb.debian.org/debian/ unstable main" | sudo tee --append /etc/apt/sources.list
sudo apt-key adv --keyserver   keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
sudo apt-key adv --keyserver   keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo sh -c 'printf "Package: *\nPin: release a=unstable\nPin-Priority: 90\n" > /etc/apt/preferences.d/limit-unstable'
sudo apt-get update
sudo apt-get install -y resolvconf
sudo apt install wireguard wireguard-tools

 

I also installed dkms package (if it does not install automatically):

If you install dkms, then make sure you installed also all other required packaged

sudo apt-get install raspberrypi-kernel-headers
sudo apt-get install -y libelf-dev linux-headers-$(uname -r) build-essential pkg-config
sudo apt-get install -y libelf-dev build-essential pkg-config
sudo service networking restart
sudo apt install wireguard-dkms

That would be it, probably for you is easier to use PPA, but for some devices there is no wireguard from repo so one has to compile it and you could follow my guide above. If you get compilation errors or it does not compile, you probably need to use some specific gcc/g++ version, on kernel 4 I build it always successfully with gcc7/g++7.

Hope it helps.

 

Link to post
Share on other sites
19807409
On 11/25/2020 at 10:26 PM, Paking00 said:

Does it work well with pi-hole?

As long as a package for the architecture you use is available, it should work, even with very old and weak devices as long as they have compatible kernel 3 or higher, I guess current one is kernel 5 for pi-hole, I do not own any pi-hole and by that I can't test it, try search engines on how to install wireguard on it then install torguard client which should be working on pi-hole too.

Link to post
Share on other sites
19807409
16 hours ago, Support said:

Hey there, no absolutely not, we would have no reason to do that - I will check It out just now for you.

Edit: It was a storage limit for each user, yours was at the limit - that’s now resolved.

Regards

Thanks for checking.

When I wrote my guides, already first screenshot was bigger than storage limit for me, this is why I used image hoster in all my guides, otherwise I would not be able to use any screenshot. Beside that, using image hoster lets me use thumbnail image for large images or full images for those smaller which can be put full.

Unti now syntax worked:

# this forum soft uses BBCode syntax
#	Insert Image without link
[img]IMAGEURL[/img]
#	Insert Image with link
[url=LINKURL][img]IMAGEURL[/img][/url]

as well as spoilers could be used some time ago, not sure it works still same way, those are useful for big/long guides for better overview as well as if one does not want crawler to get info from spoiler

[spoiler]CLICK TO OPEN/CLOSE SPOILER
1.#
2.#
etc...
[/spoiler]
# It is usefull if spoiler can have a name/label, this syntax never worked here but would be nice if it does:
[spoiler=CLICK TO OPEN/CLOSE SPOILER]1.#
2.#
etc...[/spoiler]

spoiler example:

[spoiler]CLICK TO OPEN/CLOSE SPOILER
1.#
2.#
etc...
[/spoiler]

I also really would dislike to edit above guide in wasting space assigned to my username, using image hoster seems still easier for me and if you overtake guides to your KB then you anyway are able to upload those images I guess. However, as we can see, img bbcode does not work and no image is shown, where I used the same syntax in every previous post guide and this change seems to have happened with latest upgrade of this forum soft which indeed is good, as the old was very slow and eating up ressources/slowing down my browser and that on a really high end pc. Hope this gets fixed and if, then above post should automatically show images as they all are valid

 

EDIT: Also, images like openwrt, which are actually on openwrt's official github, I would prefer to have them shown and linked as if those update which they do sometimes, then guides would have latest image without a requirement to edit post.

Link to post
Share on other sites
19807409

@Support checked now code of this forum soft :)

The editor excludes insert image button, and you (I mean maintenancer/devs) disabled ability to insert images, instead if one clicks on inserted image (like if there is a button in this editor to insert it), then it looks like this (that is now image from imgbb.com btw, just as proof that I found a way how to insert it):
Full image in BBCODE (not shown here):

[url=https://imgbb.com/][img]https://i.ibb.co/0DCdRJR/grafik.png[/img][/url]

Here is the same one injected

https://i.ibb.co/0DCdRJR/grafik.png

With preview link BBCODE (thumbnail image, linked to full one, bbcode does not work):

[url=https://ibb.co/X27vrJr][img]https://i.ibb.co/X27vrJr/grafik.png[/img][/url]

Here it is injected:

https://i.ibb.co/X27vrJr/grafik.png

Makes no sense to actually disable it in editore/visually if it is still possible, that thing now just wasted my time and I would really dislike to edit by reinjecting the post above.

 

Link to post
Share on other sites
19807409
20 hours ago, Paking00 said:

Does this work with 64 bit version of Raspberry Pi?

 

5 hours ago, mrneilypops said:

Before I dive in as this is an arm build do you think it will work on an Odroid C2?

https://www.hardkernel.com/shop/odroid-c2/

Yes, if you mean wireguard, not sure of current state if you mean torgurd client, here is aarch64 version: https://torguard.net/downloads/torguard-latest-amd64-arch.tar.gz

When I tried it last time some time ago, this package did not work as it uses some libs from another architecture, it would require you to actually rebuild it and I have no source code of TG client, all that was done on ubuntu aarch64, however, wireguard works and can be used and Odroid C2 as well as any SoC board would run with it, rock pi devices all work with it and have similar architecture to odroid c2.

I guess it just matter of some short time until torguard releases proper aarch64 version if that was the question from @Paking00 and @mrneilypops. Guide for Ubuntu aarch64 and compiling wireguard (as over ppa there is no for aarch64).

Link to post
Share on other sites
Paking00
4 hours ago, 19807409 said:

 

Yes, if you mean wireguard, not sure of current state if you mean torgurd client, here is aarch64 version: https://torguard.net/downloads/torguard-latest-amd64-arch.tar.gz

When I tried it last time some time ago, this package did not work as it uses some libs from another architecture, it would require you to actually rebuild it and I have no source code of TG client, all that was done on ubuntu aarch64, however, wireguard works and can be used and Odroid C2 as well as any SoC board would run with it, rock pi devices all work with it and have similar architecture to odroid c2.

I guess it just matter of some short time until torguard releases proper aarch64 version if that was the question from @Paking00 and @mrneilypops. Guide for Ubuntu aarch64 and compiling wireguard (as over ppa there is no for aarch64).

Thanks. I'll just stick with 32-bit for now.

Link to post
Share on other sites

The UI is too long for my 7" lcd screen. I can't access the bottom of the UI to press the save buttons to save any changes. I can't uncheck the wireguard option. The resolution of the 7" lcd touch screen is 1024x600. Is it a problem with the dpi?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...