From cd8b2ba45374ed5927bc707afd1f1666ae29d68b Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Sat, 29 Mar 2025 17:37:10 +0300 Subject: [PATCH] init --- README.md | 26 ++++++++++++++++++++++++++ package.yml | 17 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 README.md create mode 100644 package.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..b37df80 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Go Implementation of AmneziaWG + +AmneziaWG is a contemporary version of the WireGuard protocol. It's a fork of WireGuard-Go and offers protection against detection by Deep Packet Inspection (DPI) systems. At the same time, it retains the simplified architecture and high performance of the original. + +The precursor, WireGuard, is known for its efficiency but had issues with detection due to its distinctive packet signatures. +AmneziaWG addresses this problem by employing advanced obfuscation methods, allowing its traffic to blend seamlessly with regular internet traffic. +As a result, AmneziaWG maintains high performance while adding an extra layer of stealth, making it a superb choice for those seeking a fast and discreet VPN connection. + +## Usage + +Simply run: + +``` +$ amneziawg-go wg0 +``` + +This will create an interface and fork into the background. To remove the interface, use the usual `ip link del wg0`, or if your system does not support removing interfaces directly, you may instead remove the control socket via `rm -f /var/run/amneziawg/wg0.sock`, which will result in amneziawg-go shutting down. + +To run amneziawg-go without forking to the background, pass `-f` or `--foreground`: + +``` +$ amneziawg-go -f wg0 +``` +When an interface is running, you may use [`amneziawg-tools `](https://github.com/amnezia-vpn/amneziawg-tools) to configure it, as well as the usual `ip(8)` and `ifconfig(8)` commands. + +To run with more logging you may set the environment variable `LOG_LEVEL=debug`. diff --git a/package.yml b/package.yml new file mode 100644 index 0000000..fd115a5 --- /dev/null +++ b/package.yml @@ -0,0 +1,17 @@ +name : amneziawg-go +version : 0.2.12 +release : 1 +source : + - https://github.com/amnezia-vpn/amneziawg-go/archive/refs/tags/v0.2.12.tar.gz : df6a9bbd2321e801d67ea2ea94c355a8c6d07477b083ed7f3de215254aed2882 +homepage : https://github.com/amnezia-vpn/amneziawg-go +license : MIT +component : network.util +summary : AmneziaWG is a contemporary version of the WireGuard protocol. It's a fork of WireGuard-Go and offers protection against detection by Deep Packet Inspection (DPI) systems. +description: | + AmneziaWG is a contemporary version of the WireGuard protocol. It's a fork of WireGuard-Go and offers protection against detection by Deep Packet Inspection (DPI) systems. At the same time, it retains the simplified architecture and high performance of the original. +builddeps : + - golang +build : | + %make +install : | + %make_install