wg configs
This commit is contained in:
parent
54189e64dc
commit
bf5fb3e12a
2 changed files with 21 additions and 0 deletions
10
gateway.wg0.conf
Normal file
10
gateway.wg0.conf
Normal file
|
@ -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
|
11
iota.wg0.conf
Normal file
11
iota.wg0.conf
Normal file
|
@ -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…
Reference in a new issue