32 lines
No EOL
675 B
TOML
32 lines
No EOL
675 B
TOML
local = "net1"
|
|
|
|
|
|
[network.net1]
|
|
local_range = "192.168.1.0/30"
|
|
local_translated_range = "192.168.51.0/30"
|
|
|
|
private_key = "priv"
|
|
public_key = "pub"
|
|
listen_port = 51820
|
|
wireguard_address = "172.16.0.1/24"
|
|
endpoint = "1.2.3.4:51820"
|
|
|
|
[network.net2]
|
|
local_range = "192.168.1.0/30"
|
|
local_translated_range = "192.168.64.0/30"
|
|
|
|
private_key = "priv2"
|
|
public_key = "pub2"
|
|
listen_port = 51820
|
|
wireguard_address = "172.16.0.2/24"
|
|
endpoint = "1.2.3.5:51820"
|
|
|
|
[network.net3]
|
|
local_range = "192.168.1.0/30"
|
|
local_translated_range = "192.168.128.0/30"
|
|
untranslated_networks = "10.255.0.0/24"
|
|
|
|
private_key = "priv3"
|
|
public_key = "pub3"
|
|
listen_port = 51820
|
|
wireguard_address = "172.16.0.3/24" |