11 lines
278 B
Plaintext
11 lines
278 B
Plaintext
|
{% set peer_id_int = peer_id | int %}
|
||
|
{% set peer_ip = peer_id_int + 1 %}
|
||
|
[Interface]
|
||
|
PrivateKey = {{ peer_node_private_key }}
|
||
|
Address = 10.6.0.{{ peer_ip }}/24
|
||
|
|
||
|
[Peer]
|
||
|
PublicKey = {{ root_node_public_key }}
|
||
|
AllowedIPs = 10.6.0.0/24
|
||
|
Endpoint = {{ root_node_public_ip }}:51820
|