User's Manual Part 2

44JadeOSUserManual
Chapter7 Network Security
JadeOSisalwaysdeployedingateway,whichmuchdatagoesthroughit.Thenetwork
environmentofequipmentisverycomplexandfacesnetworksecuritythreat.This
chapterwilldescribeJadeOSnetworksecurityandhowtoconfigureit.
7.1AccessControlList(ACL)
AccessControlList(ACL)definesthenetworkaccess.ACListhecombinationofrules;
eachrulecanspecifyonematc hedruleandoneoperation.Matchedruleisbasedon
IPaddressorportnumber;operationis‘permitor‘deny .TheACListomatchrules
insequence.
JadeOShaveanimplicitruleof‘denyforeachACL,soyoushouldaddthecorre
spondingruleandspecifytheoperationis‘permitifyouwanttoallowonetypeof
trafficgothroughit.ThroughACL,wecancontrolusers’trafficexactlysothattoen
surenetworksecurity.
7.1.1StandardACL
StandardACLrulecanspecifytheoperationis‘denyor‘permit’;thematchedruleis
any,ipaddressandnetworksegment.
Step1CreateastandardACLnamedteststandard
(JadeOS) (config)#ip access-list standard test-standard
Step2Denyallthetrafficinnetworksegment192.168.1.0/255.255.255.0
(JadeOS) (config-std-test-standard)#deny 192.168.1.0 255.255.255.0
Step3Allowallthetrafficinnetworksegment192.168.0.0/255.255.0.0
(JadeOS) (config-std-test-standard)#permit 192.168.0.0 255.255.0.0
Step4Denyalltheothertraffic.
(JadeOS) (config-std-test-standard)#deny any
7.1.2ExtendedACL
ExtendedACLcanspecifytheoperationis‘denyor‘permit’;thematchedrulecan
specifytheprotocolnumber(any,tcp,udp,icmp,igmp),sourceIPaddressornetwork
segment,destinationIPaddressornetworksegment,rangeofportnumber.
Step1CreateextendedACLnamedtestextended
(JadeOS) (config)#ip access-list standard test-extended