-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboringchain.toml.example
More file actions
29 lines (25 loc) · 1.1 KB
/
boringchain.toml.example
File metadata and controls
29 lines (25 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Definition for Wireguard peer that boringchain will automatically connect to.
# The client in this case can be thought of as the WAN port on a router.
[client]
private_key = "CLIENT_PRIVATE_KEY"
listen_port = 51821
# the address that will be used for NAT
address = "172.16.123.2"
peer_public_key = "46mvFIWoAPXP6Tr0LU/3QdlW9YStGDb2rBeec0Rr/S4="
peer_preshared_key = "hHiZab6FCtoW9X1Lh30zcXyr1XrqttKpOVWsAV1Lr0Y=" # optional
peer_endpoint = "1.2.3.4:51820" # optional, should be provided
# Definition for a Wireguard server that other peers will be able to connect to.
# This can be thought of as the LAN ports on a router.
[server]
private_key = "SERVER_PRIVATE_KEY"
listen_port = 51820
address = "192.168.123.1"
# A definition for a single peer. Can be repeated multiple times.
[[server.peer]]
public_key = "J59LJ20aOeORMQamYiNB/KCgMHXyE2vVU50wao6yY2I="
preshared_key = "hJFWQoRdoyOYHZxb7ycd2sAmgFpr9eHBBST5IzxBph4=" # optional
endpoint = "1.2.3.4:51820" # optional
peer_address = "192.168.123.2"
# optional, defines ports that will get port forwarded to this client
tcp_port_forward = [8080]
udp_port_forward = [8080]