Difference between revisions of "Wg-quick"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
* <code>[[ip route delete]] table #####</code>
 
* <code>[[ip route delete]] table #####</code>
 
* <code>[[ip link delete dev]] wg0</code>
 
* <code>[[ip link delete dev]] wg0</code>
* <code>[[resolvconf -f tun.wg0 -f</code>
+
* <code>[[resolvconf]] -f tun.wg0 -f</code>
 
* <code>[[iptables-restore]] -n</code>
 
* <code>[[iptables-restore]] -n</code>
  

Revision as of 14:01, 8 December 2020

wg-quick bash script to set up a WireGuard interface simply


Examples

  • wg-quick [ up | down | save | strip ] [ CONFIG_FILE | INTERFACE ]

wg-quick configures WireGuard tunnels using configuration files from /etc/wireguard/interfacename.conf


Logs

  • Dec 01 11:35:05 HOSTNAME wg-quick[1780]: RTNETLINK answers: Network is unreachable


Related commands

See also

Advertising: