# if you want to connect frps by http proxy or socks5 proxy or ntlm proxy, you can set http_proxy here or in global environment variables # it only works when protocol is tcp # http_proxy = http://user:passwd@192.168.1.128:8080 # http_proxy = socks5://user:passwd@192.168.1.128:10...
# 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 = 6004[proxies.plugin]type = "http_proxy"httpUser = "abc"httpPassword = "abc"[[proxies]]name = "...
authorizedKeysFile = "/home/frp-user/.ssh/authorized_keys"[[httpPlugins]]name="user-manager"addr="127.0.0.1:9000"path="/handler"ops= ["Login"][[httpPlugins]]name="port-manager"addr="127.0.0.1:9001"path="/handler"ops= ["NewProxy"] 6.2、客户端全配置文件 frpc_full_example.toml # Thi...
# transport.proxyURL="http://user:passwd@192.168.1.128:8080"# transport.proxyURL="socks5://user:passwd@192.168.1.128:1080"# transport.proxyURL="ntlm://user:passwd@192.168.1.128:2080"# quic protocol options # transport.quic.keepalivePeriod=10# transport.quic.maxIdleTimeout=30# transport.quic....
HTTPPlugins: make(map[string]plugin.HTTPPluginOptions), UDPPacketSize: 1500, EnableApi: false, ApiBaseUrl: "", ApiToken: "", NatHoleAnalysisDataReserveHours: 7 * 24, } } Expand Down Expand Up @@ -263,6 +272,27 @@ func UnmarshalServerConfFromIni(source interface{}) (ServerCommonConf...
ProxyExtra.Subdomain @@ -191,8 +199,8 @@ func (a *App) parseFrpcProxyConfig(respProxies *[]model.RespUserProxy) *[]v1.Pro tmpC.Plugin.ClientPluginOptions = &v1.HTTPS2HTTPPluginOptions{ Type: "https2http", LocalAddr: proxy.ProxyLocalAddr, CrtPath: "certFile", KeyPath: "keyFile"...
plugin = unix_domain_socket # params with prefix "plugin_" that plugin needed plugin_unix_path = /var/run/docker.sock [plugin_http_proxy] type = tcp remote_port = 6004 plugin = http_proxy plugin_http_user = abc plugin_http_passwd = abc [plugin_socks5] type = tcp ...
当我们HTTP、HTTPS这样的上层协议、正反向端口转发都失败的时候,可以尝试DNS隧道。DNS隧道很难防范,因为平时的业务等功能难免会用到DNS协议进行解析,所以防火墙大多对DNS流量是放行的状态。这时候,如果我们在不出机器构造一个恶意的域名,本地DNS服务器无法给出回答时,就会以迭代查询的方式通过互联网定位到所查询域的...
# if plugin is defined, local_ip and local_port is useless # plugin will handle connections got from frps plugin=unix_domain_socket # params with prefix "plugin_" that plugin needed plugin_unix_path=/var/run/docker.sock [plugin_http_proxy] ...
# Specify which address proxy will listen for, default value is same with bindAddr # 指定代理将侦听的地址,默认值与 bindAddr 相同 # proxyBindAddr = "127.0.0.1" # quic protocol options # quic 协议选项 # transport.quic.keepalivePeriod = 10 ...