unnoted / wireguird Goto Github PK
View Code? Open in Web Editor NEWwireguard gtk gui for linux
License: MIT License
wireguard gtk gui for linux
License: MIT License
Hello, I'm attempting to install v1.0.0 in Linux Mint Debian Edition (LMDE) and I get this odd error when running the .deb file:
dpkg-deb: error: archive '/home/me/Downloads/wireguird_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /home/me/Downloads/wireguird_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
I tried installing via compiling, but I found a few issues.
wireguird: cleaning...
rm: cannot remove './build/wireguird_amd64.deb': No such file or directory
wireguird: building go binary...
./package.sh: line 7: go: command not found
wireguird: copying icons...
wireguird: building debian package...
mkdir: cannot create directory ‘./build/’: File exists
dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)
wireguird: done
What should I do here? This comes up when running ./package.sh on Linux Mint 20.3 Cinnamon.
I did a snap install go --classic
to get over the "command not found" for go but the "control directory has bad permissions" error persists.
Not a big deal, the .deb installer works fine, but just figured I'd ask!
Hi,
I was trying to install in this way but it did not work
alex@host:~$ sudo dpkg -i ./wireguird_amd64.deb
dpkg-deb: error: archive './wireguird_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive ./wireguird_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
./wireguird_amd64.deb
Hello, wil be possible to make AUR package?
Regards.
Hi,
version 1.0.0 doesn't seams to be compatible with Ubuntu 20.04 and libc6_2.31 ?
sudo wireguird
/opt/wireguird/wireguird: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/wireguird/wireguird)
/opt/wireguird/wireguird: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wireguird/wireguird)
Thanks
Happy to drop logs or whatever is required.
without sudo:
$ wireguird
==== AUTHENTICATING FOR org.freedesktop.policykit.pkexec.wireguird ====
Authentication is required to run wireguird
Authenticating as: user
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not
authorized
This incident has been reported.
with sudo:
$ sudo wireguird
[sudo] password for huuh:
The value for the SHELL variable was not found in the /etc/shells file
This incident has been reported.
Installed with AUR package.
Name : wireguird
Version : 1.0.0-4
$ pkexec --version
pkexec version 122
Hello,
problem in compilation because go-appindicator is now v1.0.1
go.sum:
github.com/dawidd6/go-appindicator v1.0.1 h1:Jds+9T6dd2SpZ4krJ6SaGdwlKzGTjuU9AypHWhTOXCY=
github.com/dawidd6/go-appindicator v1.0.1/go.mod h1:hOqBUkquzU53HlXUFjFXHAkzdyD45TmTZCQb3FqtEWg=
I would really like to use it instead Qomui where there is no more update since september 2019.
No update coming on wireguird ?
Thank you in advance
would be nice if people outside of debian based distros can also use wireguird
Hi man!
Sorry my english a little bit broken. I haven't talk for ages on this language.
So I tried to compile your application but it didn't finished and it throw me this error massege.
../../go/pkg/mod/github.com/gotk3/[email protected]/gtk/accel.go:261:5: val.accel_flags undefined (type _Ctype_struct__GtkAccelKey has no field or method accel_flags) ../../go/pkg/mod/github.com/gotk3/[email protected]/gtk/accel.go:270:22: obj.accel_flags undefined (type *_Ctype_struct__GtkAccelKey has no field or method accel_flags)
I'm currently using Pop OS 20.10 (basically a ubuntu 20.10)
Ubuntu 22
both versions
how to reproduce:
feed to wireguird the vpn config file that contains the line for allowed ips which is very long and does not fit to window
wireguird window extends to fit the line and makes window to get clipped by screen bounds
Hi!
Firstly, thank you so much for your work on this. It has been a lifesaver for me. I use Linux Mint 21.1 Vera, and it's so sad that the native Network Manager doesn't support WireGuard config file import. Moreover, when I enter it all manually it simply doesn't work, there was some trick I had to come up with where I didn't enter a preshared key and had to restart a pc and only then it would work.
From your README, I got an impression that the goal of this project is to make an exact copy of Windows's GUI. If that's not the case, if wanted to provide some feedback to make it even more convenient, in my personal opinion.
I am not a developer, I understand number 3 is a picky one, and I don't know if 1 and 2 are easy to implement.
I just hope that my feedback might be useful, so once again, thank you for making something this, great work!
Hello, it seems this app doesn't work with Linux Mint 21 which uses Ubuntu 22.04.
Trying to install the .deb results in Error: Cannot install 'libappindicator3-dev'
Hi there,
Thanks for this nice piece of software!
After using wireguird for a year on Linux Mint without any problems, I switched to pure Debian 12 with GNOME.
I installed wireguird and it worked as expected for a day. Now the GUI doesn't appear(expect popup for new version, even if already installed).
After uninstalling and reinstalling, no difference.
Not even when I start it with sudo. See attached log.
Last thing I did was check "MultipleTunnels" and maybe "StartOnTray".
I don't know how to undo this. /opt/wireguird/wireguird.settings seems to be empty (0 bytes).
Any advice?
Thanks,
Sebastian
Hi,
I would like wireguird launch automatically and activate before qbittorrent starts , especially if the computer restarts after a power outage
Would it be possible to add the feature to disable and enable "Block untunneled traffic (kill switch)"? This toggle is available in Windows client.
I am trying to use the firewall Portmaster with Wireguird enabled but internet stops working unless I shutdown Portmaster. On Windows I just uncheck "Block untunneled traffic (kill switch)" and the internet then starts working when I use Portmaster.
Can't connect to any wireguard tunnels as I used to. It happened right after Ubuntu update. What should I do to recover?
I installed by the steps as below:
git clone https://github.com/UnnoTed/wireguird
cd wireguird
./deps.sh
./package.sh
./install.sh
However, the content of installed /usr/local/bin/wireguird is as below:
#!/bin/sh
pkexec /opt/wireguird/wireguird
but I cannot find any wireguird executable file in the path.
After click the wireguird shortcut in Linux Mint, there is no response.
Its works fine with root user and for non-root user it throws below error and it wont open the application.
2023-12-18T22:51:34.866261+05:30 DevOps wireguird.desktop[453060]: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
Thank you very much for all your help's!! :)
How can i run wireguird without entering a root password every time?
Please write a Makefile or change your README to point users to run go run main.go
instead of making them running a bash script which doesn't even have a shebang in the first line.
Install successfull, GUI starts. But "add tunnel" not possible, no reaction. No directory "/etc/wireguard".
Console wireguard works.
Mint 21.3 Cinnamon
Some VPN providers are exporting the config files of multiple tunnels at once, in a single zip file. There should be a way to import these without extracting & importing each manually.
Hi,
So this is not the official WG client, and is it possible to use FQDN instead of IP's for the allowed IP's block ?
please advice or share thoughts if this is possible by any method.
If u try to input config with "-" in name of file. U cann't activate vpn getting error return 1. Same problem with official gui for android.
It's simple u need to rename config file without "-" and it will work
It will be great if program automaticly rename file removing simbol "-" in filename
I am opening wireguird via startup and I would like to amend the wish-list either with a commandline option "--hide" to move it straight the task bar or an option in the settings.
Everything else works very nice!
Hi there,
Pop OS 22.04 with Wireguird, 1.0.0. Standard Pop desktop, when editing a profile, the public key section right at the top displays the public key of the remote peer instead of the local public key. Creating a profile manually shows the local public key correctly on the main screen of the GUI, but editing it still does the same thing.
The same profile works as expected with the Windows Wireguard GUI. Couldn't see any other mention of this, so might be unique to me. Any ideas? Let me know if any more detail is needed.
I just found your site and the link here.
Have the current Linux Mint Debian Edition running.
Attached are the logs from my installation
wget https://cdn.cyberinnovations.de/downloads/wireguard_amd64.deb
--2023-04-19 11:34:56-- https://cdn.cyberinnovations.de/downloads/wireguard_amd64.deb
Auflösen des Hostnamens cdn.cyberinnovations.de (cdn.cyberinnovations.de)… 162.55.121.19
Verbindungsaufbau zu cdn.cyberinnovations.de (cdn.cyberinnovations.de)|162.55.121.19|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1763560 (1,7M) [application/octet-stream]
Wird in »wireguard_amd64.deb« gespeichert.
wireguard_amd64.deb 100%[=========================================================================================================================================>] 1,68M 2,68MB/s in 0,6s
2023-04-19 11:34:57 (2,68 MB/s) - »wireguard_amd64.deb« gespeichert [1763560/1763560]
root@mint-csaeum:/home/christian/Downloads# sudo apt install ./wireguard_amd64.deb
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Hinweis: »wireguird« wird an Stelle von »./wireguard_amd64.deb« gewählt.
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
wireguird : Hängt ab von: libappindicator3-dev (>= 1.0.0)
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
The app has been working for a month on Debian 12 than it suddenly stopped. After the authentication dialog the application just get closed with no further effect on connection. I did reinstall the deb-packet with no result.
Using Ubuntu Budgie 22.04, the tray icon is not visible.
Hi,
the installation causes an unmet dependency error on Ubuntu 22.10 and most likely on current Debian, since they are using libayatana-appindicator as the successor of libappindicator for versions >= Bullseye.
You might want to consider switching as well.
Great Software, simple, work, it's would be nice of it's be available on FlatHub for keeping it on date and maybe, providing more interest to this project !
Thanks,
Eric.
I have three tunnels. Two are to the local LAN of remote offices, and one is to an EC2 instance on AWS. There are no overlaps in the remote LAN subnets, or the tunnel subnets. The AWS instance has a Allow IPs of 0.0.0.0/0 and becomes my internet gateway. The remote offices have Allow IPs set for the subnet scope of the remote LAN and only become a route for that remote LAN. All tunnels work as they should independently. However, if I have a tunnel active and I activate a different tunnel, the active one deactivates. In web form terms, they act like radio select bubbles, and not check boxes. Is there any way to get WireGUIrd to to let me have all three active at the same time?
Thank you.
This would be sooo useful for my laptop I hate having to use wg-quick on a crappy keyboard. I think feature wise is ok it would just be nice to have proper builds
When I follow the steps from the readme, I get the error as in the title of this issue. (Ubuntu 20.04)
Hi,
small thing. On a fresh install and nothing done so far the GUI looks like this:
Pressing now on the red cross
button "Delete tunnel", results in:
{"level":"debug","time":"2023-09-29T07:31:14+02:00","message":"Settings init"}
{"level":"debug","time":"2023-09-29T07:31:14+02:00","message":"loading settings"}
{"level":"debug","time":"2023-09-29T07:31:14+02:00","message":"settings file doesnt exist"}
───────────────────────────────────────────────────────────────────────────────────────────────2023-09-29T07:31:14+02:00 |INFO| GTK Version
major=3
micro=38
minor=24
(wireguird:6435): libayatana-appindicator-WARNING **: 07:31:14.273: Unable to get the session bus: Error spawning command line “dbus-launch --autolaunch=1dec5a7425a64a7f969f96c879bb9674 --binary-syntax --close-stderr”: Child process exited with code 1
(wireguird:6435): LIBDBUSMENU-GLIB-WARNING **: 07:31:14.273: Unable to get session bus: Error spawning command line “dbus-launch --autolaunch=1dec5a7425a64a7f969f96c879bb9674 --binary-syntax --close-stderr”: Child process exited with code 1
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: closure error: unexpected panic caught: runtime error: invalid memory address or nil pointer dereference
Closure added at:
github.com/UnnoTed/wireguird/gui.(*Tunnels).Create at github.com/UnnoTed/wireguird/gui/tunnels.go:402
github.com/UnnoTed/wireguird/gui.Create at github.com/UnnoTed/wireguird/gui/gui.go:77
main.createWindow at github.com/UnnoTed/wireguird/main.go:142
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x75553f]
goroutine 1 [running]:
github.com/gotk3/gotk3/internal/closure.FuncStack.Panicf({{0x7b1740, 0xc0000b2348, 0x13}, {0xc000098318, 0x3, 0x3}}, {0x8aeb69, 0x1b}, {0xc0000a2da0, 0x1, ...})
github.com/gotk3/[email protected]/internal/closure/funcstack.go:116 +0x91e
github.com/gotk3/gotk3/internal/closure.FuncStack.TryRepanic({{0x7b1740, 0xc0000b2348, 0x13}, {0xc000098318, 0x3, 0x3}})
github.com/gotk3/[email protected]/internal/closure/funcstack.go:134 +0x145
panic({0x7d1660?, 0xb4a610?})
runtime/panic.go:914 +0x21f
github.com/UnnoTed/wireguird/gui.(*Tunnels).Create.func7.1(0x0?, 0x0?)
github.com/UnnoTed/wireguird/gui/tunnels.go:405 +0x3f
github.com/UnnoTed/wireguird/gui.(*Tunnels).Create.func7()
github.com/UnnoTed/wireguird/gui/tunnels.go:434 +0x1b
reflect.Value.call({0x7b1740?, 0xc0000b2348?, 0x2?}, {0x8a4f1a, 0x4}, {0xbc66a0, 0x0, 0x7ce8e0?})
reflect/value.go:596 +0xce7
reflect.Value.Call({0x7b1740?, 0xc0000b2348?, 0x213acf0?}, {0xbc66a0?, 0x0?, 0x0?})
reflect/value.go:380 +0xb9
github.com/gotk3/gotk3/glib.goMarshal(0x559640?, 0x0, 0x1, 0x7ffc7e2f6e80, 0x487da5?, 0xc0000061a0?)
github.com/gotk3/[email protected]/glib/glib.go:271 +0xa11
github.com/gotk3/gotk3/glib._Cfunc_g_application_run(0x1f6c790, 0x1, 0x1f62550)
_cgo_gotypes.go:1553 +0x4b
github.com/gotk3/gotk3/glib.(*Application).Run.func4(0xc000182270?, {0xc0000160d0?, 0x1, 0x572e15?}, 0x5?)
github.com/gotk3/[email protected]/glib/application.go:185 +0x74
github.com/gotk3/gotk3/glib.(*Application).Run(0x8ab602?, {0xc0000160d0?, 0x1, 0x1})
github.com/gotk3/[email protected]/glib/application.go:185 +0x1b9
main.main()
github.com/UnnoTed/wireguird/main.go:41 +0x347
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.