网络太慢了,尝试只开放下列端口

主要是想只开启上网 几个股票端口 ftp端口sys
acl num 3000
rule 0 deny ip
rule 1 permit udp destination-port eq dns
rule 2 permit tcp destination-port eq www
rule 3 permit tcp destination-port eq 8080
rule 4 permit tcp destination-port eq pop3
rule 5 permit tcp destination-port eq ftp
rule 6 permit tcp destination-port eq telnet
rule 7 permit tcp destination-port eq 8000
rule 8 permit tcp destination-port eq 7709
rule 9 permit tcp destination-port eq 7711
int gig 1/1/4
pack in ip 3000

pack outbound  ip 3000

网络太慢了,尝试只开放下列端口,不知道是否可行,实验中

 

rule 0 permit tcp source-port eq ftp destination-port eq ftp (0 times matched) 

rule 1 permit tcp source-port eq 22 destination-port eq 22 (0 times matched) 

rule 2 permit tcp source-port eq telnet destination-port eq telnet (0 times matched) 

 rule 3 permit tcp source-port eq smtp destination-port eq smtp (0 times matched) 

 rule 4 permit tcp source-port eq 38 destination-port eq 38 (0 times matched) 

 rule 5 permit tcp source-port eq 42 destination-port eq 42 (0 times matched) 

 rule 6 permit tcp source-port eq domain destination-port eq domain (0 times matched) 

 rule 7 permit tcp source-port eq 69 destination-port eq 69 (0 times matched) 

 rule 8 permit tcp source-port eq 99 destination-port eq 99 (0 times matched) 

 rule 9 permit tcp source-port eq pop3 destination-port eq pop3 (0 times matched) 

rule 10 permit tcp source-port eq 135 destination-port eq 135 (0 times matched) 

 rule 11 permit tcp source-port eq 161 destination-port eq 161 (0 times matched) 

 rule 12 permit tcp source-port eq 443 destination-port eq 443 (0 times matched) 

 rule 13 permit tcp source-port eq www destination-port eq www (0 times matched) 

 rule 14 permit tcp source-port eq 4899 destination-port eq 4899 (0 times matched) 
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值