树莓派3 利用frp内网穿透web搭建 -- bt下载机的应用
来源:互联网 发布:狙击模拟软件 汉化版 编辑:程序博客网 时间:2024/05/17 22:26
树莓派3 利用frp内网穿透web搭建 -- bt下载机的应用
请参考我前面写的博客:http://blog.csdn.net/wangdamingll/article/details/77427458
一、frps 服务器的web配置
1、这是服务端配置文件内容
[common]
bind_addr = 0.0.0.0
bind_port = 7000
vhost_http_port = 8080
vhost_https_port = 443
dashboard_port = 7500
auth_token = frp
log_file = ./frps.log
log_level = info
[web1] #web通道,要和frpc一致
type = http #协议类型为http
custom_domains = xxx.xxx.xxx.xxx #域名,如果没有域名,直接写frps的公网ip
auth_token = frp
[web2] #web通道,要和frpc一致
type = http #协议类型为http
custom_domains = xxx.xxx.xxx.xxx #域名,如果没有域名,直接写frps的公网ip
auth_token = frp
2、启动服务:./frps -c ./frps.ini
3、查看配置log文件: vim ./frps.log
如果没有什么异常,就是成功的
二、frps 客户端的搭建
1、配置文件
[common]
server_addr = xxx.xxx.xxx.xxx #你的公网服务器的ip地址
server_port = 7000 #和服务器的端口一致
local_ip = 127.0.0.1
log_file = ./frpc.log
[ssh] #配置ssh内网穿透
type = tcp
local_port = 22
remote_port = 2200 #穿透端口号,用于外网连接
[web1] #通道 和服务端一致
type = http #协议类型为http
local_port = 9091 #本地web服务的端口号 ,这里为bt下载服务 transmission-daemon 的端口号
custom_domains = xxx.xxx.xxx.xxx #域名,如果没有域名,直接写frps的公网ip
auth_token = frp
[web2] #通道 和服务端一致
type = http #协议类型为http
local_port = xxx #本地web服务的端口号
custom_domains = xxx.xxx.xxx.xxx #域名,如果没有域名,直接写frps的公网ip
auth_token = frp
[webs]
type = https
local_port = 443
custom_domains = xxx.xxx.xxx.xxx
auth_token = frp
2、启动客户端:./frpc -c ./frpc.ini
3、查看log: vim frpc.log 如果没有异常的话就是成功的
三、树莓派bt下载机的搭建
请参考:http://blog.csdn.net/wangdamingll/article/details/77417658
- 树莓派3 利用frp内网穿透web搭建 -- bt下载机的应用
- 树莓派3 利用frp内网穿透搭建
- 手机+frp内网穿透搭建随身携带的服务器
- 内网穿透神器frp的搭建与使用
- FRP内网穿透服务端搭建教程
- frp内网穿透基本应用
- FRP内网穿透
- frp 内网穿透
- frp实现内网穿透
- frp实现内网穿透
- MacOS下的内网穿透映射工具(frp)
- 使用内网穿透工具frp
- 内网穿透工具frp与ngrok
- 内网穿透利器——frp
- 使用frp实现内网穿透
- 使用frp进行内网穿透入门
- 树莓派3 搭建bt下载机---利用 transmission-daemon
- 树莓派3 搭建bt下载机---利用 aria2
- CoordinatorLayout 实际应用效果
- 贝叶斯推断 3. 离散随机变量的先验和建模
- Linux安装mysql并配置外网访问
- redis启动错误-- Creating Server TCP listening socket *:6379: listen: UnKnown error
- 处理上传文件控件碰到的问题
- 树莓派3 利用frp内网穿透web搭建 -- bt下载机的应用
- 边界值
- MapReduce
- 认证ping
- 学会BootStrap这一篇文章就够了
- 阿里巴巴2017实习生招聘在线编程测验(算法工程师-机器学习)
- 使用swiper实现移动端小场景
- 微软Hololens遭遇失败,前途何在?
- http://www.cnblogs.com/leiOOlei/p/3361633.html