下载Frp
mkdir /etc/frp
cd /etc/frp
wget https://github.com/fatedier/frp/releases/download/v0.25.0/frp_0.25.0_linux_amd64.tar.gz
tar zxvf ./frp_0.25.0_linux_amd64.tar.gz
cd frp_0.25.0_linux_amd64/
修改配置文件 vim frps.ini
[common]
bind_port = 7000
vhost_http_port = 80
vhost_https_port = 443
privilege_token = 12345678
启动Frp在后台常驻运行
nohup ./frps -c ./frps.ini &
Comments | NOTHING