本地 IP 10.10.61.43

无线局域网适配器 WLAN:
 
   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::3e4b:40c2:471d:721c%10
   IPv4 地址 . . . . . . . . . . . . : 10.10.61.43
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 10.10.61.1

服务器 IP 10.10.61.41

PS C:\Users\Tanphoon> ssh zuaacm@10.10.61.41
zuaacm@10.10.61.41's password:
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-88-generic x86_64)
 
 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
 
  System information as of Wed Nov 15 02:34:19 PM UTC 2023
 
  System load:  0.09619140625      Temperature:               42.0 C
  Usage of /:   4.3% of 217.97GB   Processes:                 145
  Memory usage: 2%                 Users logged in:           1
  Swap usage:   0%                 IPv4 address for enp3s0f2: 10.10.61.41
 
 
104 updates can be applied immediately.
1 of these updates is a standard security update.
To see these additional updates run: apt list --upgradable
 
 
1 updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log
 
Last login: Wed Nov 15 14:32:40 2023

ssh 连接

PS C:\Users\Tanphoon> ssh zuaacm@10.10.61.41
zuaacm@10.10.61.41's password:
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-88-generic x86_64)
 
 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
 
  System information as of Wed Nov 15 02:34:19 PM UTC 2023
 
  System load:  0.09619140625      Temperature:               42.0 C
  Usage of /:   4.3% of 217.97GB   Processes:                 145
  Memory usage: 2%                 Users logged in:           1
  Swap usage:   0%                 IPv4 address for enp3s0f2: 10.10.61.41
 
 
104 updates can be applied immediately.
1 of these updates is a standard security update.
To see these additional updates run: apt list --upgradable
 
 
1 updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log
 
Last login: Wed Nov 15 14:32:40 2023

系统状态

本地 IP  10.10.61.43
服务器 IP 10.10.61.41

开启ssh内网穿透

隧道列表 | SakuraFrp (natfrp.com)

screen -S ssh-frpc
frpc -f ejivk8bg1uyhrc9w:11851217

开启 code-server

screen -S code-server
vi .config/code-server/config.yaml
./code-server/bin/code-server

开启 code-server 内网穿透

screen -S code-server-frpc
frpc -f ejivk8bg1uyhrc9w:11846294