init commit
This commit is contained in:
10
scripts/dev/frp/Dockerfile
Normal file
10
scripts/dev/frp/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY frps frps
|
||||
COPY frps.toml frps.toml
|
||||
|
||||
EXPOSE 18080
|
||||
|
||||
CMD ["./frps", "-c", "frps.toml"]
|
||||
BIN
scripts/dev/frp/frps
Normal file
BIN
scripts/dev/frp/frps
Normal file
Binary file not shown.
14
scripts/dev/frp/frps.toml
Normal file
14
scripts/dev/frp/frps.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
bindPort = 18080
|
||||
transport.tcpMux = true
|
||||
|
||||
[[httpPlugins]]
|
||||
name = "chan-req"
|
||||
addr = "host.docker.internal:8080"
|
||||
path = "/chan/request"
|
||||
ops = ["NewUserConn"]
|
||||
|
||||
[[httpPlugins]]
|
||||
name = "chan-test"
|
||||
addr = "host.docker.internal:8080"
|
||||
path = "/chan/test"
|
||||
ops = ["NewProxy", "NewWorkConn"]
|
||||
Reference in New Issue
Block a user