Auto base sync: 2025-11-09 19:34:09
This commit is contained in:
@@ -27,6 +27,7 @@ chmod +x /usr/local/bin/wireproxy
|
|||||||
> `nano /etc/wireproxy.conf`
|
> `nano /etc/wireproxy.conf`
|
||||||
> **вставить код ниже**
|
> **вставить код ниже**
|
||||||
|
|
||||||
|
```
|
||||||
[Interface]
|
[Interface]
|
||||||
PrivateKey = <ваш_приватный_ключ_из_wgcf-profile.conf>
|
PrivateKey = <ваш_приватный_ключ_из_wgcf-profile.conf>
|
||||||
Address = <ваш_адрес_из_wgcf-profile.conf>
|
Address = <ваш_адрес_из_wgcf-profile.conf>
|
||||||
@@ -39,6 +40,22 @@ AllowedIPs = 0.0.0.0/0, ::/0
|
|||||||
|
|
||||||
[Socks5]
|
[Socks5]
|
||||||
BindAddress = 127.0.0.1:40000
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user