路由宝开通SSH后,不能远程Telnet和SSH,要哪里设置吗

如题所述

config rule
option name 'Allow-wan-ssh'
option src 'wan'
option proto 'tcp'
option dest_port '22'
option target 'ACCEPT'

首先编辑防火墙配置
vi /etc/firewall.user
输入如下内容:
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
保存退出,重启防火墙,输入如下命令:
/etc/init.d/firewall restart
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答