由于IPV4公网IP的枯竭,运营商现在基本不会分配公网固定IP,被分配到的普遍是内网IP。而没有公网IP,可以做内网穿透来实现外网访问内网,通过第三方公网IP服务来进行数据转发。
cpolar,支持http/https/tcp协议,使用不限制流量,无需公网IP,无需进入路由器,也不需要运维人员搭建vpn,只需要在本地安装客户端就可以
#linux系统支持一键自动安装脚本。
#安装(国内使用)
curl -L https://www.cpolar.com/static/downloads/install-release-cpolar.sh | sudo bash
#安装(国外使用)
curl -sL https://git.io/cpolar | sudo bash
#向系统添加开机自启服务
systemctl enable cpolar
#启动服务
systemctl start cpolar
#查看服务状态
systemctl status cpolar
token认证
登录cpolar官网后台———验证,查看自己的认证token,之后将token贴在命令行里
官网:https://dashboard.cpolar.