当前位置:网站首页>FRP intranet penetration
FRP intranet penetration
2022-07-06 10:54:00 【hyh123a】
One 、 Preface
I haven't written for a long time , Here, send some written ones .
Pay attention to blog time , If it is no longer applicable, please leave a message , Or refer to the official website tutorial to correct yourself .
_ 2021 year 7 month 16 Japan Test available
Scenario requirements
A server in the Intranet can be accessed by others , At this time, intranet penetration is required
Several tools for intranet penetration :frp,nps, rrty rrtys, Here is just about frp.
To achieve an end
User access ssh Access intranet server
Two 、frp Detailed introduction
Official website references : https://gofrp.org/docs/examples/
Environment configuration
| host | user name | IP |
|---|---|---|
| Server side | usera | 123.123.123.1( The Internet of cloud server IP, It's casually written here ) |
| client ( That is, the local computer ) | userb | 127.12.12.1( It is suggested that IP, It's casually written here ) |
Purpose : So that any host can connect to the local computer of the intranet
1、 download
https://github.com/fatedier/frp/releases
client
# download The latest version is v37.0 __2021 year 07 month 16 Japan
wegt https://github.com/fatedier/frp/releases/download/v0.37.0/frp_0.37.0_linux_amd64.tar.gz
tar zxvf frp_0.37.0_linux_amd64.tar.gz
cd frp_0.37.0_linux_amd64
Server side
# download The latest version is v37.0 __2021 year 07 month 16 Japan
wegt https://github.com/fatedier/frp/releases/download/v0.37.0/frp_0.37.0_linux_amd64.tar.gz
tar zxvf frp_0.37.0_linux_amd64.tar.gz
cd frp_0.37.0_linux_amd64
2、 On the server side ( That is, the server with the external network , Alibaba cloud Tencent cloud and so on ) This assumes that the server IP: 123.123.123.1
# Open in the background Click enter
./frps -c frps.ini &
3、 Client on
# Edit the configuration frpc.ini
nano frpc.ini
# The configuration information is as follows
[common]
server_addr = 123.123.123.1 # Change this to a remote server IP
server_port = 7000
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
# Open in the background Click enter
./frpc -c frpc.ini &
4、 Any notebook adopt ssh Connect The client can
ssh -p 6000 [email protected]
# ssh -p 6000 Client username @ Server side extranet IP
# The user name is the user name of the client That is to say userb instead of usera !
# 6000 port Yes, there is frpc.ini Decisive , You can set it yourself
5、 close
ps -aux|grep frp
lsof -i:7000
jobs -l
sudo kill -9 pid
Other tools
rrty rrtys
course :https://github.com/zhaojh329/rtty/blob/master/README_ZH.md
other
If there is harvest Welcome to thumb up
If it works Welcome to leave a message
If there is a problem Welcome to point out
边栏推荐
- MySQL21-用户与权限管理
- Yum prompt another app is currently holding the yum lock; waiting for it to exit...
- Case identification based on pytoch pulmonary infection (using RESNET network structure)
- Timestamp with implicit default value is deprecated error in MySQL 5.6
- Mysql27 - Optimisation des index et des requêtes
- [reading notes] rewards efficient and privacy preserving federated deep learning
- Win10: how to modify the priority of dual network cards?
- Kubesphere - deploy the actual combat with the deployment file (3)
- Postman environment variable settings
- February 13, 2022 - Maximum subarray and
猜你喜欢

CSDN问答模块标题推荐任务(二) —— 效果优化

MySQL33-多版本并发控制

Mysql22 logical architecture
![[reading notes] rewards efficient and privacy preserving federated deep learning](/img/c3/5e88277b5024885d5ceeaa0de14b27.jpg)
[reading notes] rewards efficient and privacy preserving federated deep learning

Mysql25 index creation and design principles

Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want

Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution

A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon

【博主推荐】SSM框架的后台管理系统(附源码)

Just remember Balabala
随机推荐
Mysql25 index creation and design principles
MySQL23-存储引擎
MySQL flush operation
Mysql23 storage engine
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
Timestamp with implicit default value is deprecated error in MySQL 5.6
CSDN question and answer module Title Recommendation task (II) -- effect optimization
[untitled]
Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
Adaptive Bezier curve network for real-time end-to-end text recognition
Navicat 導出錶生成PDM文件
Record the first JDBC
【C语言】深度剖析数据存储的底层原理
Development of C language standard
Baidu Encyclopedia data crawling and content classification and recognition
February 13, 2022-2-climbing stairs
Idea import / export settings file
35 is not a stumbling block in the career of programmers
Mysql21 user and permission management
虚拟机Ping通主机,主机Ping不通虚拟机