tp wireguard
This commit is contained in:
parent
63fd73b56c
commit
32d6b7dbd1
15
sio2/CYBER/Wireguard/wg0-a.conf
Normal file
15
sio2/CYBER/Wireguard/wg0-a.conf
Normal file
@ -0,0 +1,15 @@
|
||||
# local settings for Endpoint A
|
||||
[Interface]
|
||||
PrivateKey = aLihTWpe3bt3XwNPGOVS0mB9vfr4JqeZPyzhlgQ052k=
|
||||
Address = 10.0.0.1/32
|
||||
ListenPort = 51820
|
||||
|
||||
# IP forwarding
|
||||
PreUp = sysctl -w net.ipv4.ip_forward=1
|
||||
|
||||
# remote settings for Endpoint B
|
||||
[Peer]
|
||||
PublicKey = 8bEwgf4jUaIvZslBNwQSP3sNrJPZg1YDiFqyMCvJszo=
|
||||
Endpoint = 192.168.3.2:51820
|
||||
AllowedIPs = 10.0.0.2/32, 192.168.2.0/24
|
||||
|
15
sio2/CYBER/wg0-b.conf
Normal file
15
sio2/CYBER/wg0-b.conf
Normal file
@ -0,0 +1,15 @@
|
||||
# local settings for Endpoint B
|
||||
[Interface]
|
||||
PrivateKey = eLqg4jQCId97MOdcP5k0FIlxnaMBArlPPEaTVmRPWFk=
|
||||
Address = 10.0.0.2/32
|
||||
ListenPort = 51820
|
||||
|
||||
# IP forwarding
|
||||
PreUp = sysctl -w net.ipv4.ip_forward=1
|
||||
|
||||
# remote settings for Endpoint A
|
||||
[Peer]
|
||||
PublicKey = 5UQzcels7MqDXWdt2oDvfbjykISpYl4i8uYFytHijUc=
|
||||
Endpoint = 192.168.3.2:51820
|
||||
AllowedIPs = 10.0.0.1/32, 192.168.1.0/24
|
||||
|
Loading…
x
Reference in New Issue
Block a user