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.
55 lines
1.7 KiB
Markdown
55 lines
1.7 KiB
Markdown
---
|
||
sidebar_position: 3
|
||
title: ASUS Merlin
|
||
---
|
||
|
||
# ASUS Merlin
|
||
|
||
## Требования
|
||
|
||
- Роутер ASUS с прошивкой Asuswrt-Merlin
|
||
- Установленный Entware (обязательно)
|
||
- USB-накопитель (для Entware и b4)
|
||
|
||
## Установка Entware
|
||
|
||
Entware - обязательное условие. Если он ещё не установлен:
|
||
|
||
1. Вставьте USB-накопитель в роутер
|
||
2. Подключитесь по SSH: `ssh admin@192.168.1.1`
|
||
3. Запустите `amtm`
|
||
4. Выберите пункт `ep` для установки Entware
|
||
|
||
Подробнее: https://diversion.ch/amtm.html
|
||
|
||
## Установка b4
|
||
|
||
После установки Entware:
|
||
|
||
```bash
|
||
curl -fsSL https://raw.githubusercontent.com/DanielLavrushin/b4/main/install.sh | sh
|
||
```
|
||
|
||
## Управление сервисом
|
||
|
||
```bash
|
||
/opt/etc/init.d/S99b4 start
|
||
/opt/etc/init.d/S99b4 stop
|
||
/opt/etc/init.d/S99b4 restart
|
||
```
|
||
|
||
Сервис запускается автоматически при загрузке роутера через Entware.
|
||
|
||
## Пути
|
||
|
||
| Что | Где |
|
||
| --- | --- |
|
||
| Бинарник | `/opt/sbin/b4` |
|
||
| Конфигурация | `/opt/etc/b4/b4.json` |
|
||
| Сервис | `/opt/etc/init.d/S99b4` |
|
||
|
||
## Без Entware
|
||
|
||
Если Entware не установлен, b4 устанавливается в `/jffs/b4`. В этом случае автозапуск при загрузке не настраивается - бинарник нужно запускать вручную.
|
||
|
||
Размер `/jffs` обычно ограничен ~60 МБ, поэтому рекомендуется использовать USB-накопитель с Entware.
|