Difference between revisions of "Wg (command)"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{WireGuard}}")
Tags: Mobile web edit, Mobile edit
 
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
{{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
  
 +
 +
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 ==
 +
* <code>[[wg]]</code>
 +
* <code>[[wg show]]</code>
 +
* <code>[[wg showconf]] wg0</code>
 +
 +
* <code>[[wg genkey]]</code>
 +
* <code>[[wg syncconf]]</code>
 +
* <code>[[wg addconf]]</code>
 +
 +
 +
* <code>[[wg set]] wg0 fwmark 51820</code>
  
 
== See also ==
 
== See also ==
 +
* {{wg}}
 
* {{WireGuard}}
 
* {{WireGuard}}
 +
 +
 +
[[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: