-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_example.conf
More file actions
30 lines (28 loc) · 818 Bytes
/
server_example.conf
File metadata and controls
30 lines (28 loc) · 818 Bytes
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
30
[Interface]
# The server's private key (generate with `wg genkey`)
# Recommended: Set this via WG_PRIVATE_KEY env var or WG_PRIVATE_KEY_FILE for better security
# PrivateKey = <SERVER_PRIVATE_KEY>
# The IP address of this interface inside the VPN
Address = 10.0.0.1/24
# The UDP port to listen on
ListenPort = 51820
# --- AmneziaWG Obfuscation Parameters ---
# These parameters must match EXACTLY between server and client.
# Junk packet count
Jc = 4
# Junk packet minimum size
Jmin = 50
# Junk packet maximum size
Jmax = 1000
# Swap types (dummy values for example)
S1 = 15
S2 = 25
# Header types (dummy values for example)
H1 = 1
H2 = 2
[Peer]
# Client 1
PublicKey = <CLIENT_PUBLIC_KEY>
# Optional: Pre-Shared Key for additional quantum-resistant security
# PresharedKey = <PRESHARED_KEY>
AllowedIPs = 10.0.0.2/32