我如何更改成自己的FRPC参数,实现外网访问NAS界面
假设这是我的参数
[common]
user = qew6gsn7f1rhokib
sakura_mode = true
use_recover = true
login_fail_exit = false
protocol = tcp
tcp_mux = true
pool_count = 1
for upstream 0.50.0+
tls_enable = false
disable_custom_tls_first_byte = false
token = SakuraFrpClientToken
server_addr = cn-gz-yd-tmp3.natfrp.cloud
server_port = 7000
[1234]
id = 14595834
type = tcp
local_ip = 192.168.123.169
local_port = 1194
remote_port = 50004
下面的系统文件里默认的,要更改哪一些?
serverAddr = "slitaz.tk"
serverPort = 7000
auth.method = "token"
auth.token = "12345678"
[[proxies]]
name = "ssh-25464"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 25464
[[proxies]]
name = "03498"
type = "https"
subdomain = "nas-03498"
#如果你有自己的域名,可以同时打开这行,你的域名要解析到frps服务器
#customDomains = ["hinas.yourdomain.com"]
[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:80"
#如果使用自己的域名,请自行制作你的SSL替换到下面文件位置
crtPath = "/etc/frp/slitaz.tk.crt"
keyPath = "/etc/frp/slitaz.tk.key"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
#如果增加穿透端口的域名比如青龙面版,去掉下面行首的井号,自行修改
#[[proxies]]
#name = "22345"
#type = "https"
#subdomain = "web01"
#[proxies.plugin]
#type = "https2http"
#localAddr = "127.0.0.1:5700"
#crtPath = "/etc/frp/slitaz.tk.crt"
#keyPath = "/etc/frp/slitaz.tk.key"
#hostHeaderRewrite = "127.0.0.1"
#requestHeaders.set.x-from-where = "frp"