frps-onekey
Tools
Shell
Frps服务端一键配置脚本,Frp最新版本:0.45.0
Frp 是一个高性能的反向代理应用,可以帮助您轻松地进行内网穿透,对外网提供服务,支持 tcp, http, https 等协议类型,并且 web 服务支持根据域名进行路由转发。
- 详情:fatedier (https://github.com/fatedier/frp)
- 此脚本原作者:clangcn (https://github.com/clangcn/onekey-install-shell)
Frps-Onekey-Install-Shell For CentOS/Debian/Ubuntu/Fedora (32bit/64bit)
Install(安装)
Aliyun(已失效)
wget https://code.aliyun.com/MvsCode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh chmod 700 ./install-frps.sh ./install-frps.sh install
Github
wget https://raw.githubusercontent.com/MvsCode/frps-onekey/master/install-frps.sh -O ./install-frps.sh chmod 700 ./install-frps.sh ./install-frps.sh install
Uninstall(卸载)
./install-frps.sh uninstall
Update(更新)
./install-frps.sh update
Server management(服务管理器)
Usage: /etc/init.d/frps {start|stop|restart|status|config|version}
Frps onkey-install-shell ChangelogFrp版本更新说明
-
v0.45.0 [2022/11/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve" class="anchor" aria-hidden="true" href="#improve"></a>Improve </h3> </li> </ul> <blockquote> <p> Adjust http group load balancing to forward requests to each frpc proxy round robin. Previous behavior is always forwarding requests to a single proxy in the case of single concurrency. </p> </blockquote>
-
v0.44.0 [2022/07/11]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new" class="anchor" aria-hidden="true" href="#new"></a>NEW </h3> </li> </ul> <blockquote> <p> Use auto generated certificates if plugin_key_path and plugin_crt_path are empty for plugin https2https and https2http. </p> </blockquote> <blockquote> <p> Server dashboard supports TLS configs. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix" class="anchor" aria-hidden="true" href="#fix"></a>FIX </h3> </li> </ul> <blockquote> <p> xtcp error with IPv6 address. </p> </blockquote>
-
v0.43.0 [2022/05/28]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-1" class="anchor" aria-hidden="true" href="#new-1"></a>NEW </h3> </li> </ul> <blockquote> <p> Added route_by_http_user in http and tcpmux proxy to support routing to different clients by HTTP basic auth user. </p> </blockquote> <blockquote> <p> CONNECT method can be forwarded in http type proxy. </p> </blockquote> <blockquote> <p> Added tcpmux_passthrough in tcpmux proxy. If true, CONNECT request will be forwarded to frpc. </p> </blockquote>
-
v0.42.0 [2022/04/22]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-2" class="anchor" aria-hidden="true" href="#new-2"></a>NEW </h3> </li> </ul> <blockquote> <p> Added new parameter config_dir in frpc to run multiple client instances in one process. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-1" class="anchor" aria-hidden="true" href="#fix-1"></a>FIX </h3> </li> </ul> <blockquote> <p> Equal sign in environment variables causes parsing error. </p> </blockquote>
-
v0.41.0 [2022/03/24]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-3" class="anchor" aria-hidden="true" href="#new-3"></a>NEW </h3> </li> </ul> <blockquote> <p> Support go http pprof. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve-1" class="anchor" aria-hidden="true" href="#improve-1"></a>IMPROVE </h3> </li> </ul> <blockquote> <p> Change underlying TCP connection keepalive interval to 2 hours. </p> </blockquote> <blockquote> <p> Create new connection to server for sudp visitor when needed, to avoid frequent reconnections. </p> </blockquote>
-
v0.40.0 [2022/03/13]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-4" class="anchor" aria-hidden="true" href="#new-4"></a>NEW </h3> </li> </ul> <blockquote> <p> Added dial_server_timeout in frpc to specify connecting timeout to frps. </p> </blockquote> <blockquote> <p> Additional EndpointParams can be set for OIDC. </p> </blockquote> <blockquote> <p> Added CloseProxy operation in server plugin. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve-2" class="anchor" aria-hidden="true" href="#improve-2"></a>IMPROVE </h3> </li> </ul> <blockquote> <p> Added some randomness in reconnect delay. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-2" class="anchor" aria-hidden="true" href="#fix-2"></a>FIX </h3> </li> </ul> <blockquote> <p> TLS server name is ignored when tls_trusted_ca_file isn’t set. </p> </blockquote>
-
v0.39.1 [2022/02/09]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-3" class="anchor" aria-hidden="true" href="#fix-3"></a>FIX </h3> </li> </ul> <blockquote> <p> Fixed IPv6 address parse issue. </p> </blockquote>
-
v0.39.0 [2022/01/28]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-5" class="anchor" aria-hidden="true" href="#new-5"></a>NEW </h3> </li> </ul> <blockquote> <p> Added connect_server_local_ip in frpc to specify local IP connected to frps. </p> </blockquote> <blockquote> <p> Added tcp_mux_keepalive_interval both in frpc and frps to set tcp_mux keepalive interval seconds if tcp_mux is enabled. After using this params, you can set heartbeat_interval to -1 to disable application layer heartbeat to reduce traffic usage(Make sure frps is in the latest version). </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve-3" class="anchor" aria-hidden="true" href="#improve-3"></a>Improve </h3> </li> </ul> <blockquote> <p> Server Plugin: Added client_address in Login Operation. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-4" class="anchor" aria-hidden="true" href="#fix-4"></a>FIX </h3> </li> </ul> <blockquote> <p> Remove authentication for healthz api. </p> </blockquote>
-
v0.38.0 [2021/10/28]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-6" class="anchor" aria-hidden="true" href="#new-6"></a>NEW </h3> </li> </ul> <blockquote> <p> Add /healthz API. </p> </blockquote> <blockquote> <p> frpc support disable_custom_tls_first_byte .If set true, frpc will not send custom header byte. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve-4" class="anchor" aria-hidden="true" href="#improve-4"></a>Improve </h3> </li> </ul> <blockquote> <p> Use go standard embed package instead of statik. </p> </blockquote>
-
v0.37.1 [2021/08/04]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-5" class="anchor" aria-hidden="true" href="#fix-5"></a>FIX </h3> </li> </ul> <blockquote> <p> Plugin https2https not work. </p> </blockquote> <blockquote> <p> context canceled problem for http_proxy plugin when multiple requests reuse same connection. </p> </blockquote> <blockquote> <p> In some cases, frps can’t get server name for https proxy. </p> </blockquote>
-
v0.37.0 [2021/06/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-7" class="anchor" aria-hidden="true" href="#new-7"></a>NEW </h3> </li> </ul> <blockquote> <p> frpc add subcommand verify to validate configures before running. </p> </blockquote> <blockquote> <p> frpc support includes option to split multiple proxy configs into different files. </p> </blockquote> <blockquote> <p> Support sudp in dashboard. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-6" class="anchor" aria-hidden="true" href="#fix-6"></a>FIX </h3> </li> </ul> <blockquote> <p> Use empty string as default value for dashboard user and password. </p> </blockquote> <blockquote> <p> login_fail_exit is not valid when protocol = kcp. </p> </blockquote>
-
v0.36.2 [2021/03/22]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improve-5" class="anchor" aria-hidden="true" href="#improve-5"></a>IMPROVE </h3> </li> </ul> <blockquote> <p> Support reverseproxy to dashboard with additional parts in path. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-7" class="anchor" aria-hidden="true" href="#fix-7"></a>FIX </h3> </li> </ul> <blockquote> <p> Fix logic error when parsing configs. </p> </blockquote>
-
v0.36.1 [2021/03/19]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-8" class="anchor" aria-hidden="true" href="#fix-8"></a>FIX </h3> </li> </ul> <blockquote> <p> Fix bind_udp_port listen on error port. </p> </blockquote>
-
v0.36.0 [2021/03/17]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-8" class="anchor" aria-hidden="true" href="#new-8"></a>NEW </h3> </li> </ul> <blockquote> <p> New plugin https2https. </p> </blockquote> <blockquote> <p> frpc supports tls_server_name to override the default value from server_addr. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improvement" class="anchor" aria-hidden="true" href="#improvement"></a>IMPROVEMENT </h3> </li> </ul> <blockquote> <p> Increase reconnect frequency if it occurs an network error between frpc and frps </p> </blockquote>
-
v0.35.1 [2021/01/25]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-9" class="anchor" aria-hidden="true" href="#fix-9"></a>FIX </h3> </li> </ul> <blockquote> <p> Reduce binary file size. </p> </blockquote>
-
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-amend" class="anchor" aria-hidden="true" href="#amend"></a>Amend </h3> </li> </ul> <blockquote> <p> Aliyun download url replace by Gitee download url </p> </blockquote>
-
v0.35.0 [2021/01/20]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-9" class="anchor" aria-hidden="true" href="#new-9"></a>NEW </h3> </li> </ul> <blockquote> <p> Server Plugin supports HTTPS. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-10" class="anchor" aria-hidden="true" href="#fix-10"></a>FIX </h3> </li> </ul> <blockquote> <p> Fix IPv6 address parse problem. </p> </blockquote> <blockquote> <p> HTTP type proxy can’t handle websocket protocol due to error Connection header value. </p> </blockquote>
-
v0.34.3 [2020/11/20]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-10" class="anchor" aria-hidden="true" href="#new-10"></a>NEW </h3> </li> </ul> <blockquote> <p> Command line parameters support enable_prometheus. </p> </blockquote>
-
v0.34.2 [2020/11/12]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-11" class="anchor" aria-hidden="true" href="#fix-11"></a>FIX </h3> </li> </ul> <blockquote> <p> Stream data transfer delay(e.g. chunked data) for HTTP type proxy. </p> </blockquote>
-
v0.34.1 [2020/10/01]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-11" class="anchor" aria-hidden="true" href="#new-11"></a>NEW </h3> </li> </ul> <blockquote> <p> Support NTLM protocol for http proxy to connect frps. </p> </blockquote> <blockquote> <p> Official docker image support on DockerHub and Github registry. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-12" class="anchor" aria-hidden="true" href="#fix-12"></a>FIX </h3> </li> </ul> <blockquote> <p> Fix a dashboard stats data lost problem after client reconnect more than 7 days. </p> </blockquote> <blockquote> <p> Fix TLS certificate verification failed. </p> </blockquote>
-
v0.34.0 [2020/09/19]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-12" class="anchor" aria-hidden="true" href="#new-12"></a>NEW </h3> </li> </ul> <blockquote> <p> Support TLS certificate and mutual TLS authentication. </p> </blockquote> <blockquote> <p> Support set max UDP package size, default is 1500. </p> </blockquote> <blockquote> <p> New e2e test framework. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-13" class="anchor" aria-hidden="true" href="#fix-13"></a>FIX </h3> </li> </ul> <blockquote> <p> UDP and SUDP proxy don’t support compression and encrytion. </p> </blockquote> <blockquote> <p> Call server plugins in fixed order. </p> </blockquote>
-
v0.33.0 [2020/04/27]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-13" class="anchor" aria-hidden="true" href="#new-13"></a>NEW </h3> </li> </ul> <blockquote> <p> Server plugin add NewUserConn interface. </p> </blockquote> <blockquote> <p> New proxy type sudp to provide a safe way to expose udp service like stcp. </p> </blockquote> <blockquote> <p> Support load balancing for tcpmux. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-14" class="anchor" aria-hidden="true" href="#fix-14"></a>FIX </h3> </li> </ul> <blockquote> <p> Fix invalid of AuthenticateNewWorkConns in frpc. </p> </blockquote> <blockquote> <p> Fix a panic problem if accept many connections concurrently. </p> </blockquote>
-
v0.32.1 [2020/04/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-14" class="anchor" aria-hidden="true" href="#new-14"></a>NEW </h3> </li> </ul> <blockquote> <p> New operation Ping and NewWorkConn support in Server Plugin. </p> </blockquote> <blockquote> <p> Add apiVersion and op params in Server Plugin HTTP request. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improvement-1" class="anchor" aria-hidden="true" href="#improvement-1"></a>Improvement </h3> </li> </ul> <blockquote> <p> Prevent frequently relogin when connection broken after login success soon. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-15" class="anchor" aria-hidden="true" href="#fix-15"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix a memory leak problem caused by frequently relogin. </p> </blockquote>
-
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-add" class="anchor" aria-hidden="true" href="#add"></a>Add </h3> </li> </ul> <blockquote> <p> Add new download url-gitee,just support install package </p> </blockquote>
-
v0.32.0 [2020/03/11]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-15" class="anchor" aria-hidden="true" href="#new-15"></a>New </h3> </li> </ul> <blockquote> <p> Support tls_only = true in frps.ini to enforce frps only accept TLS connection. </p> </blockquote> <blockquote> <p> Set detailed_errors_to_client = false in frps.ini to hide detailed error information to client. </p> </blockquote> <blockquote> <p> Support prometheus monitor. </p> </blockquote> <blockquote> <p> Optional OIDC authentication. </p> </blockquote> <blockquote> <p> New proxy type tcpmux. Support TCP port multiplexing over HTTP Connect tunnel. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-16" class="anchor" aria-hidden="true" href="#fix-16"></a>Fix </h3> </li> </ul> <blockquote> <p> Bandwidth limit configure not compared correctly when reloading. </p> </blockquote> <blockquote> <p> Incorrect connection count stats. </p> </blockquote>
-
v0.31.2 [2020/02/05]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-17" class="anchor" aria-hidden="true" href="#fix-17"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix not release port when client start proxy error. </p> </blockquote>
-
v0.31.1 [2020/01/06]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-18" class="anchor" aria-hidden="true" href="#fix-18"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix panic when proxy meta data is set. </p> </blockquote>
-
v0.31.0 [2020/01/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-16" class="anchor" aria-hidden="true" href="#new-16"></a>New </h3> </li> </ul> <blockquote> <p> New server manage plugin to extend frp’s ability </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-improvement-2" class="anchor" aria-hidden="true" href="#improvement-2"></a>Improvement </h3> </li> </ul> <blockquote> <p> Improve xtcp’s success rate in some special case. </p> </blockquote>
-
v0.30.0 [2019/11/29]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-17" class="anchor" aria-hidden="true" href="#new-17"></a>New </h3> </li> </ul> <blockquote> <p> Support bandwidth limit for each proxy. </p> </blockquote> <blockquote> <p> New plugin https2http, explore https service as http protocol. </p> </blockquote>
-
v0.29.1 [2019/11/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-19" class="anchor" aria-hidden="true" href="#fix-19"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix bug when use_encryption is true for xtcp. </p> </blockquote>
-
v0.29.0 [2019/08/30]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-18" class="anchor" aria-hidden="true" href="#new-18"></a>New </h3> </li> </ul> <blockquote> <p> New disable_log_color configure to disable console log color. </p> </blockquote> <blockquote> <p> Plugin https2http support attatch headers by plugin_header_ prefix. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-change" class="anchor" aria-hidden="true" href="#change"></a>Change </h3> </li> </ul> <blockquote> <p> Provide a high-level Go API. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-20" class="anchor" aria-hidden="true" href="#fix-20"></a>Fix </h3> </li> </ul> <blockquote> <p> max_pool_count is invalid. </p> </blockquote> <blockquote> <p> Judge error between IPv4 and IPv6 in proxy protocol </p> </blockquote>
-
v0.28.2 [2019/08/10]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-21" class="anchor" aria-hidden="true" href="#fix-21"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix a bug that health check worker may stop unexpected. </p> </blockquote>
-
v0.28.1 [2019/08/08]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-19" class="anchor" aria-hidden="true" href="#new-19"></a>New </h3> </li> </ul> <blockquote> <p> Update standard http ReverseProxy to handle more upgrade protocol </p> </blockquote> <blockquote> <p> Update some vendor packages. </p> </blockquote>
-
v0.28.0 [2019/08/03]
<ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-new-20" class="anchor" aria-hidden="true" href="#new-20"></a>New </h3> </li> </ul> <blockquote> <p> type http support load balancing. </p> </blockquote> <ul dir="auto"> <li> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-fix-22" class="anchor" aria-hidden="true" href="#fix-22"></a>Fix </h3> </li> </ul> <blockquote> <p> Fix a connection leak problem when login_fail_exit is… </p> </blockquote>