Difference between revisions of "Wg-quick"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
<code>wg-quick</code> configures WireGuard tunnels using configuration files from <code>[[/etc/wireguard/]]interfacename.conf</code>
 
<code>wg-quick</code> configures WireGuard tunnels using configuration files from <code>[[/etc/wireguard/]]interfacename.conf</code>
  
* <code>[[wg-quick up]] interfacename</code>
+
* <code>[[wg-quick up]] INTERFACE_NAME</code>
  
  
* <code>[[wg-quick strip]]</code>  
+
* <code>[[wg-quick strip]] INTERFACE_NAME</code>  
 
:To reload configuration files without disrupting active [[sessions]].
 
:To reload configuration files without disrupting active [[sessions]].
  

Revision as of 10:03, 16 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


To reload configuration files without disrupting active sessions.

Logs

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


Related commands

See also

Advertising: