mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-04-28 03:20:35 +00:00
- Created UDP documentation detailing traffic handling and filtering options. - Added backup settings documentation for configuration backup and restoration. - Introduced core settings documentation covering service management, packet processing, and logging. - Added discovery settings documentation for automatic configuration detection. - Created geodata documentation explaining GeoSite and GeoIP databases and their usage. - Added payloads documentation for generating and managing TLS payloads for faking. - Introduced security documentation for web interface authorization and HTTPS setup. - Added domain monitoring documentation for automatic detection of blocked domains and recovery processes. - Created footer and navbar localization files for Russian language support.
2.2 KiB
2.2 KiB
| sidebar_position | title |
|---|---|
| 2 | Установка |
Установка
b4 устанавливается на Linux-устройства: серверы, компьютеры и роутеры. Выберите подходящий способ:
- Linux - универсальная установка на любой Linux-дистрибутив
- OpenWRT - роутеры с прошивкой OpenWRT
- ASUS Merlin - роутеры ASUS с прошивкой Merlin
- Keenetic - роутеры Keenetic
- MikroTik - RouterOS 7.x через контейнеры
- Docker - запуск в Docker-контейнере
После установки b4 доступен через веб-интерфейс в браузере (по умолчанию порт 7000).
Обновление и удаление
Обновление
curl -fsSL https://raw.githubusercontent.com/DanielLavrushin/b4/main/install.sh | sh -s -- --update
Или обновление до конкретной версии:
curl -fsSL https://raw.githubusercontent.com/DanielLavrushin/b4/main/install.sh | sh -s -- v1.46.5
При обновлении текущий бинарник сохраняется как резервная копия, сервис останавливается, заменяется на новую версию и запускается снова. Конфигурация не затрагивается.
Удаление
curl -fsSL https://raw.githubusercontent.com/DanielLavrushin/b4/main/install.sh | sh -s -- --remove
При удалении:
- Сервис останавливается и убирается из автозапуска
- Бинарник удаляется
- Конфигурация - по выбору (установщик спросит, удалять ли
/etc/b4или/opt/etc/b4)
Диагностика
Для вывода информации о системе, установленной версии и состоянии модулей ядра:
curl -fsSL https://raw.githubusercontent.com/DanielLavrushin/b4/main/install.sh | sh -s -- --sysinfo