6.1、服务端全配置文件 frps_full_example.toml # This configuration file is for reference only. Please do not use this configuration directly to run the program as it may have various issues.# A literal address or host name for IPv6 must be enclosed# in square brackets, as in "[::1]:80...
name="plugin_unix_domain_socket"type="tcp"remotePort=6003#ifplugin is defined, localIP and localPort is useless # plugin will handle connections got from frps [proxies.plugin] type="unix_domain_socket"unixPath="/var/run/docker.sock"[[proxies]] name="plugin_http_proxy"type="tcp"remotePort...
# v1 or v2 or empty proxy_protocol_version = v2[plugin_unix_domain_socket] type = tcp remote_port = 6003 # if plugin is defined, local_ip and local_port is useless # plugin will handle connections got from frps plugin = unix_domain_socket ...
Expose a Unix domain socket (e.g. the Docker daemon socket) as TCP. Configure frps same as above. Start frpc with configuration: # frpc.ini [common] server_addr = x.x.x.x server_port = 7000 [unix_domain_socket] type = tcp remote_port = 6000 plugin = unix_domain_socket plugin_...
name = "plugin_unix_domain_socket"type = "tcp"remotePort = 6003# if plugin is defined, local_ip and local_port is useless# plugin will handle connections got from frps[proxies.plugin]type = "unix_domain_socket"unixPath = "/var/run/docker.sock"[[proxies]]name = "plugin_http_proxy"...
# vhost_http_timeout = 60 # tcpmux_httpconnect_port specifies the port that the server listens for TCP # HTTP CONNECT requests. If the value is 0, the server will not multiplex TCP # requests on one single port. If it's not - it will listen on this value for ...
type="unix_domain_socket" unixPath="/var/run/docker.sock" [[proxies]] name="plugin_http_proxy" type="tcp" remotePort=6004 [proxies.plugin] type="http_proxy" httpUser="abc" httpPassword="abc" [[proxies]] name="plugin_socks5"
# v1 or v2 or empty proxy_protocol_version = v2 [plugin_unix_domain_socket] type = tcp remote_port = 6003 # if plugin is defined, local_ip and local_port is useless # plugin will handle connections got from frps plugin = unix_domain_socket ...
# v1 or v2 or empty proxy_protocol_version=v2 [plugin_unix_domain_socket] type=tcp remote_port=6003 # if plugin is defined, local_ip and local_port is useless # plugin will handle connections got from frps plugin=unix_domain_socket ...
frps.loglog_file= ./frps.log# 日志等级 trace | debug | info | warn | errorlog_level= infolog_max_days=3# auth token 令牌token, 与frpc保持一致token=12345678# 心跳配置,不建议修改默认值# 心跳超时的默认值是90# heartbeat_timeout = 90# 只允许frpc绑定您列出的端口,如果不设置任何内容,则不...