frp is a fast reverse proxy to help expose a local server behind a NAT or firewall to the Internet.
107
docker run \
-d \
-p 7000:7000 \
-p 7500:7500 \
-p 7100-7200:7100-7200 \
--name 'frp.server' \
--privileged=true \
--restart=always \
99chris/frps:1.1 \
/usr/sbin/init
[common]
bind_port = 7000
# 管理客户端 http://IP:7500/static/#/
dashboard_port = 7500
# dashboard's username and password are both optional,if not set, default is admin.
dashboard_user = admin
dashboard_pwd = admin
token = 000000
# 穿透服务允许的连接数
max_pool_count = 500
# 单个客户端允许建立的穿透服务,0为不限制
max_ports_per_client = 0
# 客户端与服务端连接心跳检测
heartbeat_timeout = 90
#虚拟主机穿透监听端口(指http与https的访问端口)
vhost_http_port = 80
# vhost_http_port = 8080
vhost_https_port = 443
# 连接超时
authentication_timeout = 900
# tcp流多路复用(可以理解为优化传输)
tcp_mux = true
~
Content type
Image
Digest
Size
130.9 MB
Last updated
about 6 years ago
docker pull 99chris/frps:1.1