Difference between revisions of "Wg (command)"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>wg</code> command included in <code>[[wireguard-tools]]</code> package.
+
{{lc}}<code>wg</code> command included in <code>[[wireguard-tools]]</code> package.
  
 
* Man page: https://manpages.debian.org/unstable/wireguard-tools/wg.8.en.html
 
* Man page: https://manpages.debian.org/unstable/wireguard-tools/wg.8.en.html
Line 8: Line 8:
 
   public key: 9WCyW3MGJrWtM0qG6PfzbIl0nSkmqCRd99Z2j2Qk52yX
 
   public key: 9WCyW3MGJrWtM0qG6PfzbIl0nSkmqCRd99Z2j2Qk52yX
 
   private key: (hidden)
 
   private key: (hidden)
   listening port: 54331
+
   listening port: 54444
 
   
 
   
 
  peer: tt1RW54bz6p/c4n3Jpu4WngHlshdnxAHTZ19TKD21WTT
 
  peer: tt1RW54bz6p/c4n3Jpu4WngHlshdnxAHTZ19TKD21WTT
Line 33: Line 33:
 
* <code>[[wg genkey]]</code>
 
* <code>[[wg genkey]]</code>
 
* <code>[[wg syncconf]]</code>
 
* <code>[[wg syncconf]]</code>
 +
* <code>[[wg addconf]]</code>
  
  
Line 38: Line 39:
  
 
== See also ==
 
== See also ==
 +
* {{wg}}
 
* {{WireGuard}}
 
* {{WireGuard}}
  
  
 
[[Category:Networking]]
 
[[Category:Networking]]

Latest revision as of 16:53, 18 December 2023

wg command included in wireguard-tools package.


wg
interface: wg0
  public key: 9WCyW3MGJrWtM0qG6PfzbIl0nSkmqCRd99Z2j2Qk52yX
  private key: (hidden)
  listening port: 54444

peer: tt1RW54bz6p/c4n3Jpu4WngHlshdnxAHTZ19TKD21WTT
  endpoint: 5.31.228.172:49033
  allowed ips: 172.16.0.105/32, 10.10.13.0/24
  latest handshake: 13 seconds ago
  transfer: 77.12 MiB received, 4.62 MiB sent

peer: AZZ5qEafT2GSrV0DFYfC5PF1GjCqOcIZ5TgmOOti4D0T
  endpoint: 5.31.245.114:60214
  allowed ips: 172.16.0.108/32, 192.168.1.0/24
  latest handshake: 57 seconds ago
  transfer: 68.00 KiB received, 23.45 KiB sent

peer: 99ZG9Oz3+055yJ/80arjDElky1fhCUxHsI7Qxm/yI1Y=
  allowed ips: 172.16.0.106/32, 10.10.10.0/24, 10.10.11.0/24, 10.10.12.0/24


Commands[edit]


See also[edit]

Advertising: