armbian-config
armbian-software
201
frpc
root@armbian:~# armbian-software
STEPS \] Start selecting software \[ Current system: ubuntu/noble \]... ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 101 Docker installed update/remove 102 Portainer not-installed install 103 Yacht not-installed install 104 Transmission not-installed install 105 qBittorrent not-installed install 106 NextCloud not-installed install 107 Jellyfin not-installed install 108 HomeAssistant not-installed install 109 Kodbox not-installed install 110 CouchPotato not-installed install 111 Sonarr not-installed install 112 Radarr not-installed install 113 Syncthing not-installed install 114 FileBrowser not-installed install 115 Heimdall not-installed install 116 Node-RED not-installed install 117 Mosquitto not-installed install 118 OpenWrt installed update/remove 119 Netdata not-installed install 120 XunLei not-installed install 121 Docker-Headless not-installed install 122 Navidrome not-installed install 123 Alist not-installed install 124 QingLong not-installed install 125 ChatGPT-Next-Web not-installed install ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 201 Desktop installed update/remove 202 Firefox not-installed install 203 VLC not-installed install 204 MPV not-installed install 205 GIMP not-installed install 206 Krita not-installed install 207 LibreOffice not-installed install 208 Shotcut not-installed install 209 Kdenlive not-installed install 210 Thunderbird not-installed install 211 Evolution not-installed install 212 Gwenview not-installed install 213 Eog not-installed install 214 VisualStudioCode not-installed install 215 Gedit not-installed install 216 Flameshot not-installed install ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 301 Frps not-installed install 302 Frpc not-installed install 303 NPS not-installed install 304 NPC not-installed install 305 Plex not-installed install 306 Emby-Server installed update/remove 307 KVM not-installed install 309 CasaOS installed update/remove 310 ArozOS not-installed install ─────────────────────────────────────────────────────────────────── \[ OPTIONS \] Please Input Software ID: 201 vim /etc/frp/frpc.ini \[common
server_addr = 111.222.333.444 # 服务端公网IP
server_port = 60000 # 服务端端口
token = "1" # 认证令牌(与服务端一致)
ssh
type = tcp
local_ip = 127.0.0.1 # 本地服务IP
local_port = 22 # 本地SSH端口
remote_port = 6000 # 公网暴露端口
sudo apt install xrdp -ysudo sed -i 's/^exec/#exec/' /etc/xrdp/startwm.sh
echo "xfce4-session" >> /etc/xrdp/startwm.sh