Server: | Port: |
Net: 1stIP: | Clients: |
ServerPrivateKey: | ServerPublicKey: |
Server: | Port: |
Net: 1stIP: | Clients: |
ServerPrivateKey: | ServerPublicKey: |
Server config {{ server }}:{{ port }}
[Interface]
Address = {{ network }}.1/24
ListenPort = {{ port }}
PrivateKey = {{ serverkeys.privateKey }}
# PublicKey = {{ serverkeys.publicKey }}
# Server = {{ server }}
{{ line }}
[Peer]
## {{ value.name }}
AllowedIPs = {{ network }}.{{ client }}/32
PublicKey = {{ value.publicKey }}
# PrivateKey = {{ value.privateKey }}
Client configs (first ip: {{network}}.{{startip}}, count: {{ clientcount }})
[Interface]
## {{ value.name }}
Address = {{ network }}.{{ client }}/24
PrivateKey = {{ value.privateKey }}
[Peer]
PublicKey = {{ serverkeys.publicKey }}
AllowedIPs = {{ network }}.1/32
Endpoint = {{ server }}:{{ port }}
Import server config