- 111.231 上海
- 111.230 广州
3.ubuntu1 192.168.1.104
4.fnos 192.168.1.103
5.pve 192.168.1.111
6.windows 192.168.1.109
设置登录面板
ff8d862c
设置 广州 登录账号
root
设置oxterm ssh密钥登陆 密钥在edge file
利用宝塔面板下载pure ftpd
准备利用ftpd传输文件开启frps服务,为搭建我的世界本地服务器做内网穿透准备
本地利用FileZilla 进行ftp连接 服务端需要放开被动链接的监听端口
暂不知道用什么协议进行
下载ubuntu22.04
https://mirrors4.tuna.tsinghua.edu.cn/ubuntu-releases/oracular/ubuntu-24.10-live-server-amd64.iso
http://mirrors.tuna.tsinghua.edu.cn/ubuntu/
https://mirrors.tuna.tsinghua.edu.cn/
https://mirrors.aliyun.com/ubuntu/
/home/theshy/frp611/frpc ubuntu
/home/trim-c7b0/ fnos
tx上海 /home/ubuntu/frp611/frps
注意在frpc。toml文件中配置token
常用命令
systemctl status frpc
systemctl start frpc
systemctl daemon-reload
nano /etc/systemd/system/frpc.service
frpc.toml
serverAddr = ""
serverPort = 7001
auth.token = "731001"
[[proxies]]
name = "ssh1fnos"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
[[proxies]]
name = "web1"
type = "http"
localport = 28090
customDomains = ["blog"]
[[proxies]]
name = "ssh2pve"
type = "tcp"
localIP = "192.168.1.111"
localPort = 22
remotePort = 6001
frps.toml
serverAddr = ""
serverPort = 7001
[[proxies]]
name = "mctest1"
type = "tcp"
localIP = "0.0.0.0"
localPort = 25565
remotePort = 6002
frpc.service
[Unit]
Description=FRP_Client2
After=network.target
Wants = network.target
[Service]
AType=simple
ExecStart = /home/theshy/frp611/frpc -c /home/theshy/frp611/frpc.toml
[Install]
WantedBy=multi-user.target
frps.service
[unit]
服务名称,可自定义
Description = frp_server1
After = network.target syslog.target
Wants = network.target
[Service]
Type = simple
启动frps的命令,需修改为您的frps的安装路径
ExecStart = /home/ubuntu/frp611/frps -c /home/ubuntu/frp611/frps.toml
[Install]
WantedBy = multi-user.target
我的世界服务端mcmanager 23333 24444面版和守护端口,
利用frp 6002监听 192.168.1.104:25565
在mcmanager服务器内设置关闭正版验证