Автор: Flsi, 1 Год назад, написана на языке Plain Text.
Эта заметка является ответом wg Автор: funk2256
- вернуться
Встраивание на сайт
Показаны различия между wg и Re: wg
 ? ssh -i ~/.ssh/auth_key funk2256@109.root@89.*.*.
*
root@89.*.*.*'s password: 
Welcome to Ubuntu 22.20.04.LTS (GNU/Linux 5.15.0-56-generic x86_64)
4.0-122-generic x86_64)

 
* Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.
Last login: Mon Dec  5 12:08:44 
  System information as of Thu 22 Dec 2022 from 09:22:15 PM MSK

  System load:  0.0                Users logged in:       0
  Usage of /:   16.1% of 19.59GB   IPv4 address for ens3: 89.*.*.*
  Memory usage: 2%                 IPv4 address for wg0:  
10.66.66.2
funk2256@v1200391:~$ exit
logout
Connection 
1
  Swap usage:   0%                 IPv6 address for wg0:  fd42:*:*::*
  Processes:    100

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

95 updates can be applied immediately.
70 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

New release '22.04.1 LTS' available.
Run 'do-release-upgrade' 
to 109.upgrade to it.


Last login: Thu Dec 22 12:32:07 2022 from *.
*.*.* closed.

? sudo 
*
root@dreamy-porter:~# 
wg show wg0
??????: 
interface: wg0
  public key: 
  private key: (hidden)
  listening port: 32942
  fwmark: 0xcbf3

62279

peer:
  preshared key: (hidden)
  endpoint: 109.88.*.*.*:port
  
*:1024
  
allowed ips: 0.0.0.0/0, ::/0
  latest handshake: 1 minute, 13 seconds ago
  transfer: 1.96 MiB received, 190.06 KiB sent

ssh -i ~/.ssh/auth_key funk2256@10.
10.66.66.1
funk2256@10.66.66.1's password: 
Welcome 
2/32, fd42:*:*::2/128
  latest handshake: 3 minutes, 37 seconds ago
  transfer: 42.47 MiB received, 466.39 MiB sent
root@dreamy-porter:~# exit
logout
Connection 
to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-56-generic x86_64)


89.*.*.* closed.