summarylogtreecommitdiffstats
path: root/wireguard_config
blob: 758a108d2d9dde926d92444fca40bc993d62f769 (plain)
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
31
32
33
34
#
# Information pertaining to the Wireguard mkinitcpio hook
#
# Please ensure you've read the documentation on how to setup and configure
# Wireguard for your needs. It's vital that you ensure that you can connect
# successfully before working on enabling remote unlocking functionality.

# All the values below are just examples. You must change them to suit
# your Wireguard network setup.

# Specifies the name of the Wireguard interface (usually wg0)
INTERFACE=wg0

# Specifies the address that the Wireguard interface will use.
# Please ensure you specify the address in CIDR format.
INTERFACE_ADDR=10.0.200.21/32

# This is the public key of the peer.
PEER_PUBLIC_KEY=abcdefg

# This is the IP address and port of the peer.
# Usually this is the external public-facing IP, but it may also be internal!
PEER_ENDPOINT=192.168.80.1:12912

# This is your private key previously setup to establish connection to the peer.
PRIVATE_KEYFILE=/etc/wireguard/initcpio/privatekey

# If you're behind a NAT, a ping of 25 seconds is useful!
PERSISTENT_KEEPALIVES=25

# The IP range that will be allowed.
ALLOWED_IPS=10.0.200.0/24

# vim:set syntax=sh tw=78: