当前位置:网站首页>利用内网穿透,实现公网访问内网
利用内网穿透,实现公网访问内网
2022-07-24 05:22:00 【CpolarLisa】
由于IPV4地址资源的稀缺性,运营商分配给到用户的,基本都是内网IP。因此,公网电脑想要访问内网电脑时,常常会遇到没有公网IP,无法直接与内网电脑进行通信。
而在没有公网IP的情况下,想要访问内网,经常会用到内网穿透技术,流量通过内网穿透平台,即第三方公网IP服务器进行转发。
内网穿透有一个特点,就是公网用户使用原有不变的习惯访问站点,而你只需要对内网站点这一侧配置好即可。
做内网穿透,普遍是通过第三方平台去实现,不需要申请公网IP,比如cpolar内网穿透,只需要在内网设备上安装配置客户端,就可以创建隧道将本地端口映射到公网上,生成公网地址,实现公网访问内网。
- 支持http/https/tcp协议
- 不限制流量
- 支持永久免费使用(4条隧道、1M带宽、24小时随机公网地址)
- 付费套餐支持21天退款保证
cpolar的使用也很简单,只需要注册并安装客户端:
1. 注册并安装cpolar客户端
cpolar官网地址:https://www.cpolar.com/
- Windows系统直接下载安装即可
- linux系统可参考该教程进行安装配置—— linux系统安装cpolar内网穿透

2. 创建隧道将内网端口映射到公网
浏览器访问http://localhost:9200/,使用免费注册的cpolar账号登录,并点击左侧仪表盘——隧道管理——创建隧道
- 隧道名称:可自定义
- 协议:支持http/https/tcp协议
- 本地地址:填写你想要映射的本地端口号
- 域名类型:免费选择“随机域名”,付费用户可选择配置“固定二级子域名”或“自定义域名”
- 地区:可选择United States、China、Europe、Hong Kong…

3. 获取公网地址
隧道创建成功后,可以在状态——在线隧道列表,查看到刚刚创建的隧道,其有生成相应的公网地址,使用并实现公网访问内网服务。

边栏推荐
- 论文阅读-Endmember-Guided Unmixing Network (EGU-Net) 端元指导型高光谱解混网络
- JUC并发编程基础(9)--线程池
- Accessing a two-dimensional array with a pointer
- Traditional K-means implementation
- day5-jvm
- day1-jvm+leetcode
- [FatFs] migrate FatFs manually and transfer SRAM virtual USB flash disk
- Jupyter notebook select CONDA environment
- 使用Keras实现CNN+BiLSTM+Attention的多维(多变量)时间序列预测
- Lunix命令入门 - 用户及文件权限(chmod 详解)
猜你喜欢
随机推荐
[deep learning] handwritten neural network model preservation
Dameng database_ Logical architecture foundation
QT char to qstring hexadecimal and char to hexadecimal integer
Deepsort summary
Unity2d game let characters move - next
JDBC初级学习 ------(师承尚硅谷)
ue4 瞄准偏移
[USB host] stm32h7 cubemx porting USB host with FreeRTOS to read USB disk, usbh_ Process_ The OS is stuck. There is a value of 0xa5a5a5
Dameng database_ Trigger, view, materialized view, sequence, synonym, auto increment, external link and other basic operations
Unity Shader :实现漫反射与高光反射
Jestson installs IBus input method
不租服务器,自建个人商业网站(如何购买域名)
ue4 换装系统3.最终成果
Installation of tensorflow and pytorch frames and CUDA pit records
Accessing a one-dimensional array with a pointer
Hololens 2 development: use MRTK and simulate gesture input in unity
Find the number with the most occurrences in the array
快速简单搭建FTP服务器,并内网穿透实现公网访问【无需公网IP】
Calculation steps of principal component analysis
Sequential stack C language stack entry and exit traversal









