Files
OBS/2. Проекты/VPN_MARZBAN/2. Инструкция Marzban/3.1 Создание, настройка и подключение конфига warp к марзбан.md
2025-11-09 19:48:10 +04:00

1.3 KiB
Raw Permalink Blame History

[!bug]+ Установка Wireproxy Используй команды ниже

wget https://github.com/octeep/wireproxy/releases/download/v1.0.9/wireproxy_linux_amd64.tar.gz
tar -xzf wireproxy_linux_amd64.tar.gz
mv wireproxy /usr/local/bin/
chmod +x /usr/local/bin/wireproxy

[!danger] Создания конфигурации nano /etc/wireproxy.conf вставить код ниже

[Interface]
PrivateKey = <ваш_приватный_ключ_из_wgcf-profile.conf>
Address = <ваш_адрес_из_wgcf-profile.conf>
DNS = 1.1.1.1

[Peer]
PublicKey = <публичный_ключ_пира_из_wgcf-profile.conf>
Endpoint = engage.cloudflareclient.com:2408
AllowedIPs = 0.0.0.0/0, ::/0

[Socks5]
BindAddress = 127.0.0.1:40000

[!danger] Создания конфигурации nano /etc/systemd/system/wire-proxy.service

[Unit]
Description=Wireproxy WARP SOCKS5 Proxy
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/wireproxy -c /etc/wireproxy.conf
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

[!bug] Подключение и запуск systemctl daemon-reload systemctl enable --now wire-proxy

[!tip] Молодец, теперь проверь по чек листу 3. Подключение WARP к Marz