frp相关链接https://pan.runyf.cn/Software/frpfrp保存路径为 /otp/frp服务端配置[common] bind_port = 7000 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin token = token log_file = /var/log/frps.log log_level = info log_max_days = 7linux设置开机自启编辑服务 vim /lib/systemd/system/frps.service[Unit] Description=Frp Server Service After=network.target [Service] Type=simple User=nobody Restart=on-failure RestartSec=5s ExecStart=/opt/frp/frps -c /opt/frp/frps.ini LimitNOFILE=1048576 [Install] WantedBy=multi-user.target启用服务chmod o+x /opt/frp/* systemctl daemon-reload systemctl stop frps systemctl start frps systemctl status frps客户端配置[common] server_addr = server ip server_port = 7000 token = token admin_addr = 127.0.0.1 admin_port = 7400 admin_user = admin admin_pwd = admin [web] type = tcp local_ip = 127.0.0.1 local_port = 80 remote_port = 1180Linux后台启动cp /opt/frp/systemd/frpc.service /lib/systemd/system/ vi /lib/systemd/system/frpc.service chmod o+x /opt/frp/* systemctl daemon-reload systemctl stop frpc systemctl start frpc systemctl status frpcWindows后台启动创建扩展名为vbs的文本文件，并填写以下内容set ws=wscript.createobject("wscript.shell") ws.run "cmd /c C:\Windows\frp\frpc -c C:\Windows\frp\frpc.ini",0