Автор: Flsi, 1 год назад, написана на языке Plain Text.
Эта заметка является ответом wg Автор: funk2256
- посм. различия
Встраивание на сайт
  1.  ❯ ssh root@89.*.*.*
  2. root@89.*.*.*'s password:
  3. Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-122-generic x86_64)
  4.  
  5.  * Documentation:  https://help.ubuntu.com
  6.  * Management:     https://landscape.canonical.com
  7.  * Support:        https://ubuntu.com/advantage
  8.  
  9.   System information as of Thu 22 Dec 2022 09:22:15 PM MSK
  10.  
  11.   System load:  0.0                Users logged in:       0
  12.   Usage of /:   16.1% of 19.59GB   IPv4 address for ens3: 89.*.*.*
  13.   Memory usage: 2%                 IPv4 address for wg0:  10.66.66.1
  14.   Swap usage:   0%                 IPv6 address for wg0:  fd42:*:*::*
  15.   Processes:    100
  16.  
  17.  * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
  18.    just raised the bar for easy, resilient and secure K8s cluster deployment.
  19.  
  20.    https://ubuntu.com/engage/secure-kubernetes-at-the-edge
  21.  
  22. 95 updates can be applied immediately.
  23. 70 of these updates are standard security updates.
  24. To see these additional updates run: apt list --upgradable
  25.  
  26. New release '22.04.1 LTS' available.
  27. Run 'do-release-upgrade' to upgrade to it.
  28.  
  29.  
  30. Last login: Thu Dec 22 12:32:07 2022 from *.*.*.*
  31. root@dreamy-porter:~# wg show wg0
  32. interface: wg0
  33.   public key:
  34.   private key: (hidden)
  35.   listening port: 62279
  36.  
  37. peer:
  38.   preshared key: (hidden)
  39.   endpoint: 88.*.*.*:1024
  40.   allowed ips: 10.66.66.2/32, fd42:*:*::2/128
  41.   latest handshake: 3 minutes, 37 seconds ago
  42.   transfer: 42.47 MiB received, 466.39 MiB sent
  43. root@dreamy-porter:~# exit
  44. logout
  45. Connection to 89.*.*.* closed.
  46.  
  47.  
  48.  
  49.  
  50.