This commit is contained in:
administrator
2026-06-21 20:30:44 +03:00
parent 74265a4bf5
commit e7667fe801
12 changed files with 210 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# /etc/wireguard/wg0.conf (приватный ключ и endpoint скрыты — реальные в файле на VPS)
[Interface]
PrivateKey = <в файле на VPS>
Address = 10.0.0.5/32
[Peer]
PublicKey = <публичный ключ WG-сервера Keenetic>
Endpoint = 91.122.209.x:<порт>
AllowedIPs = 10.0.0.0/24, 172.16.0.0/24
PersistentKeepalive = 25
# VPS в туннеле 10.0.0.5; Keenetic 10.0.0.1; домашняя LAN/SMB 172.16.0.0/24 (хост 172.16.0.1)
# systemd: wg-quick@wg0 enabled (автоподъём при загрузке)