Difference between revisions of "Wg (command)"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
* 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
 +
 +
 +
wg
 +
interface: wg0
 +
  public key: 9WCyW3MGJrWtM0qG6PfzbIl0nSkmqCRd99Z2j2Qk52yX
 +
  private key: (hidden)
 +
  listening port: 54331
 +
 +
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
  
  

Revision as of 09:03, 16 December 2020

wg command included in wireguard-tools package.


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

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


See also

Advertising: