Difference between revisions of "Wg (command)"
Jump to navigation
Jump to search
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 |
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]
wg
wg show
wg showconf wg0
wg set wg0 fwmark 51820
See also[edit]
Advertising: