core: 添加 frpc 内网穿透

This commit is contained in:
bin456789
2025-04-28 23:18:27 +08:00
parent 3f1d5ce9fa
commit bbf78e6d9a
13 changed files with 397 additions and 27 deletions

24
frpc-example.toml Normal file
View File

@ -0,0 +1,24 @@
serverAddr = "YOUR_FRP_SERVER_IP"
serverPort = 7000
auth.token = "YOUR_FRP_TOKEN"
[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 2222
[[proxies]]
name = "rdp_tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 33890
[[proxies]]
name = "rdp_udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 33890