资源
stilleshan/frps
fatedier/frp
vim /usr/local/frp/frps.ini
[common] bind_addr = 0.0.0.0 bind_port = 7000 bind_udp_port = 7001 kcp_bind_port = 7000 vhost_http_port = 80 vhost_https_port = 443 dashboard_addr = 0.0.0.0 dashboard_port = 7500 dashboard_user = busyhe dashboard_pwd = Yuan0613.. log_file = ./frps.log log_level = info log_max_days = 3 disable_log_color = false token = busyhe allow_ports = 2000-3000,3001,3003,4000-50000 max_pool_count = 5 max_ports_per_client = 0 tcp_mux = true
wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh # 国内 gitee 镜像 wget https://gitee.com/stilleshan/frps/raw/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh
● frps.service - Frp Server Service Loaded: loaded (/usr/lib/systemd/system/frps.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since 五 2021-11-05 15:06:40 CST; 10ms ago Process: 2122 ExecStart=/usr/local/frp/frps -c /usr/local/frp/frps.ini (code=exited, status=1/FAILURE) Main PID: 2122 (code=exited, status=1/FAILURE) 11月 05 15:06:40 iZ2ze268h8zj94u0naz9tgZ systemd[1]: frps.service: main process exited, code=exited, status=1/FAILURE 11月 05 15:06:40 iZ2ze268h8zj94u0naz9tgZ systemd[1]: Unit frps.service entered failed state. 11月 05 15:06:40 iZ2ze268h8zj94u0naz9tgZ systemd[1]: frps.service failed.