Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. pi@openHAB:~ $ sudo wg-quick up ./HENNING.conf
  2. Warning: `/home/pi/HENNING.conf' is world accessible
  3. [#] ip link add HENNING type wireguard
  4. [#] wg setconf HENNING /dev/fd/63
  5. [#] ip -4 address add 10.0.42.100/24 dev HENNING
  6. [#] ip -6 address add fc42::100/64 dev HENNING
  7. [#] ip link set mtu 1420 up dev HENNING
  8. [#] resolvconf -a tun.HENNING -m 0 -x
  9. [#] wg set HENNING fwmark 51820
  10. [#] ip -6 route add ::/0 dev HENNING table 51820
  11. [#] ip -6 rule add not fwmark 51820 table 51820
  12. [#] ip -6 rule add table main suppress_prefixlength 0
  13. [#] ip6tables-restore -n
  14. [#] ip -4 route add 0.0.0.0/0 dev HENNING table 51820
  15. [#] ip -4 rule add not fwmark 51820 table 51820
  16. [#] ip -4 rule add table main suppress_prefixlength 0
  17. [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
  18. [#] iptables-restore -n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement