最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

AR系列路由器包過濾控制訪問列表的配置方法

 更新時(shí)間:2007年04月10日 00:00:00   作者:  
對(duì)內(nèi)網(wǎng)地址192.168.1.0/25訪問外網(wǎng)不作限制
對(duì)于內(nèi)網(wǎng)地址192.168.1.128/25只允許收發(fā)郵件,不允許訪問外網(wǎng)
#
sysname RouterA
#
firewall enable                               /使能防火墻功能/
firewall default deny                         /配置防火墻缺省操作為deny/

#

radius scheme system

#

domain system

#

acl number 2000                               /定義用于NAT轉(zhuǎn)換的ACL/

rule 0 permit source 192.168.1.0 0.0.0.255

rule 1 deny

#

acl number 3001                               /定義用于包過濾的ACL/

rule 0 permit ip source 192.168.1.0 0.0.0.127

                                         /內(nèi)網(wǎng)地址192.168.1.0/25訪問外網(wǎng)不作限制/

rule 1 permit tcp source 192.168.1.128 0.0.0.127 destination-port eq pop3

rule 2 permit tcp source 192.168.1.128 0.0.0.127 destination-port eq smtp

                                         /內(nèi)網(wǎng)地址192.168.1.128/25只能收發(fā)郵件/

#

interface Ethernet1/0/0

ip address 192.168.1.1 255.255.255.0

firewall packet-filter 3001 inbound       /對(duì)inbound流量使用包過濾/

#

interface Serial2/0/0

link-protocol ppp

ip address 202.101.1.2 255.255.255.252

nat outbound 2000

#

interface NULL0

#

ip route-static 0.0.0.0 0.0.0.0 202.101.1.1 preference 60

#

user-interface con 0

user-interface vty 0 4

#

return
通過查看disp firewall-statistics all、disp acl 3001確認(rèn)防火墻確實(shí)生效

disp firewall-statistics all



Firewall is enable, default filtering method is 'deny'. 

Interface: Ethernet1/0/0

In-bound Policy: acl 3001

Fragments matched normally

From 2006-05-31 5:05:50  to 2006-05-31 6:32:49

198 packets, 24129 bytes, 4% permitted,

0 packets, 0 bytes, 0% denied,

0 packets, 0 bytes, 0% permitted default,

5919 packets, 1021492 bytes, 96% denied default,

Totally 198 packets, 24129 bytes, 4% permitted,

Totally 5919 packets, 1021492 bytes, 96% denied.




disp acl 3001                                                          

Advanced ACL  3001, 3 rules                                                  

Acl's step is 1                                                               

rule 0 permit ip source 192.168.1.0 0.0.0.127 (194 times matched)            

rule 1 permit tcp source 192.168.1.128 0.0.0.127 destination-port eq pop3 (9 times matched)                                                                    

rule 2 permit tcp source 192.168.1.128 0.0.0.127 destination-port eq smtp (0 times matched)



【提示】

1、 系統(tǒng)缺省情況下為禁止防火墻(firewall disable),需要使用命令“firewall enable”來使能防火墻功能

2、 防火墻缺省過濾方式為允許通過(permit),可以通過“firewall default deny”修改為禁止通過

3、 在內(nèi)網(wǎng)使用包過濾,并同時(shí)使用DHCP server分配地址時(shí),需要在acl 3001中添加一條“rule 0 permit ip source 0.0.0.0 0”否則會(huì)出現(xiàn)DHCP Server無法分配地址的問題。

相關(guān)文章

最新評(píng)論

手机| 巩义市| 临武县| 玉田县| 林周县| 九龙坡区| 舒城县| 额尔古纳市| 聂拉木县| 都安| 洛扎县| 新乐市| 舒兰市| 合阳县| 扶绥县| 卓尼县| 阿图什市| 台东县| 内乡县| 河源市| 德钦县| 民丰县| 原阳县| 华容县| 理塘县| 天长市| 内丘县| 哈尔滨市| 通城县| 杨浦区| 五家渠市| 三亚市| 闻喜县| 墨玉县| 察雅县| 白玉县| 阿拉尔市| 盐亭县| 伊吾县| 周口市| 洛川县|