Difference between revisions of "Wg-quick"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <code>[[wg-quick up]] interfacename</code> | * <code>[[wg-quick up]] interfacename</code> | ||
+ | |||
+ | * <code>wg-quick strip</code> | ||
+ | The strip command is useful for reloading configuration files without disrupting active sessions: | ||
== Logs == | == Logs == |
Revision as of 09:07, 16 December 2020
wg-quick
bash script to set up a WireGuard interface simply
Contents
Examples
wg-quick [ up | down | save | strip ] [ CONFIG_FILE | INTERFACE ]
wg-quick
configures WireGuard tunnels using configuration files from /etc/wireguard/interfacename.conf
wg-quick up interfacename
wg-quick strip
The strip command is useful for reloading configuration files without disrupting active sessions:
Logs
Dec 01 11:35:05 HOSTNAME wg-quick[1780]: RTNETLINK answers: Network is unreachable
Related commands
iptables -L
ip route delete table #####
ip link delete dev wg0
resolvconf -f tun.wg0 -f
iptables-restore -n
See also
Advertising: