Created
February 17, 2020 08:14
-
-
Save joltcan/ff9a58b16a3c970fc86e1e6a4428f04f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto wg0 | |
iface wg0 inet static | |
address <changeme>.1 | |
netmask 255.255.255.0 | |
pre-up ip link add $IFACE type wireguard | |
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf | |
post-down ip link del $IFACE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment