You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-09-16 09:16:45 +02:00
update frp
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
[common]
|
||||
server_addr = 1.2.3.4
|
||||
server_port = 7000
|
||||
protocol = kcp
|
||||
token = 12345678
|
||||
admin_port = 7400
|
||||
|
||||
[ssh]
|
||||
type = tcp
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 22
|
||||
remote_port = 20000
|
||||
use_encryption = true
|
||||
use_compression = true
|
26
frp/data/frpc.toml
Normal file
26
frp/data/frpc.toml
Normal file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# See: https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml
|
||||
#
|
||||
|
||||
serverAddr = "1.2.3.4"
|
||||
serverPort = 7000
|
||||
|
||||
transport.protocol = "kcp"
|
||||
|
||||
auth.method = "token"
|
||||
auth.token = "12345678"
|
||||
|
||||
webServer.addr = "127.0.0.1"
|
||||
webServer.port = 7400
|
||||
webServer.user = "admin"
|
||||
webServer.password = "admin"
|
||||
|
||||
[[proxies]]
|
||||
|
||||
name = "ssh"
|
||||
type = "tcp"
|
||||
localIP = "127.0.0.1"
|
||||
localPort = 22
|
||||
remotePort = 2222
|
||||
transport.useEncryption = true
|
||||
transport.useCompression = true
|
@@ -1,9 +0,0 @@
|
||||
[common]
|
||||
bind_addr = 0.0.0.0
|
||||
bind_port = 7000
|
||||
kcp_bind_port = 7000
|
||||
dashboard_port = 7500
|
||||
dashboard_user = admin
|
||||
dashboard_pwd = admin
|
||||
privilege_token = 12345678
|
||||
privilege_allow_ports = 2222,20000-20100
|
24
frp/data/frps.toml
Normal file
24
frp/data/frps.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# See: https://github.com/fatedier/frp/blob/dev/conf/frps_full_example.toml
|
||||
#
|
||||
|
||||
bindAddr = "0.0.0.0"
|
||||
bindPort = 7000
|
||||
kcpBindPort = 7000
|
||||
|
||||
transport.maxPoolCount = 10
|
||||
|
||||
webServer.addr = "127.0.0.1"
|
||||
webServer.port = 7500
|
||||
webServer.user = "admin"
|
||||
webServer.password = "admin"
|
||||
|
||||
auth.method = "token"
|
||||
auth.token = "12345678"
|
||||
|
||||
enablePrometheus = true
|
||||
|
||||
allowPorts = [
|
||||
{ single = 2222 },
|
||||
{ start = 20000, end = 20100 }
|
||||
]
|
Reference in New Issue
Block a user