Code Monkey home page Code Monkey logo

frps-onekey's Introduction

Frps服务端一键配置脚本,Frp最新版本:0.51.1

Frp 是一个高性能的反向代理应用,可以帮助您轻松地进行内网穿透,对外网提供服务,支持 tcp, http, https 等协议类型,并且 web 服务支持根据域名进行路由转发。

Frps-Onekey-Install-Shell For CentOS/Debian/Ubuntu/Fedora (32bit/64bit)

Install(安装)

Gitee

wget https://gitee.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 Changelog
Frp版本更新说明

  • Fixes

    Fix the issue of not disabling tcp keepalive when configuring tcp_keepalive = -1 in frps.

    Fix a race condition error.

  • Features

    frpc supports connecting to frps via the wss protocol by enabling the configuration protocol = wss.

    frpc supports stopping the service through the stop command.

  • Improvements

    service.Run supports passing in context.

  • Fixes

    Fix an issue caused by a bug in yamux that prevents wss from working properly in certain plugins.

    • Notes

    For enhanced security, the default values for tls_enable and disable_custom_tls_first_byte have been set to true.If you wish to revert to the previous default values, you need to manually set the values of these two parameters to false.

    • Features

    Added support for allow_users in stcp, sudp, xtcp. By default, only the same user is allowed to access. Use * to allow access from any user. The visitor configuration now supports server_user to connect to proxies of other users.

    Added fallback support to a specified alternative visitor when xtcp connection fails.

    • Improvements

    Increased the default value of MaxStreamWindowSize for yamux to 6MB, improving traffic forwarding rate in high-latency scenarios.

    • Fixes

    Fixed an issue where having proxies with the same name would cause previously working proxies to become ineffective in xtcp.

    • Notes

    v0.49.0 版本修改比較大,詳情可以作者那查看

    • New

    The frpc has added the nathole discover command for testing the NAT type of the current network.

    XTCP has been refactored, resulting in a significant improvement in the success rate of penetration.

    When verifying passwords, use subtle.ConstantTimeCompare and introduce a certain delay when the password is incorrect.

    • Fix

    Fix the problem of lagging when opening multiple table entries in the frps dashboard.

    • New

    The httpconnect type in tcpmux now supports authentication through the parameters http_user and http_pwd.

    • Improve

    The web framework has been upgraded to vue3 + element-plus, and the dashboard has added some information display and supports dark mode.

    The e2e testing has been switched to ginkgo v2.

    • New

    Added config bandwidth_limit_mode in frpc, default value is client which is current behavior. Optional value is server, to enable bandwidth limit in server. The major aim is to let server plugin has the ability to modify bandwidth limit for each proxy.

    • Improve

    dns_server supports ipv6.

    frpc supports graceful shutdown for protocol quic.

  • [shell updated [2023/02/03]]

    • Add new download path

    Add gitee as frps download file

    • FIX

    Server Plugin sends incorrect op name for NewWorkConn.

    QUIC stream leak.

    • NEW

    Add oidc_scope parameter to frpc when authentication_method = oidc.

    Support quic protocol between frpc and frps.

    • Improve

    Upgrade oidc and oauth2 package which is forward compatible.

    • Improve

    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.

    • NEW

    Use auto generated certificates if plugin_key_path and plugin_crt_path are empty for plugin https2https and https2http.

    Server dashboard supports TLS configs.

    • FIX

    xtcp error with IPv6 address.

    • NEW

    Added route_by_http_user in http and tcpmux proxy to support routing to different clients by HTTP basic auth user.

    CONNECT method can be forwarded in http type proxy.

    Added tcpmux_passthrough in tcpmux proxy. If true, CONNECT request will be forwarded to frpc.

    • NEW

    Added new parameter config_dir in frpc to run multiple client instances in one process.

    • FIX

    Equal sign in environment variables causes parsing error.

    • NEW

    Support go http pprof.

    • IMPROVE

    Change underlying TCP connection keepalive interval to 2 hours.

    Create new connection to server for sudp visitor when needed, to avoid frequent reconnections.

    • NEW

    Added dial_server_timeout in frpc to specify connecting timeout to frps.

    Additional EndpointParams can be set for OIDC.

    Added CloseProxy operation in server plugin.

    • IMPROVE

    Added some randomness in reconnect delay.

    • FIX

    TLS server name is ignored when tls_trusted_ca_file isn’t set.

    • FIX

    Fixed IPv6 address parse issue.

    • NEW

    Added connect_server_local_ip in frpc to specify local IP connected to frps.

    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).

    • Improve

    Server Plugin: Added client_address in Login Operation.

    • FIX

    Remove authentication for healthz api.

    • NEW

    Add /healthz API.

    frpc support disable_custom_tls_first_byte .If set true, frpc will not send custom header byte.

    • Improve

    Use go standard embed package instead of statik.

    • FIX

    Plugin https2https not work.

    context canceled problem for http_proxy plugin when multiple requests reuse same connection.

    In some cases, frps can't get server name for https proxy.

    • NEW

    frpc add subcommand verify to validate configures before running.

    frpc support includes option to split multiple proxy configs into different files.

    Support sudp in dashboard.

    • FIX

    Use empty string as default value for dashboard user and password.

    login_fail_exit is not valid when protocol = kcp.

    • IMPROVE

    Support reverseproxy to dashboard with additional parts in path.

    • FIX

    Fix logic error when parsing configs.

    • FIX

    Fix bind_udp_port listen on error port.

    • NEW

    New plugin https2https.

    frpc supports tls_server_name to override the default value from server_addr.

    • IMPROVEMENT

    Increase reconnect frequency if it occurs an network error between frpc and frps

    • FIX

    Reduce binary file size.

  • Shell Upadte [2021/01/24]

    • Amend

    Aliyun download url replace by Gitee download url

    • NEW

    Server Plugin supports HTTPS.

    • FIX

    Fix IPv6 address parse problem.

    HTTP type proxy can't handle websocket protocol due to error Connection header value.

    • NEW

    Command line parameters support enable_prometheus.

    • FIX

    Stream data transfer delay(e.g. chunked data) for HTTP type proxy.

    • NEW

    Support NTLM protocol for http proxy to connect frps.

    Official docker image support on DockerHub and Github registry.

    • FIX

    Fix a dashboard stats data lost problem after client reconnect more than 7 days.

    Fix TLS certificate verification failed.

    • NEW

    Support TLS certificate and mutual TLS authentication.

    Support set max UDP package size, default is 1500.

    New e2e test framework.

    • FIX

    UDP and SUDP proxy don't support compression and encrytion.

    Call server plugins in fixed order.

    • NEW

    Server plugin add NewUserConn interface.

    New proxy type sudp to provide a safe way to expose udp service like stcp.

    Support load balancing for tcpmux.

    • FIX

    Fix invalid of AuthenticateNewWorkConns in frpc.

    Fix a panic problem if accept many connections concurrently.

    • NEW

    New operation Ping and NewWorkConn support in Server Plugin.

    Add apiVersion and op params in Server Plugin HTTP request.

    • Improvement

    Prevent frequently relogin when connection broken after login success soon.

    • Fix

    Fix a memory leak problem caused by frequently relogin.

  • Shell Upadte [2020/03/24]

    • Add

    Add new download url-gitee,just support install package

    • New

    Support tls_only = true in frps.ini to enforce frps only accept TLS connection.

    Set detailed_errors_to_client = false in frps.ini to hide detailed error information to client.

    Support prometheus monitor.

    Optional OIDC authentication.

    New proxy type tcpmux. Support TCP port multiplexing over HTTP Connect tunnel.

    • Fix

    Bandwidth limit configure not compared correctly when reloading.

    Incorrect connection count stats.

    • Fix

    Fix not release port when client start proxy error.

    • Fix

    Fix panic when proxy meta data is set.

    • New

    New server manage plugin to extend frp's ability

    • Improvement

    Improve xtcp's success rate in some special case.

    • New

    Support bandwidth limit for each proxy.

    New plugin https2http, explore https service as http protocol.

    • Fix

    Fix bug when use_encryption is true for xtcp.

    • New

    New disable_log_color configure to disable console log color.

    Plugin https2http support attatch headers by plugin_header_ prefix.

    • Change

    Provide a high-level Go API.

    • Fix

    max_pool_count is invalid.

    Judge error between IPv4 and IPv6 in proxy protocol

    • Fix

    Fix a bug that health check worker may stop unexpected.

    • New

    Update standard http ReverseProxy to handle more upgrade protocol

    Update some vendor packages.

    • New

    type http support load balancing.

    • Fix

    Fix a connection leak problem when login_fail_exit is false.

    • Fix

    Add read timeout for TLS connection check.

    • New

    Proxy Protocol support plugin unix_domain_socket.

    frps support custom 404 page.

    • New

    Support Proxy Protocol.

    New plugin https2http.

    • Fix

    Fix router config conflict when frpc start by command line mode. #1165

    • Fix

    Fix panic error when reconnection with tls_enable is true.

    • Change

    Change Update version of kcp-go.

    • Fix

    Fix connection leak of http health check. #1155

    • Fix

    Fix a match problem with multilevel subdomain. #1132
    frps --log_file is useless. #1125

    • New

    Support TLS between frpc and frps, Set tls enable to enable this feature in frpC.Improve stability of xtcp.

    • Fix

    Fix a bug that xtcp don't release connections in some case.

    Note: xtcp is incompatible with old versions.
    注意:此版本的xtcp和之前版本不兼容,需要同步升级服务端和客户端才能正常使用
    • Fix

    Fix Error clear frpc configure file when /api/config called without token set

    • New

    New Support admin UI for frpc

    • Fix

    Fix Reload proxy not saved after reconnecting

    • Fix

    Fix client not working caused by reconnecting.

    • Fix

    Fix status api.

    Fix reload and status command error.

    • New

    Support render configure file template with os environment.

    • Change

    Remove check for authentication timeout.

frps-onekey's People

Contributors

alililala avatar amazingdm avatar ducun avatar himenma avatar mvscode avatar op69qs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.