Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



How to install Wire...
 
Share:
Notifications
Clear all

[Solved] How to install Wireguard on an Amazon Fire TV stick

11 Posts
3 Users
2 Reactions
39.8 K Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

I like to use repurpose my old Amazon Fire TV stick, by installing WireGuard on it so I can access my media at home (I have a Wireguard server running on my firewall).

For this I would need to do 2 stings:

  1. Install WireGuard (which is not available in the Amazon App store)
  2. Install the config file for my wireguard connection so it can be imported.

--> you will need to have ADB installed on your computer (excellent guide).

 

Install the Wireguard APK

- Enable Developer options on the FireTV.

Got to Settings -> My FireTV -> Developer Options and enable (ON) ADB debugging and Apps from unknown sources.

- Download the Wireguard APK from F-Droid (optional: follow the link on the WireGuard homepage)

- Determine IP address of your FireTV (About -> Network)

- Install the APK

Open Terminal or a DOS box (depending what OS you're running)

adb connect <ipFireTV>:5555
adb install </path/to/the/wireguard.apk>

 

Push the config file

Next, Wireguard expects a config file, which needs to be pushed as well.
Adb helps with this as well;

adb push <wireguard.apk> /sdcard/

After transfer, you can find the file with Wireguard.


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

I just realized that I assumed we'd all have ADB installed. Stupid assumption.

So for those that do not have ADB installed on your computer, you can get the official (!) minimal install here, straight from Google:

In case these links stop working, I'll try to attach the current versions (June 2024).


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

Windows version (June 2024):


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

I had to recompress the macOS version, for the forum to accept its size:

 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

Same for the Linux version:


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
 

What is the exact link to the apk?  I'm unsure what one works well with a firestick.  And the old one I used is no longer available.

Night


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
 

So after a little more googling, I think I have my answer.  The file I saw and used was com.wireguard.android_492.apk  But I found this website https://apk.support/app/com.wireguard.android/versions   That tells me the file name was a shortened version.

So will any apk version from wireguard work?

Night


   
Hans reacted
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

You will need the APK suitable for your device - mainly depending on the CPU and Android version.
And yes; that doesn't make it any easier. 😉 

However, it looks like the Wireguard team released an APK suitable for most common Android devices, you can find the lastest APK version here.

The first one is the direct download, which can be uploaded to your Firestick.
As far as I know, this version should work.

I'd pick an official one, so I would stick to the official Wireguard website (since the Amazon app store and the Google Play Store are unusable on an Amazon Firestick).

That is the version that worked on my old Amazon Fire box, and my more recent Firestick 4K.


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
 

@hans Thank you


   
Hans reacted
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
 

Hi @hans

I've done this and Wireguard is installed on my Firestick - and the .config file is there in /sdcard/ ready, and waiting... but when I'm open the Wireguard App and see the "Add tunnel to get started", I press on the "+" and the controller does nothing at all. So, I just can't actually do anything. Help!


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

@philabbo What model Firestick are you using?

Quite a while ago I installed it on a 1st or 2nd gen Firestick (which seems to run an old Android version).
This last one I installed on a Firestick 4K Max (International version).

Just asking because the Android version may be rather old. I experienced similar challenges a few years back on my NVidia Shield. If I recall correctly, at that time I did it by copying a config file to the device and have it import by Wireguard.

Config file looks something like this, and should be saved as somename.conf on the Firestick (I know: it's a pain).

[Interface]
PrivateKey = [client key]
ListenPort = [port number]

[Peer]
PublicKey = [Server key]
AllowedIPs = [allowed IP addresses, can be 0.0.0.0/0]
Endpoint = [server IP address and port number]

 

Hope this helps, feel free to ask if it doesn't help ... 😊 


   
ReplyQuote
Share: