用CRT telnet一直显示connection closed by remote host!
下面是路由器配置命令
#
super password level 3 cipher J6P6QC4M9DaN#".;_P%&+A!!
#
undo cryptoengine enable
#
domain default enable system
#
telnet server enable
#
dar p2p signature-file cfa0:/p2p_default.mtd
#
acl number 2001
rule 0 permit source 192.168.6.0 0.0.0.255
rule 1 permit source 192.168.0.0 0.0.0.255
rule 2 permit source 192.168.1.0 0.0.0.255
#
acl number 3000
rule 1 permit tcp destination-port eq 135
rule 2 permit tcp destination-port eq 136
rule 3 permit tcp destination-port eq 137
rule 4 permit tcp destination-port eq 138
rule 5 permit tcp destination-port eq 143
rule 6 permit tcp destination-port eq 445
rule 7 permit tcp destination-port eq 1434
rule 8 permit tcp destination-port eq 1243
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier shutport operator or
if-match acl 3000
#
traffic behavior shutport1
filter deny
#
qos policy shutport2
classifier shutport behavior shutport1
#
user-group system
group-attribute allow-guest
#
service-type ssh
local-user cjadmin
password cipher -S]1D`POO(SN#".;_P%&+A!!
service-type telnet
service-type web
local-user tianjin
password cipher "8`9M7\L.a'O87]#@VAa>1!!
service-type ssh
local-user user
password cipher 4-<aM^'3=JQ&C&C[0Q*2AA!!
authorization-attribute level 1
service-type ssh
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface Serial7/0
description Connect_To_ZONGBU
fe1 unframed
link-protocol ppp
ppp mp Mp-group 1
#
interface Serial7/1
description To Zongbu
fe1 unframed
link-protocol ppp
ppp mp Mp-group 1
#
interface Mp-group1
description To Zongbu
ip address 192.168.100.11 255.255.255.248
#
interface NULL0
#
interface LoopBack0
ip address 192.168.101.49 255.255.255.255
#
interface GigabitEthernet0/0
port link-mode route
description Connect_To_CA-TJFGS-F100-A-E1/0
ip address 192.168.33.254 255.255.255.0
qos apply policy shutport2 inbound
#
interface GigabitEthernet0/1
port link-mode route
ip address 192.168.102.6 255.255.255.252
#
interface Encrypt11/0
#
ospf 1
import-route direct
import-route static
area 0.0.0.0
network 192.168.100.8 0.0.0.7
network 192.168.102.4 0.0.0.3
#
ip route-static 192.168.33.0 255.255.255.0 192.168.33.252
#
ntp-service unicast-server 192.168.1.21
ntp-service unicast-server 10.100.48.14
ntp-service unicast-server 10.100.48.40
#
ssh server enable
ssh user user service-type stelnet authentication-type password
#
load xml-configuration
#
user-interface con 0
user-interface tty 13
user-interface aux 0
user-interface vty 0 4
acl 2001 inbound
authentication-mode scheme
user privilege level 3
idle-timeout 5 0
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
那个acl已经覆盖了192.168.的所有网段,我的地址是192.168.33.30,应该没问题啊?
没有啊,你的2001没放通192.168.33.0网段啊。。。
额,明白了,刚把acl在虚拟接口去掉可以连接了。请教这条 rule 0 permit source 192.168.6.0 0.0.0.255 是什么意思呢?
这个是匹配192.168.0.1--192.168.0.255这个范围的地址的