a guest Feb 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 dev $IFACE || true
  6.   up        ip link set $IFACE up
  7.   down      ip link set $IFACE down
  8.   post-down ip addr del dev $IFACE || true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand