Initial: FRP Client (WSS) + Chisel Client
This commit is contained in:
commit
82a8767242
4 changed files with 42 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.enc
|
||||||
|
!.env.*.enc
|
||||||
3
.sops.yaml
Normal file
3
.sops.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
creation_rules:
|
||||||
|
- path_regex: \.env.*$
|
||||||
|
age: "age1z8gak2l4h0vpcnhtcdxmem2u9h2n54vuksk8ys82609qtzampuvqh50wdr"
|
||||||
16
compose.yaml
Normal file
16
compose.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
services:
|
||||||
|
frpc-test:
|
||||||
|
image: snowdreamtech/frpc:0.68.0
|
||||||
|
container_name: frpc-test
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- ./frpc-wss.toml:/etc/frp/frpc.toml:ro
|
||||||
|
entrypoint: ["/usr/bin/frpc", "-c", "/etc/frp/frpc.toml"]
|
||||||
|
|
||||||
|
chisel-test:
|
||||||
|
image: jpillora/chisel:latest
|
||||||
|
container_name: chisel-test
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
command: ["client", "--auth", "pfannkuchen:test2026", "http://78.46.186.211:8443", "R:28097:127.0.0.1:8097"]
|
||||||
19
frpc-wss.toml
Normal file
19
frpc-wss.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
serverAddr = "78.46.186.211"
|
||||||
|
serverPort = 7000
|
||||||
|
|
||||||
|
auth.method = "token"
|
||||||
|
auth.token = "pfannkuchen-test-2026"
|
||||||
|
|
||||||
|
transport.protocol = "websocket"
|
||||||
|
transport.poolCount = 5
|
||||||
|
transport.tcpMux = true
|
||||||
|
|
||||||
|
log.to = "console"
|
||||||
|
log.level = "info"
|
||||||
|
|
||||||
|
[[proxies]]
|
||||||
|
name = "emby-test"
|
||||||
|
type = "tcp"
|
||||||
|
localIP = "127.0.0.1"
|
||||||
|
localPort = 8097
|
||||||
|
remotePort = 18097
|
||||||
Loading…
Add table
Add a link
Reference in a new issue