In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about the Linux system intranet penetration tool FRP how to use, the editor feels very practical, so share with you to learn, I hope you can learn something after reading this article, say no more, follow the editor to have a look.
Frp is a high-performance reverse proxy application that can be used for intranet penetration. It supports tcp and udp protocols, provides additional capabilities for http and https application protocols, and tentatively supports point-to-point penetration.
The following describes the deployment of frps server on Ali Cloud ECS server and frpc client on local Linux machine. The local service port is forwarded to Ali Cloud public network server to achieve private network penetration.
1. The official download address of frp
Https://github.com/fatedier/frp/
Download the Linux64-bit version of frp_0.27.0_linux_amd64.tar.gz
2. Decompress and run frps on Ali Cloud ECS server (www.walkingcloud.cn IP 101.132.116.99)
After uploading rz
Tar-zxf frp_0.27.0_linux_amd64.tar.gz
Cd frp_0.27.0_linux_amd64
. / frps-c frps.ini & (running in the background)
You can see two configuration files of frps.ini frpc.ini and two programs of frps frpc in the unzipped directory
Put frps and frps.ini on a machine with a public network IP (server).
Put frpc and frpc.ini on the machine in the intranet environment (intranet client).
3. After decompressing on the local Linux server (client), modify the frpc.ini configuration file
[common]
Server_addr = 101.132.116.99 (i.e. the public network address of the server)
Server_port = 7000 (server port)
[ssh]
Type = tcp
Local_ip = 127.0.0.1
Local_port = 22
Remote_port = 6005 (that is, the forwarding port to use)
Then run. / frpc-c. / frpc.ini &
4. Finally verify whether the private network penetration is successful.
Create a new connection for host www.walkingcloud.cn (parsed IP101.132.116.99) Port 6005
You can access the SSH service of the local Linux server, and the private network penetration is successful.
The above is how to use the intranet penetration tool FRP in the Linux system. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.