赞
踩
1、查看能否ping通网络;
2、wget
yum install -y wget
3、ifconfig
yum install -y net-tools
4、vim工具
yum install -y vim-enhanced
5、关闭和禁用防火墙
(1)直接关闭防火墙
# systemctl stop firewalld
(2)禁止firewall开机启动
# systemctl disable firewalld
(3)查看状态:
# systemctl status firewalld
apt-get install curl
curl -s https://install.zerotier.com/ | bash
安装成功后提示如下:
*** Success! You are ZeroTier address [12312sfc ].
zerotier-cli join 93afXXXXX
systemctl start zerotier-one.service
systemctl enable zerotier-one.service
如果失败,再执行一次命令。
systemctl restart zerotier-one.service
需要访问虚拟机的主机或服务器,必须下载或部署ZeroTier,使其拥有私有网络访问的ip
xshell使用私有网的IP远程访问
查看ip
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。