FRP公益服务器配置文件示例

本文详细介绍如何使用frp进行内网穿透,包括客户端下载、配置文件编辑及具体示例。示例中通过frp实现SSH远程连接及本地web服务的外部访问。

客户端下载地址 :https://github.com/fatedier/frp/releases

根据平台选择下载,编辑frpc.ini配置文件

假设 frps 所在服务器的 域名 为 frp.xyz.com ,token = xxxx ,自定义域名前缀为abc ,http端口为8000
示例中 链接ssh 使用 root@frp.xyz.com -p 6000
示例中 访问本地web abc.frp.xyz.com:8000

# frpc.ini
[common]
server_addr = frp.xyz.com
server_port = 7000
token = xxxx

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

[web_abc]
type = http
local_ip = 127.0.0.1
local_port = 80
subdomain = abc
Last modification:July 26th, 2019 at 10:12 am
 Support
If you think my article is useful to you, please feel free to appreciate
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

劲爆老爹

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值