Repository navigation
AmneziaWG на Oracle Cloud без лишней перезагрузки и готовые модули для Raspberry Pi OS trixie (v6.2.2) / AmneziaWG on Oracle Cloud without the extra reboot, prebuilt modules for Raspberry Pi OS trixie (v6.2.2) #388
bivlked
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
English version below
Вышел v6.2.2 установщика AmneziaWG. Релиз небольшой, про две платформы: Oracle Cloud и Raspberry Pi на новой системе.
Oracle Cloud: без лишней перезагрузки
На Oracle Cloud VPN теперь работает сразу после установки. В образах Ubuntu у Oracle свои правила iptables из
/etc/iptables/rules.v4, и в конце цепочек INPUT и FORWARD стоитREJECT. После установки UFW это правило оставалось в памяти выше правил UFW до следующей загрузки, поэтому раньше нужна была ещё одна перезагрузка вручную.Теперь установщик удаляет это правило сам, но только если оно записано в
rules.v4образа. Если такое же правило вы поставили сами, установщик его не тронет: предупредит и покажет команду для удаления.Проверял на Ubuntu 24.04 ARM64 с воспроизведёнными правилами Oracle. На настоящем инстансе Oracle этот релиз пока не запускал. Установка по шагам на бесплатном ARM-сервере Always Free (2 OCPU, 12 ГБ) есть в статье на dev.to, на английском.
Raspberry Pi OS trixie: готовые модули 2.0
Свежий Raspberry Pi OS теперь на Debian trixie с ядром 6.18. Готовые модули AmneziaWG 2.0 раньше были только под bookworm, и на trixie установщик собирал модуль через DKMS прямо на Pi. Теперь есть готовые пакеты и под trixie: для Pi 3/4 (64 бит), Pi 5 и 32-битного ядра
rpi-v7.Нужны они там, где ставится 2.0: на 32-битной системе или с
--protocol=2.0. На 64-битной системе по умолчанию ставится 3.1, как и с v6.2.0.Сборку под ядро 6.18.60+rpt я проверил на всех трёх целях, но на живой Pi эти пакеты ещё не ставил.
Что ещё
--uninstall.cascade/ru.zone) обновлён на 9 ноября, в нём 8664 сети. Каскад берёт его, только когда ipdeny.com недоступен.Если у вас Pi на trixie или сервер в Oracle Cloud, напишите, как прошла установка.
Все изменения: v6.2.2.
v6.2.2 of the AmneziaWG installer is out. A small release about two platforms: Oracle Cloud, and the Raspberry Pi on its new OS.
Oracle Cloud: no extra reboot
On Oracle Cloud the VPN now works right after the install. Oracle's Ubuntu images come with their own iptables rules in
/etc/iptables/rules.v4, and the INPUT and FORWARD chains end with aREJECT. After UFW was installed, that rule stayed in memory above UFW's rules until the next boot, so you used to need one more reboot by hand.Now the installer removes that rule itself, but only if it is listed in the image's
rules.v4. If you added the same rule yourself, the installer leaves it alone: it warns you and shows the command to delete it.I tested this on Ubuntu 24.04 ARM64 with Oracle's rules reproduced. I have not run this release on an actual Oracle instance yet. A step-by-step install on a free Always Free ARM server (2 OCPUs, 12 GB) is in my dev.to guide.
Raspberry Pi OS trixie: prebuilt 2.0 modules
The current Raspberry Pi OS is based on Debian trixie with kernel 6.18. Prebuilt AmneziaWG 2.0 modules used to exist for bookworm only, so on trixie the installer built the module with DKMS on the Pi itself. Now there are prebuilt packages for trixie too: Pi 3/4 (64-bit), Pi 5 and the 32-bit
rpi-v7kernel.They matter where 2.0 gets installed: on a 32-bit system or with
--protocol=2.0. A 64-bit system still gets 3.1 by default, as it has since v6.2.0.I checked the build against kernel 6.18.60+rpt on all three targets, but I have not installed these packages on a real Pi yet.
Also
--uninstalltoo.cascade/ru.zone) is refreshed as of 9 November, 8664 networks. The cascade uses it only when ipdeny.com is unreachable.If you run a Pi on trixie or a server on Oracle Cloud, tell me how the install went.
All changes: v6.2.2.
All reactions