Difference between revisions of "Wg-quick"
Jump to navigation
Jump to search
(→Logs) |
|||
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 | ||
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: