1.3 KiB
1.3 KiB
[!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