#!/bin/bash SERVER_PORT=30212 #all port 30211-30219 #usable port 30213-30218 SERVER_IP=mhy7.muhanyun.cn FRP_PATH=/etc/frp REMOTE_PORT=30219 #FRP_VERSION=v0.51.2 #FRP_PLATFROM=amd64 #!! windows need .bat script or .ps1 (powershell) and nssm or other self-starting service #FRP_OS=linux FRPDOWNLOAD_URL=https://github.com/fatedier/frp/releases/download/v0.51.2/frp_0.51.2_linux_amd64.tar.gz #FRPDOWNLOAD_URL=https://pan.alybaba.top/soft/frp_0.51.2_linux_amd64.tar.gz #!! if you network unreachable,use this link FRP=$(basename${FRPDOWNLOAD_URL}) FRP_DIR=$(basename${FRP} .tar.gz) FRP_TOKEN=you_token LOCAL_PORT=22 FRP_SERVICE_NAME=SSH