In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use Frp to achieve intranet penetration, the content is concise and easy to understand, it can definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
I. preparation
Public network server (public network IP is required) Centos 7.0
Private network server (the server that needs to do private network penetration) Centos 7.0,
Second, install Frp
Download address of installation package: https://github.com/fatedier/frp/releases
There are two installation methods:
Method 1: directly open the download address and select the installation package to download.
Method 2:
Wget https://github.com/fatedier/frp/releases/download/v0.29.0/frp_0.29.0_linux_amd64.tar.gz
After the download is complete, follow these steps:
Public network server steps
Cd / homemkdir frptar zxvf frp_0.29.0_linux_amd64.tar.gzcd frp_0.29.0_linux_amd64cp. / frps / home/frp/cp. / frps.ini / home/frp/cd.. vi frps.ini
Edit the frps.ini as follows:
[common] bind_port = 7000 # default, specify at will, client note to be consistent with this vhost_http_port = 80 # use # vhost_https_port = 443 when accessing
Save frps.ini and execute the following command:
. / frps-c. / frps.ini
Note: the ports of bind_port and vhost_http_port parameters must be able to communicate with telnet.
Private network server steps
Cd / homemkdir frptar zxvf frp_0.29.0_linux_amd64.tar.gzcd frp_0.29.0_linux_amd64cp. / frpc / home/frp/cp. / frpc.ini / home/frp/cd.. vi frpc.ini
Edit the frpc.ini as follows:
[common] bind_port = 7000 # default, specify at will, client pay attention to keep consistent with this vhost_http_port = 80 # use # vhost_https_port = 443 [common] server_addr = 39.108.209.220 # IPserver_port of public network server = 7000 # default, specify at will Note that this parameter is consistent with that of the public network server [ssh] type = tcplocal_ip = 192.168.10.81local_port = 22remote_port = 6000 [web] type = httplocal_ip = 192.168.10.81 # IPlocal_port = 80 # Port # IP parsing of the private network application # custom_domains = 39.108.209.220 # if you want to use IP access Then set this parameter # domain name resolution custom_domains = immunity.byph-china.com # if you want to use domain name access, set this parameter
Save frpc.ini and execute the following command:
. / frpc-c. / frpc.ini the above content is how to use Frp to achieve intranet penetration. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to 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.