wg configs

master
nihonium 2 years ago
parent 54189e64dc
commit bf5fb3e12a
No known key found for this signature in database
GPG Key ID: 0251623741027CFC

@ -0,0 +1,10 @@
[Interface]
Address = 10.1.0.1/24
SaveConfig = true
ListenPort = 51820
PrivateKey = ...
[Peer]
PublicKey = ...
AllowedIPs = 10.1.0.2/32
Endpoint = 46.148.105.76:64424

@ -0,0 +1,11 @@
[Interface]
PrivateKey = ...
Table = off
PostUp = route delete default; route add 45.89.228.240 192.168.88.1; route add default 10.1.0.1
PreDown = route delete default; route delete 45.89.228.240; route add default 192.168.88.1
Address = 10.1.0.2/24
[Peer]
PublicKey = ...
AllowedIPs = 0.0.0.0/0
Endpoint = 45.89.228.240:51820
Loading…
Cancel
Save