当前位置:网站首页>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
边栏推荐
- Postman uses scripts to modify the values of environment variables
- Mysql22 logical architecture
- MySQL27-索引優化與查詢優化
- 解决:log4j:WARN Please initialize the log4j system properly.
- Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
- Windchill configure remote Oracle database connection
- MNIST implementation using pytoch in jupyter notebook
- Postman environment variable settings
- [leectode 2022.2.13] maximum number of "balloons"
- Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)

MySQL27-索引优化与查询优化

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

Other new features of mysql18-mysql8

Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly

CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)

Water and rain condition monitoring reservoir water and rain condition online monitoring

CSDN问答标签技能树(五) —— 云原生技能树

MySQL transaction log

MySQL25-索引的创建与设计原则
随机推荐
Some problems in the development of unity3d upgraded 2020 VR
MySQL27-索引優化與查詢優化
Breadth first search rotten orange
Have you mastered the correct posture of golden three silver four job hopping?
[unity] simulate jelly effect (with collision) -- tutorial on using jellysprites plug-in
基于Pytorch肺部感染识别案例(采用ResNet网络结构)
MySQL21-用户与权限管理
csdn-Markdown编辑器
MySQL32-锁
Baidu Encyclopedia data crawling and content classification and recognition
MySQL36-数据库备份与恢复
Isn't there anyone who doesn't know how to write mine sweeping games in C language
MySQL25-索引的创建与设计原则
@controller,@service,@repository,@component区别
Time in TCP state_ The role of wait?
MySQL 20 MySQL data directory
Mysql22 logical architecture
Win10: how to modify the priority of dual network cards?
ByteTrack: Multi-Object Tracking by Associating Every Detection Box 论文阅读笔记()
MNIST implementation using pytoch in jupyter notebook