frp
- frps.ini
- frpc.ini
- token = 74cd5e5d-75fe-4b0c-89a8-af4655198a40
- server_addr = 1.1.1.1
- local_ip = 192.168.1.2
配置: frps.ini
[common]
bind_port = 7000
dashboard_port = 7500
authentication_method = token
token = 74cd5e5d-75fe-4b0c-89a8-af4655198a40
部署
docker run -v ./frps.ini:/etc/frp/frps.ini \
-d --name=frps \
--net=host \
--restart=always \
--log-opt max-size=10m \
--log-opt max-file=3 \
snowdreamtech/frps
配置: frpc.ini
[common]
server_addr = 1.1.1.1
server_port = 7000
authentication_method = token
token = 74cd5e5d-75fe-4b0c-89a8-af4655198a40
tcp_mux = true
[Surge Dashboard]
local_ip = 192.168.1.2
local_port = 6171
remote_port = 6171
[TeslaMate]
local_ip = 192.168.1.2
local_port = 4000
remote_port = 4000
[TeslaMate Dashboards]
local_ip = 192.168.1.2
local_port = 3000
remote_port = 3000
部署
docker run -v ./frpc.ini:/etc/frp/frpc.ini \
-d --name=frpc \
--net=host \
--restart=always \
--log-opt max-size=10m \
--log-opt max-file=3 \
snowdreamtech/frpc
https://docs.dler.io/black-hole/jin-jie/nei-wang-chuan-tou-fang-wen-jia-zhong-she-bei