日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

三、frpc 完整配置文件

發布時間:2024/1/4 综合教程 29 生活家
生活随笔 收集整理的這篇文章主要介紹了 三、frpc 完整配置文件 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
server_addr = 0.0.0.0
server_port = 7000

# if you want to connect frps by http proxy, you can set http_proxy here or in global environment variables
# it only works when protocol is tcp
# http_proxy = http://user:pwd@192.168.1.128:8080

# console or real logFile path like ./frpc.log
log_file = ./frpc.log

# trace, debug, info, warn, error
log_level = info

log_max_days = 3

# for authentication
privilege_token = 12345678

# set admin address for control frpc's action by http api such as reload
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin

# connections will be established in advance, default value is zero
pool_count = 5

# if tcp stream multiplexing is used, default is true, it must be same with frps
tcp_mux = true

# your proxy name will be changed to {user}.{proxy}
user = your_name

# decide if exit program when first login failed, otherwise continuous relogin to frps
# default is true
login_fail_exit = true

# communication protocol used to connect to server
# now it supports tcp and kcp, default is tcp
protocol = tcp

# proxy names you want to start divided by ','
# default is empty, means all proxies
# start = ssh,dns

# heartbeat configure, it's not recommended to modify the default value
# the default value of heartbeat_interval is 10 and heartbeat_timeout is 90
# heartbeat_interval = 30
# heartbeat_timeout = 90

# ssh is the proxy name same as server's configuration
# if user in [common] section is not empty, it will be changed to {user}.{proxy} such as your_name.ssh
[ssh]
# tcp | udp | http | https, default is tcp
type = tcp
local_ip = 127.0.0.1
local_port = 22
# true or false, if true, messages between frps and frpc will be encrypted, default is false
use_encryption = false
# if true, message will be compressed
use_compression = false
# remote port listen by frps
remote_port = 6001

[ssh_random]
type = tcp
local_ip = 127.0.0.1
local_port = 22
# if remote_port is 0, frps will assgin a random port for you
remote_port = 0

# if you want tp expose multiple ports, add 'range:' prefix to the section name
# frpc will generate multiple proxies such as 'tcp_port_6010', 'tcp_port_6011' and so on.
[range:tcp_port]
type = tcp
local_ip = 127.0.0.1
local_port = 6010-6020,6022,6024-6028
remote_port = 6010-6020,6022,6024-6028
use_encryption = false
use_compression = false

[dns]
type = udp
local_ip = 114.114.114.114
local_port = 53
remote_port = 6002
use_encryption = false
use_compression = false

[range:udp_port]
type = udp
local_ip = 127.0.0.1
local_port = 6010-6020
remote_port = 6010-6020
use_encryption = false
use_compression = false

# Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02.yourdomain.com to browse web02
[web01]
type = http
local_ip = 127.0.0.1
local_port = 80
use_encryption = false
use_compression = true
# http username and password are safety certification for http protocol
# if not set, you can access this custom_domains without certification
http_user = admin
http_pwd = admin
# if domain for frps is frps.com, then you can access [web01] proxy by URL http://test.frps.com
subdomain = web01
custom_domains = web02.yourdomain.com
# locations is only available for http type
locations = /,/pic
host_header_rewrite = example.com

[web02]
type = https
local_ip = 127.0.0.1
local_port = 8000
use_encryption = false
use_compression = false 
subdomain = web01
custom_domains = web02.yourdomain.com

