Difference between revisions of "Wg-quick"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <code>wg-quick</code> [[bash script]] to set up a WireGuard interface simply | + | {{lc}}<code>wg-quick</code> [[bash script]] to set up a WireGuard interface simply |
* Man page: https://manpages.debian.org/unstable/wireguard-tools/wg-quick.8.en.html | * Man page: https://manpages.debian.org/unstable/wireguard-tools/wg-quick.8.en.html | ||
Line 16: | Line 16: | ||
== Logs == | == Logs == | ||
− | * <code> Dec 01 11:35:05 HOSTNAME [[wg-quick]][1780]: RTNETLINK answers: Network is unreachable</code> | + | * <code> Dec 01 11:35:05 HOSTNAME [[wg-quick]][1780]: [[RTNETLINK]] answers: Network is unreachable</code> |
− | |||
== Related commands == | == Related commands == |
Latest revision as of 16:54, 18 December 2023
wg-quick
bash script to set up a WireGuard interface simply
Contents
Examples[edit]
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 INTERFACE_NAME
wg-quick strip INTERFACE_NAME
- To reload configuration files without disrupting active sessions.
Logs[edit]
Related commands[edit]
iptables -L
ip route delete table #####
ip link delete dev wg0
resolvconf -f tun.wg0 -f
iptables-restore -n
See also[edit]
Advertising: