Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@openHAB:~ $ sudo wg-quick up ./HENNING.conf
- Warning: `/home/pi/HENNING.conf' is world accessible
- [#] ip link add HENNING type wireguard
- [#] wg setconf HENNING /dev/fd/63
- [#] ip -4 address add 10.0.42.100/24 dev HENNING
- [#] ip -6 address add fc42::100/64 dev HENNING
- [#] ip link set mtu 1420 up dev HENNING
- [#] resolvconf -a tun.HENNING -m 0 -x
- [#] wg set HENNING fwmark 51820
- [#] ip -6 route add ::/0 dev HENNING table 51820
- [#] ip -6 rule add not fwmark 51820 table 51820
- [#] ip -6 rule add table main suppress_prefixlength 0
- [#] ip6tables-restore -n
- [#] ip -4 route add 0.0.0.0/0 dev HENNING table 51820
- [#] ip -4 rule add not fwmark 51820 table 51820
- [#] ip -4 rule add table main suppress_prefixlength 0
- [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
- [#] iptables-restore -n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement