github 下载地址 https://github.com/fatedier/frp/releases
Linux下载frp_0.37.1_linux_amd64.tar.gz 并解压
frps.ini
bind_addr = 0.0.0.0bind_port = 7000vhost_http_port = 7080vhost_https_port = 7443dashboard_addr = 0.0.0.0dashboard_port = 7500dashboard_user = freefrpsdashboard_pwd = freefrpstoken = freefrps 添加服务/etc/systemd/system/frps.service
Description=Frp Server Service[Unit]Description=Frp Server 彪壮的大炮network.target[Service]Type=simpleUser=nobodyRestart=on-failureRestartSec=5sExecStart=/home/ubuntu/frp_0.37.1_linux_amd64/frps -c /home/ubuntu/frp_0.37.1_linux_amd64/frps.iniLimitNOFILE=1048576[Install]WantedBy=multi-user.target 启动 systemctl enable frpssystemctl start frps