1、首先打开SSH软件,输入ip和用户名进行登录。2、输入并执行命令:/etc/init.d/iptables status,查看防火墙是否打开。3、输入命令:/etc/init.d/iptables stop,关闭防火墙。