Please input frps max_pool_count [1-200] (Default max_pool_count: 50): frps max_pool_count: 50 #设置每个代理可以创建的连接池上限,默认50 ##### Please select log_level ##### 1: info (default) 2: warn 3: error 4: debug ##################################################### Enter your choice (1, 2, 3, 4 or exit. default [1]): log_level: info #设置日志等级,4个选项,默认是info
Please input frps log_max_days [1-30] (Default log_max_days: 3 day): frps log_max_days: 3 #设置日志保留天数,范围是1到30天,默认保留3天 ##### Please select log_file ##### 1: enable (default) 2: disable ##################################################### Enter your choice (1, 2 or exit. default [1]): log_file: enable #设置是否开启日志记录,默认开启,开启后日志等级及保留天数生效,否则等级和保留天数无效 ##### Please select tcp_mux ##### 1: enable (default) 2: disable ##################################################### Enter your choice (1, 2 or exit. default [1]): tcp_mux: true
##### Please select kcp support ##### 1: enable (default) 2: disable ##################################################### Enter your choice (1, 2 or exit. default [1]): kcp support: true
============== Check your input ============== You Server IP : 100.100.100.100 Bind port : 9999 kcp support : true vhost http port : 80 vhost https port : 443 Dashboard port : 6443 Dashboard user : admin Dashboard password : 12345678 token : 2PyxSCK1Mv1GK6i6 tcp_mux : true Max Pool count : 50 Log level : info Log max days : 3 Log file : enable ==============================================
Press any key to start...or Press Ctrl+c to cancel frps install path:/usr/local/frps config file for frps ... done download frps ... done download /etc/init.d/frps... done setting frps boot... done
确认之后,自动安装:
+--------------------------------------------------+ | Manager for Frps, Written by Clang | +--------------------------------------------------+ | Intro: http://koolshare.cn/thread-65379-1-1.html | +--------------------------------------------------+
+---------------------------------------------------------+ | frps for Linux Server, Written by Clang | +---------------------------------------------------------+ | A tool to auto-compile & install frps on Linux | +---------------------------------------------------------+ | Intro: http://koolshare.cn/thread-65379-1-1.html | +---------------------------------------------------------+
Congratulations, frps install completed! ============================================== You Server IP : 100.100.100.100 Bind port : 9999 KCP support : true vhost http port : 80 vhost https port : 443 Dashboard port : 6443 token : 2PyxSCK1Mv1GK6i6 tcp_mux : true Max Pool count : 50 Log level : info Log max days : 3 Log file : enable ============================================== frps Dashboard : http://100.100.100.100:6443/ Dashboard user : admin Dashboard password : 12345678 ==============================================
FRPS 管理相关命令:
frps status manage : frps {start|stop|restart|status|config|version}
Example: