Собрал для нескольких архитектур по просьбе трудящихся amneziawg-go
Пакет(ы) потребуются тем, кто не хочет ставить бету 4.2 и тем, у кого не кинетик. На некоторых роутерах по непонятной причине при запуске паника - https://github.com/Entware/Entware/issues/1078
Проверил на mipsel кинетике - работает.
Вот лог:
root@Keenetic_Ultra:/opt/tmp$ cat test.conf
[Interface]
PrivateKey = .....
ListenPort = 51820
Jc = 1
Jmin = 1
Jmax = 3
S1 = 0
S2 = 0
H1 = 1
H2 = 2
H3 = 3
H4 = 4
[Peer]
PublicKey = ....
PresharedKey = ....
AllowedIPs = 0.0.0.0/0
Endpoint = 23.94.xxxxx:51820
PersistentKeepalive = 25
root@Keenetic_Ultra:/opt/tmp$ amneziawg-go wg0
┌──────────────────────────────────────────────────────────────┐
│ │
│ Running amneziawg-go is not required because this │
│ kernel has first class support for AmneziaWG. For │
│ information on installing the kernel module, │
│ please visit: │
| https://github.com/amnezia-vpn/amneziawg-linux-kernel-module │
│ │
└──────────────────────────────────────────────────────────────┘
root@Keenetic_Ultra:/opt/tmp$ ip address add dev wg0 10.7.0.15/24
root@Keenetic_Ultra:/opt/tmp$ awg setconf wg0 ./test.conf
root@Keenetic_Ultra:/opt/tmp$ ip link set up dev wg0
root@Keenetic_Ultra:/opt/tmp$ /opt/sbin/iptables -A INPUT -i wg0 -j ACCEPT
root@Keenetic_Ultra:/opt/tmp$ /opt/sbin/iptables -A FORWARD -i wg0 -j ACCEPT
root@Keenetic_Ultra:/opt/tmp$ curl --interface wg0 http://myip.wtf/json
{
"YourFuckingIPAddress": "23.94.xxxxx",
"YourFuckingLocation": "Amsterdam, NH, The Netherlands",
"YourFuckingHostname": "23-94-xxxxxxx-host.colocrossing.com",
"YourFuckingISP": "HostPapa",
"YourFuckingTorExit": false,
"YourFuckingCity": "Amsterdam",
"YourFuckingCountry": "The Netherlands",
"YourFuckingCountryCode": "NL"
}
Ну и собственно пакеты и Makefile тут - http://zyxnerd.zyxmon.org/files/amnezia/