Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amnezia-vpn: init at 4.8.2.3; nixos/programs/amnezia-vpn: init #367972

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sund3RRR
Copy link
Contributor

@sund3RRR sund3RRR commented Dec 24, 2024

Closes #338380

Amnezia is an open-source VPN client, with a key feature that enables you to deploy your own VPN server on your server.

Road map:

  • Build
  • Module
  • Release note
  • Check AmneziaWG
  • Check Wireguard
  • Check OpenVPN
  • Check OpenVPN over Cloak
  • Check OpenVPN over SS
  • Check XRay
  • Check ssh
  • Check split tunneling is working
  • Fix segmentation violation due to missing return
  • Fix segmentation violation on Quit AmneziaVPN (I don't know how to fix this"

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Dec 24, 2024
@sund3RRR sund3RRR force-pushed the amneziaVPN-init branch 2 times, most recently from 7fb4d1f to 486afad Compare December 24, 2024 17:31
@sund3RRR sund3RRR force-pushed the amneziaVPN-init branch 2 times, most recently from 6011112 to f27aaab Compare December 24, 2024 17:42
@sund3RRR
Copy link
Contributor Author

It would be really cool if someone could help test this.

  1. clone my repo
git clone -b amneziaVPN-init [email protected]:sund3RRR/nixpkgs.git --depth 1
  1. enable amneziaVPN program in your configuration.nix
programs.amnezia-vpn.enable = true;
  1. rebuild from local nixpkgs
sudo nixos-rebuild -I nixpkgs=/absolute/path/to/your/nixpkgs test

@sund3RRR sund3RRR force-pushed the amneziaVPN-init branch 3 times, most recently from 59a4f84 to a63f578 Compare December 24, 2024 18:09
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1 labels Dec 25, 2024
@sund3RRR
Copy link
Contributor Author

Added openvpn and tun2socks execution path patch. Unfortunately, this does not help.

XRay fails with 602 error, OpenVPN freeze on Connecting... state.

@sund3RRR
Copy link
Contributor Author

Got OpenVPN working

image

@sund3RRR sund3RRR force-pushed the amneziaVPN-init branch 2 times, most recently from 3dd57b4 to b2b17e6 Compare December 26, 2024 20:38
@sund3RRR
Copy link
Contributor Author

XRay is half working!
Working visually, not practically :D
Need to fix route add error
Screenshot_20241227_003431

@github-actions github-actions bot added 8.has: documentation This PR adds or changes documentation 8.has: changelog labels Dec 27, 2024
@sund3RRR sund3RRR marked this pull request as ready for review December 27, 2024 11:37
@sund3RRR sund3RRR changed the title amneziaVPN: init at 4.8.2.3; nixos/programs/amneziaVPN: init amnezia-vpn: init at 4.8.2.3; nixos/programs/amnezia-vpn: init Dec 27, 2024
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/5010

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin and removed 10.rebuild-darwin: 1 10.rebuild-darwin: 1-10 labels Dec 27, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: AmneziaVPN-client
2 participants