User's Manual Part 2
44JadeOSUserManual
Chapter7 Network Security
JadeOSisalwaysdeployedingateway,whichmuchdatagoesthroughit.Thenetwork
environmentofequipmentisverycomplexandfacesnetworksecuritythreat.This
chapterwilldescribeJadeOSnetworksecurityandhowtoconfigureit.
7.1AccessControlList(ACL)
AccessControlList(ACL)definesthenetworkaccess.ACListhecombinationofrules;
eachrulecanspecifyonematc hedruleandoneoperation.Matchedruleisbasedon
IPaddressorportnumber;operationis‘permit’or‘deny’ .TheACListomatchrules
insequence.
JadeOShaveanimplicitruleof‘deny’foreachACL,soyoushouldaddthecorre‐
spondingruleandspecifytheoperationis‘permit’ifyouwanttoallowonetypeof
trafficgothroughit.ThroughACL,wecancontrolusers’trafficexactlysothattoen‐
surenetworksecurity.
7.1.1StandardACL
StandardACLrulecanspecifytheoperationis‘deny’or‘permit’;thematchedruleis
any,ipaddressandnetworksegment.
Step1CreateastandardACLnamedtest‐standard
(JadeOS) (config)#ip access-list standard test-standard
Step2Denyallthetrafficinnetworksegment192.168.1.0/255.255.255.0
(JadeOS) (config-std-test-standard)#deny 192.168.1.0 255.255.255.0
Step3Allowallthetrafficinnetworksegment192.168.0.0/255.255.0.0
(JadeOS) (config-std-test-standard)#permit 192.168.0.0 255.255.0.0
Step4Denyalltheothertraffic.
(JadeOS) (config-std-test-standard)#deny any
7.1.2ExtendedACL
ExtendedACLcanspecifytheoperationis‘deny’or‘permit’;thematchedrulecan
specifytheprotocolnumber(any,tcp,udp,icmp,igmp),sourceIPaddressornetwork
segment,destinationIPaddressornetworksegment,rangeofportnumber.
Step1CreateextendedACLnamedtest‐extended
(JadeOS) (config)#ip access-list standard test-extended