内网穿透
Frp内网穿透的相关指引
OpenWrt单网口进行端口转发
XUI面板安装及节点IP设置
nps服务端配置信息详解
华硕固件路由器安装nps服务提示目录read-only
首页
-
+
Frp内网穿透的相关指引
## 1.前往[Github](https://github.com/fatedier/frp/releases "Github")下载对应的版本,或者用命令行 ```c wget https://github.com/fatedier/frp/releases/download/v0.52.3/frp_0.52.3_linux_arm.tar.gz ``` ```c tar -xvzf frp_0.52.3_linux_arm.tar.gz ``` ```c cd frp_0.52.3_linux_arm ``` ## 2.编辑运行配置文件 服务器端配置文件`frps.toml` ```c bindPort = 7000 auth.token = "sgh123456" ``` 客户端配置文件`frpc.toml` ```c serverAddr = "43.249.8.31" bindPort = 7000 auth.token = "sgh123456" [[proxies]] name = "SZNas" type = "tcp" localIP = "127.0.0.1" localPort = 5000 remotePort = 19008 transport.useEncryption = true transport.useCompression = true ``` ## 3.插件配置示例代码-[官方示例](https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L254C1-L261 "官方示例") ```c #http代理 [[proxies]] name = "plugin_http_proxy" type = "tcp" remotePort = 6004 [proxies.plugin] type = "http_proxy" httpUser = "abc" httpPassword = "abc" #socks5代理 [[proxies]] name = "plugin_socks5" type = "tcp" remotePort = 6005 [proxies.plugin] type = "socks5" username = "abc" ```
laoding
2024年4月8日 00:48
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码