Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. auto wg-ffki
  2. iface wg-ffki inet manual
  3. pre-up ip link add $IFACE type wireguard || true
  4. pre-up wg set $IFACE listen-port 4242 private-key /root/wgsec
  5. pre-up ip addr add 10.10.10.1/24 dev $IFACE || true
  6. up ip link set $IFACE up
  7. down ip link set $IFACE down
  8. post-down ip addr del 10.10.10.1/24 dev $IFACE || true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement