cpolar内网穿透工具的使用
-
下载
wget https://static.cpolar.com/downloads/releases/3.2.92/cpolar-stable-linux-amd64.zip
-
解压
unzip cpolar-stable-linux-amd64.zip
-
目录移动
sudo mv cpolar /usr/local/bin
-
登录到cpolar后台,获取到自己的token值并复制cpolar.yml文件中
./cpolar authtoken xxxxxxxxxxxxxxxxxxxxxxx
-
运行测试
cpolar http 8080
-
编辑cpolar的配置文件
#修改自己需要的端口 vim ~/.cpolar/cpolar.yml
-
运行测试
cpolar start-all
-
后台运行CPOLAR
nohup cpolar start-all -config=/home/w/.cpolar/cpolar.yml -log=stdout &
-
查看是否运行成功
ps -aux | grep cpolar
-
查看在线的隧道
访问cpolar后台的状态页面: https://dashboard.cpolar.com/status
参考地址1:https://dashboard.cpolar.com/
参考地址2:https://www.freesion.com/article/4581556039/
需要注册自己的账号