First
This commit is contained in:
@@ -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 (автоподъём при загрузке)
|
||||
Reference in New Issue
Block a user