当前位置:网站首页>利用frp服务器进行内网穿透ssh访问
利用frp服务器进行内网穿透ssh访问
2022-07-31 08:21:00 【CAFEBABE 34】
一、服务器端
服务器需要具有公网ip
- 配置文件frps.ini
[common]
bind_port=8080
- 配置安装组规则——开放8080和8081端口
- 启动服务端
二、客户端
- 配置文件frpc.ini
[common]
server_addr = 公网ip
server_port = 8080 #绑定的端口
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 8081 # ssh请求的地址
三、连接
使用xshll命令连接
ssh [email protected]公网ip:8081
连接成功
服务器端
边栏推荐
猜你喜欢
随机推荐
SQLAlchemy使用教程
sqli-labs(less-11)
[MySQL exercises] Chapter 4 · Explore operators in MySQL with kiko
傅里叶变换,拉普拉斯变换学习记录
MUI获取相机权限
35-Jenkins-Shared library application
google搜索技巧——程序员推荐
MySQL 日期时间类型精确到毫秒
[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Part 1)--Component UI
【MySQL功法】第2话 · 数据库与数据表的基本操作
SQL语句知识大全
MySQL中InnoDB的多版本并发控制(MVCC)的实现
【云原生与5G】微服务加持5G核心网
A, MySQL principle of master-slave replication
First acquaintance with NK-RTU980 development board
New in Visual Studio: Low Priority Builds
我的创作纪念日
tqdm库的使用
【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(下) -- 搜索历史
Which strings will be parsed as null by FastJson?