mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-10-14 13:52:12 +00:00
Open
opened 2026-10-13 20:14:28 +00:00 by bsakaguchi
·
23 comments
No Branch/Tag specified
dev
feat/gateway-service-import-test
feat/api-tests
fix/serialize-log-record-writes-and-pin-log-date-format-locale
fix/libagw-review-fixes
feat/otp-login
fix/ios-xray-ipv6-leak
fix/macos-xray-ipv6-leak
feat/add-support-include-split-tunnel
fix/win-xray-app-split-tunneling
fix/bug-when-saving-after-canceling
fix/xray-reconnect-crash
fix/share-empty-config-on-ssh-timeout
fix/ssh-credentials-input
fix/updater-verify-signature
fix/async-ssh-threading
fix/xray-check-inet-and-liveness-monitor
fix/selfhosted-server-installations
feat/add-support-ikev2-macos
fix/icons-different-color-themes
feat/add_support_arm_windows
feat/add-deep-link
feat/fixed-push-notifications-on-VPN-connect-disconnect-2
feat/implement-QR-code-generation-and-scanning
feat/file-password-protection
feature/add-local-proxy
feat/add-support-split-tunnel-macos
feat/tests
fix/android-register-unacknowledged-purchase
fix/share_on_linux
mirroring-to-outside
feat_copy_docker_configs
feat/self-diagnostics-log
feat/amnezia-free-vless-switch
fix/conan_build_android_on_win
fix/linux-reconnect-dns-reliability
fix/windows-connection-stability
fix/linux-reconnect-refactoring
fix/ios-groupidentifier-order
feat/xray-subscription-link
fix/minor-fixes
fix/xray-config-inplace-edit
feat/amnezia-sdk-typed-api
feat/amnezia-sdk-integration
feat/force-update-native
refactor/marketplace-update-popup
feat/force-update
fix/valnurability_dev
chore-xcode-version
fix/empty-i1-i5
build_qt_6_10_1
master
feat/protocol-selection
fix/openvpn_install
feat/locations_change
feat/locations_change_rework
feature/local-proxy-integration
fix/filepicker_atv
fix_valnurability
fix/macos-ne-codesign-4.8.19.0
temp-branch-for-testing
fix/rebased_4_8_19_linux_fix_error
feat/proxy-storage-cache
fix/zeroed-params
fix/killswitch-blocknets-linux
update/translation_RU
fix/self_hosted_reinstall_error
feat/selfhosted-dns
fix/agp_version_up
feat/switch_to_alive_protocol
feat/support_multipeer
server_scripts_update
fix/extended-vless-configuration
chore/apple-ci-cd-macos-versions
feat/add-telemt
fix/android_keystore_read_error
feat/add-mtproxy
chore/bump-qt-version
fix/make_dbus_async
feature/dns
rebase/apple-tv-target-on-conan
fix/outbound_freedom_xray_with_dns_fix
feat/apk_support
feat/fallback-proxy
feat/apple-tv-target
fix/dns_reconnection_issue
feat/fixed-push-notifications-on-VPN-connect-disconnect
fix/linux-firewall
docker-regional-locks
appstore-review-popup
feat/storekit2
fix/uninstall-split-tunnelling-driver
revert-2376-chore/license-file
support_16kb_android
bump_version
feat_add_review_android
bugfix/translation-absence-on-subscription-key-page
feat/location-separation-by-region
bugfix/text-moving-when-resing-window
fix_backup
feature/add-purchase-android
bugfix/moved-text-while-resizing-window
bugfix/incorrect-killswitch-restore-from-backup
fix/backup-exclude-secondary-api-configs
feat/proxy-fields-for-dev-console
bugfix/ovpn-ios-fix
bugfix/linux-bundle-libraries
fix/xray-app-split-win
fix/upload-to-s3
chore/add-release-date-upload
feat_add_webview_support
feature/configuration-transfer-through-qr
feat/bot-key-unlink-device
fix/ad-link-lang-support
fix/qsecuresettings-with-android
feat/add-support-arm64-win
spanish-translations
fix/context-menu
feat/add-system-dns-support
fix/qt6-9-support
fix/qt6_9_support
bugfix/strict-killswitch-ui
android-7
chore/minor-bugfixes
feature/awg-net-fix-macos-wakeup
fixbug/ios18
bugfix/ios-ne-crash
fix/linux-tray-quit-button
cryptpad-support
bugfix/disable-linux-killswitch
fix/minor-ui-fixes
feature/setup-guid-tun2socks
feature/linux-ipsec
feature/ipsec-linux
refactoring/server-config-in-classes
feature/macos-ipsec
fix/ui-fixes-after-merge-with-d20ed4a
chore/focus_control_after_qt_6.9_migration
feature/integrate-xray-as-a-library
maxos-awg-fix
feature/add-new-awg-docker-image
chore/update-3rd-prebuild
feature/test-news
fix/api-conf-files
bugfix/split-tunneling-with-api-config
bugfix/ios-awg-new-fields
feature/special-handshake-2
feat/xray-api-support
fix/desktop-entry
bugfix/shadowsocks-cipher-setting-not-changing
feature/update-tap
bugfix/openvpn_import_fix
feature/ability-to-change-port-after-installing-xray
bugfix/strict-mode-ovpn
bugfix/win-ipv6-ovpn
bugfix/subnet-adress-setting
exception-podman-docker
bugfix/fix-listviewtype-scrolling
bugfix/win-disabled-ipv6
bugfix/win-ipv6-disabled-ovpn
feature/killswitch-strict-mode
feature/awg-network-check
feature/empty-split-tunneling-list
feature/support-info
chore/update-go-version
checking-Linux-version
update_server_scripts
bugfix/button-selection-easy-setup-page
feature/old-api-proxy
patch/user-checking
fix/correcting-version
support-podman
support_podman
user-checking-patch
feature/check-docker-version
feature/allowed-dns-list
without_lsof
chore/error-body
Update-amneziavpn_ru_RU
shiroow-patch-8
shiroow-patch-7
shiroow-patch-6
shiroow-patch-5
shiroow-patch-4
shiroow-patch-3
shiroow-patch-2
shiroow-patch-1
check_sudo_permissions
feature/euphoria
add_next_octet_to_ip_settings
bugfix/mobile-controllers-init
euphoria
bugfix/android-crush
feature/macox-network-extension
bugfix/pre-release-hotfixes
bugfix/ipsec-pfs
chore/ios-site-links
checking_sudo_permissions
feature/android-tv
improve_navigation_cpp
bugfix/linux-firewall-install
fixbug/wireguard-handshake-time
ReadmeRu_full
feature/xray-user-management
feature/subscription-end-date
chore/clang-format
feature/ru-in-readme
chore/increased-api-timeout
chore/deploy-workflow
bugfix/services-list-scroll
wheel_group_suppor
chore/bump-xcode-version
fixbug/mac-network-extension
feature/android-gpb
feature/page-home-drawer-country-selection
checking-sudo-users
bugfix/service-info-from-response
fixbug/build-macos-ne-2
android-qt-6.7.3
fixbug/build-macos-ne
bugfix/wg-windows-log-folder
feature/psk-key-api-request
bugfix/user-management-qml-warnings
fix/macos-network-extension
fixbug/macos-NE-build
bugfix/fixed-isDevEnv-initialization
bugfix/revert-ios-ovpn
feature/tun2socksSrv
fix/disable_singleapp
feature/awg-wg-name-resolving
feature/disable-dhcp
bugfix/allowed-ips-old-configs
feature/goodbyedpi
feature/add-exception-log
refactoring/remove-ipv6-from-default-routes
refactoring/singleapplication-submodule
macos-dirty-build
test/gateway
Update-amneziavpn_fa_IR.ts
bugfix/ipsec-win
fix/xray-custom-port
improve-tab-navigation
test-win-11
feature/android-tv-remote-control-support
KsZnak-patch-1
feature/awg-wg-qr
bugfix/fix-loopback-splittunel
fix/setup_host_firewall
feature/android-xray
feature/openvpn-pass
feature/connection-string
fix/clickable-errors
bugfix/api_1100_fix
feature/graphview
testsvg
feature/update-win-awg
feature/open-as-amnezia
feature/update-mozilla-upstream
bugfix/qr-code-cutting
feature/native-wg-psk
test/awg-centos
bugfix/hide_error
feature/add-uninstaller-checkbox
bugfix/cancel-button-on-install-page
bugfix/anchors-page-home-warning
awg-udptlspipe
button-focus-fix
revert-677-fix/logger
bugfix/Revert_PR_596
bugfix/allowed-ips-api-configs
bugfix/on-escape-pressed
feature/auto-scroll-for-server-selection-list
fix/ui-fixes
translations/update_fa_IR.ts
feature/new-awg-docker-container
bugfix/awg_ipv6_fix
feature/tab-navigation
fix/username-no-autocapitalization
sure
refactoring/servers-model-cleanup
feature/wg-mtu-setup-ios
3rd_adaptation_to_diff_OS
sudo_not_found
test/docker-ce
bugfix/double_clear_server_from_amnezia
fix/android
client/3rd-prebuilt
revert-559-KsZnak-translation-ru-ex
KsZnak-translation-ru-ex
KsZnak-br1
KsZnak-text-change
feature/api-awg
feature/error-code-output
feature/win_x32_builds
text/debug-output
feature/ovpn3-desktop-cli
bugfix/secureqsettings-deadlock
refactoring/change-settings-when-connected
files_check
ArchLinux-support
second_adaptation_to_diff_os
sudo
refactoring/android-build
adaptation_to_different_os
feature/online_installer_for_v4
update_to_r2
bugfix/return-after-installation
feature/custom_drawer_component
bugfix/split-tunneling
bugfix/existing-awg-container
revert-370-feature/custom_drawer_component
bugfix/adapted_awg_questiondrawer
bugfix/updated_drawer_height_pageserverdata
bugfix/translated_new_source_strings_to_chinese
feature/split-tunneling-config
feature/accessibility-support
branch_connectivity_change_fix
feature/ikev2_android
android_ss_transport
bugfix/macos_fixes
feature/nextcloud-support
feature/macos_network_extension
android_pt_transport_source
feature/ios-openvpn3-pluggable-transport-Cloak
bugfix/cloak_for_desktops_fix
arm-build-macos
fix-macos-build-brew
bugfix/ios-build-openvpnadapter-from-source
feature/download-native-wireguard-config-on-connect
feature/v2ray-container
bugfix/dpkg-busy-checking-stuck
feature/online-installer
dev-killswitch
dev-netadapters
5.0.3.0
5.0.2.1
5.0.2.0
5.0.1.5
5.0.0.5
5.0.0.2
4.8.21.0
4.8.19.0
4.8.18.0
4.8.17.0
4.8.16.0
4.8.15.4
4.8.15.0
4.8.14.5
4.8.14.1
4.8.12.9
4.8.12.8
4.8.12.7
4.8.12.6
4.8.11.4
4.8.11.3
4.8.11.2
4.8.11.1
4.8.11.0
4.8.10.0
4.8.9.2
4.8.9.1
4.8.9.0
4.8.8.3
4.8.8.2
4.8.8.1
4.8.7.2
4.8.7.1
4.8.7.0
4.8.6.0
4.8.5.0
4.8.4.5
4.8.4.4
4.8.4.3
4.8.4.2
4.8.4.1
4.8.4.0
4.8.3.2
4.8.3.1
4.8.2.3
4.8.1.9
4.8.1.0
4.8.0.5
4.7.0.0
4.6.0.3
4.6.0.1
4.5.3.0
4.5.0.0
4.4.0.0
4.3.0.0
4.2.1.0
4.2.0.1
4.1.2.0_cloak_pt_experimental
4.1.0.1
4.0.8
3.1.0
3.0.8
3.0.7
3.0.5
2.1.2
2.1.0
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.1
2.0
1.9.1
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
No labels
pull-request
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-client#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spl3g on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/676
Desktop (please complete the following information):
Additional context
I am trying to package amnezia-client for NixOS. But there's no cqtdeployer there so the build script wouldn't have worked.
I think i figured out the dependencies and i built the AmneziaVPN and AmneziaVPN-service binaries that kind of work but when i try to connect to the server i get this error:
There's my package so far:
I am not very familiar with cmake, c++ and qt so i think i am doing something wrong.
@chekoopa commented on GitHub (Apr 21, 2024):
I'll bump this issue, as I am NixOS user and going to try Amnezia, so the client is cruical for me. Maybe I'll also look into it.
There also is a possible OS integration issue, as there are two components of the error message: fail to start tunnel process (due to some error yet to explore), and interface creation fail (which is also something to explore i.e. through dmesg).
@pokamest commented on GitHub (Apr 22, 2024):
Hi!
Does AmneziaVPN-service has enough privileges to create tun devices in your package?
It's running with sudo privileges when installed by installer.
@Askodon commented on GitHub (Jul 19, 2024):
any progress?
@PRESFIL commented on GitHub (Jul 29, 2024):
Apparently the package names have changed since march, I updated
default.nixsothat it builds on the current version of
nixpkgs:`default.nix`
I noticed several obvious problems in the current version of
default.nix,which is why it will not be accepted in
nixpkgs, (besides the fact thattunnels are not being created), which I don't know how to fix yet:
/usrin NixOS were abandoned:bin/AmneziaVPN-serviceshould be run with privileges, but thereis no systemd service-file in the assembled package
I ran the built package on user profile and regular Linux with the
nixpackagemanager installed, not on a full-fledged NixOS installation, so I can't write a
definition of the systemd-service and check it's working as expected.
Command to build a package (
default.nixin${CWD}) with a specific versionof
nixpkgs(for reproducibility):@PRESFIL commented on GitHub (Jul 31, 2024):
Made a few more changes:
cloakis not the samecloakfor hide service,cbeuw/cloakisn'tpackaged for NixOS,
wireguard-gois not an Amnesia-WG (maybe in march yetthere was no Amnesia-WG). Both of these dependencies are removed and taken
from deploy-prebuilt (although it might be better if they were built as
separate packages)
Moved
share/fromusr/to the rootAdded desktop file, icon, service-file and files from
deploy-prebuilt/*/binThe
breakpointHookis convenient to use for debuggingThe final diff:
`default.nix`
But the connection still fails😃 Amnezia-client is too heavily tied to
/usr,/optand its prebuilt dependencies in/opt(seeclient/utilities.cpp, maybe other places).
I assume that
update-resolv-conf.shcannot be put inbin/, I'm not sure ifthe Amnezia-client will find it, maybe this is the reason why nothing
works. Perhaps the best way to store all these files is in
share/orlib/but with the current implementation, Amnezia will not find them.
A complete list of dependencies is needed to make it clear which of them are
optional and which are mandatory. The wide variety of ways to install Amnezia
without good documentation is confusing.
This issue cannot be fixed without the help of the main developers.
@chekoopa commented on GitHub (Aug 1, 2024):
Considering executable dependencies, we may add a patch to replace these calls with
/usr/bin/env <basename>. It probably would make some effect (and even start connecting). But it may be pretty unsafe, however, like for name squatting.github.com/amnezia-vpn/amnezia-client@ffe2314d47/client/utilities.cpp (L117-L123)resolv.confediting is nasty in NixOS, as it is almost always symlinked. However, I suppose it is needed for Amnezia VPN, which is useful, however is not on the critical path.@chekoopa commented on GitHub (Aug 1, 2024):
Yes, I've made a little research on Nixpkgs and found a few nice examples of path replacement patches:
github.com/NixOS/nixpkgs@affeca17c0/pkgs/kde/plasma/plasma-nmgithub.com/NixOS/nixpkgs@affeca17c0/pkgs/tools/virtualization/google-guest-configs@AveryanAlex commented on GitHub (Sep 16, 2024):
If someone interested, I packaged kernel module, amneziawg-tools, amneziawg-go and updated wg-quick nixos module.
@BANanaD3V commented on GitHub (Oct 9, 2024):
If you're still interested, I've packaged cloak as
cloak-pt. Already in nixpkgs for quite some time.@alexrosette commented on GitHub (Nov 25, 2024):
Sorry, I would like to know about the promotion of AmneziaVPN-client. It still cannot be packaged for nixos?
@adrianopol commented on GitHub (Nov 25, 2024):
Hello, @ritascarlet , I assume it is already in unstable branch: https://search.nixos.org/packages?channel=unstable&sort=relevance&type=packages&query=amnezia
@AveryanAlex commented on GitHub (Nov 25, 2024):
Yes, but this is a CLI clients, the GUI client is not packaged yet
@alexrosette commented on GitHub (Nov 25, 2024):
If it's not difficult for you, then can you tell me how to use the clients currently in the repository correctly? I'm completely new to NixOs, Therefore, I do not understand what packages to install for my kernel (linux nixos 6.6.62)
@AveryanAlex commented on GitHub (Nov 25, 2024):
I think you should wait for https://github.com/NixOS/nixpkgs/pull/341663. Or, if you want to use it right now, you can switch to unstable branch, add amneziawg tools to system packages, and add amneziawg to kernel packages. Then just use awg-quick cli tool.
@alexrosette commented on GitHub (Nov 25, 2024):
Great, I will try to do everything as you said, I will definitely wait for the client’s packaging. Thank you very much!
@PRESFIL commented on GitHub (Dec 19, 2024):
There is also this PR NixOS/nixpkgs#360866 .
@sund3RRR commented on GitHub (Dec 23, 2024):
I got it working https://github.com/NixOS/nixpkgs/issues/338380#issuecomment-2560157601
I can start making a PR or help someone, who wants to maintain the package
@ismay-tue commented on GitHub (Mar 15, 2026):
@sund3RRR Could you share how you got it to work? Because I can get a connection working just fine with awg-quick on nixos (or with mobile clients on android), but with the same server and the amnezia vpn client it's not working.
Connects according to the GUI, but the daemon logs show that the handshake isn't happening, and there is no connectivity. It also seems to be adding a ton of custom routes, compared to what awg-quick does, which I suspect is the cause of the problems.
@borisiua commented on GitHub (Apr 26, 2026):
@ismay-tue Could anyone please make
awg-quicksetup guide for nixos? Unfortunately there is no info anywhere, and only found that this is the only way currently to make amnezia client work on nixos, since the main gui client is broken at this moment@ismay-tue commented on GitHub (Apr 26, 2026):
I've moved to https://github.com/ClusterM/wg-obfuscator. I recommend using that. Much simpler, more stable and works out of the box with nixos.
@borisiua commented on GitHub (Apr 26, 2026):
@ismay-tue thank you, will see it too! actually just found main gui amnezia client working for me! it failed before just because imported by config as AmneziaWG Legacy, and not AmneziaWG Version 2, as other clients do by default. Once switched to v2, everything works well. Wrote more in https://github.com/NixOS/nixpkgs/issues/474746 , maybe will cover your case too!
@borisiua commented on GitHub (Apr 26, 2026):
@ismay-tue sorry for bothering, if not that hard to you, could you please write just few sentences on how to make it work in nixos practically? to get the high level overview and be able to go deeper with ai. do i understand correctly it is not another vpn solution, but rather just a linux client we can use for amneziawg2?
@ismay-tue commented on GitHub (Apr 27, 2026):
No worries, not a bother. But to be honest, I don't know anymore how I got it running. But basically it's the same as wg-quick. So follow the setup guide for that, and add the extra parameters that amnezia expects in your config. Other than that, not sure, sorry.