Added: frp config

This commit is contained in:
homemade 2023-11-09 14:03:53 +00:00
commit 3dfc5d0dfc
4 changed files with 13 additions and 0 deletions

1
frp/client/client.sh Normal file
View File

@ -0,0 +1 @@
docker run -d --network=host fatedier/frpc:v0.47.0 -c ./frpc.toml

10
frp/client/frpc.toml Normal file
View File

@ -0,0 +1,10 @@
# frpc.toml
serverAddr = "119.28.12.24"
serverPort = 7000
[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 10022

1
frp/server/frps.toml Normal file
View File

@ -0,0 +1 @@
bindPort = 7000

1
frp/server/server.sh Normal file
View File

@ -0,0 +1 @@
docker run -d --network=host fatedier/frps:v0.47.0 -c frps.toml