User Tools

Site Tools


cheatsheet:wireguard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cheatsheet:wireguard [2023/02/14 10:36] – [Others] kamaradskicheatsheet:wireguard [2023/02/14 10:37] (current) – [Others] kamaradski
Line 64: Line 64:
 </code> </code>
  
-===== Show the current status of the specified WireGuard interface =====+===== show the current status of the specified WireGuard interface =====
 <code bash> <code bash>
 $ sudo wg show wg0 $ sudo wg show wg0
Line 87: Line 87:
  
  
-===== Others =====+===== others =====
  
-**wg showconf <interface>**: Show the configuration of the specified WireGuard interface.+wg showconf <interface>: Show the configuration of the specified WireGuard interface.
  
-**wg set <interface> <config_file>**: Set the configuration of the specified WireGuard interface.+wg set <interface> <config_file>: Set the configuration of the specified WireGuard interface.
  
-**wg add peer <interface> <peer_config_file>**: Add a peer to the specified WireGuard interface.+wg add peer <interface> <peer_config_file>: Add a peer to the specified WireGuard interface.
  
-**wg delete peer <interface> <public_key>**: Delete a peer from the specified WireGuard interface.+wg delete peer <interface> <public_key>: Delete a peer from the specified WireGuard interface.
  
-**wg set peer <interface> <public_key> <peer_config_file>**: Update the configuration of a peer for the specified WireGuard interface.+wg set peer <interface> <public_key> <peer_config_file>: Update the configuration of a peer for the specified WireGuard interface.
  
-**wg listen-port <interface> <port>**: Set the listen port for the specified WireGuard interface.+wg listen-port <interface> <port>: Set the listen port for the specified WireGuard interface.
  
-**wg peer <interface> <public_key>**: Show the configuration of a peer for the specified WireGuard interface.+wg peer <interface> <public_key>: Show the configuration of a peer for the specified WireGuard interface.
  
-**wg set keepalive <interface> <public_key> <interval>**: Set the keepalive interval for a peer for the specified WireGuard interface.+wg set keepalive <interface> <public_key> <interval>: Set the keepalive interval for a peer for the specified WireGuard interface.
  
-**wg-quick up <interface>**: Bring up a WireGuard interface.+wg-quick up <interface>: Bring up a WireGuard interface.
  
-**wg-quick down <interface>**: Bring down a WireGuard interface.+wg-quick down <interface>: Bring down a WireGuard interface.
  
-**wg-quick save <interface>**: Save the current configuration of a WireGuard interface.+wg-quick save <interface>: Save the current configuration of a WireGuard interface.
  
-**wg-quick strip <interface>**: Remove any firewall rules created by the wg-quick utility.+wg-quick strip <interface>: Remove any firewall rules created by the wg-quick utility.
cheatsheet/wireguard.1676370961.txt.gz · Last modified: 2023/02/14 10:36 by kamaradski