[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
# params set 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
remote_port = 6005
plugin = socks5
plugin_user = abc
plugin_passwd = abc

[plugin_static_file]
type = tcp
remote_port = 6006
plugin = static_file
plugin_local_path = /var/www/blog
plugin_strip_prefix = static
plugin_http_user = abc
plugin_http_passwd = abc

[secret_tcp]
# If the type is secret tcp, remote_port is useless
# Who want to connect local port should deploy another frpc with stcp proxy and role is visitor
type = stcp
# sk used for authentication for visitors
sk = abcdefg
local_ip = 127.0.0.1
local_port = 22
use_encryption = false
use_compression = false

# user of frpc should be same in both stcp server and stcp visitor
[secret_tcp_visitor]
# frpc role visitor -> frps -> frpc role server
role = visitor
type = stcp
# the server name you want to visitor
server_name = secret_tcp
sk = abcdefg
# connect this address to visitor stcp server
bind_addr = 127.0.0.1
bind_port = 9000
use_encryption = false
use_compression = false

[p2p_tcp]
type = xtcp
sk = abcdefg
local_ip = 127.0.0.1
local_port = 22
use_encryption = false
use_compression = false

[p2p_tcp_visitor]
role = visitor
type = xtcp
server_name = p2p_tcp
sk = abcdefg
bind_addr = 127.0.0.1
bind_port = 9001
use_encryption = false
use_compression = false

總結

以上是生活随笔為你收集整理的三、frpc 完整配置文件的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 成人特级毛片 | 欧美大片免费在线观看 | 日本黄色免费网址 | 国产www免费观看 | 暖暖av| 黄色肉肉视频 | 国产欧美日本在线 | 欧美xxxx吸乳| 主播福利在线 | 成年人免费在线观看 | 精品一区二区欧美 | 夜夜躁狠狠躁日日躁av | 亚洲666| 91看片在线观看 | 亚洲av无码乱码国产精品 | 福利视频一区 | 手机av中文字幕 | 中出一区二区 | 欧亚乱熟女一区二区在线 | 五月天中文字幕在线 | 激情 小说 亚洲 图片 伦 | 国产成年视频 | 欧洲成人综合网 | 国产麻豆剧传媒精品国产av | 日韩欧美精品在线观看 | 日皮视频在线观看 | 三级三级久久三级久久18 | 深夜福利国产精品 | 欧美破处大片 | 欧美一区二区久久 | 领导揉我胸亲奶揉下面 | 国产在线三区 | 亚洲国产日韩欧美 | 亚洲精品国产精品乱码视色 | 爱插美女网 | 久久精品66 | 我爱我色成人网 | av中文字幕第一页 | 爱爱一级 | 天天插天天干天天操 | 免费av网址大全 | 久久丁香网 | 两个小y头稚嫩紧窄h文 | 亚洲 小说 欧美 激情 另类 | 成年人国产 | 精品欧美久久久 | 国产又爽又色 | 美女精品 | 国产日韩欧美成人 | 福利电影一区二区 | 杨贵妃颤抖双乳呻吟求欢小说 | 亚洲第一在线视频 | 久久久久久久久久免费视频 | 国产精品国产三级国产在线观看 | 粉嫩av国产一区二区三区 | 色婷婷av一区二区三区gif | 日本美女黄视频 | 国产欧美成人 | 小柔好湿好紧太爽了国产网址 | 欧美一区二区三区的 | 91精品国产综合久久久蜜臀九色 | 国产视频精品免费 | 99免费在线视频 | 蜜桃av鲁一鲁一鲁一鲁俄罗斯的 | 加勒比日韩 | 自拍超碰在线 | 伊人98| 亚洲视频一区二区三区四区 | 日韩爆操 | 亚洲最大黄色网址 | 人人爽人人香蕉 | 亚一区二区 | 欧美日韩一级二级 | 国产亚洲av片在线观看18女人 | 国产高清免费av | 成人午夜激情 | 夜色快播 | 国产精品无码人妻一区二区在线 | 国产男女猛烈无遮挡a片漫画 | 青娱乐在线视频免费观看 | 黄色三级网站在线观看 | 久久人人爽爽人人爽人人片av | 欧美色999 | 国产极品视频在线观看 | 小早川怜子一区二区三区 | 成人黄色免费观看 | 夜夜操影视 | 少妇天天干 | 97人妻精品一区二区 | 日本特黄成人 | 国产成人精品一区在线播放 | 奇米四色在线观看 | 性生交大片免费看视频 | 成人精品三级 | 91丨九色丨海角社区 | 在线观看日韩av | 91免费 看片 | 一本大道久久久久精品嫩草 | 在线视频第一页 |