Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Using Object-Groups in ACLs?

Reply
Thread Tools

Using Object-Groups in ACLs?

 
 
Scott Townsend
Guest
Posts: n/a
 
      03-07-2007
To Help Saving some typing, I was thinking of using Object-Groups for my
ACLs.

I have about 8 Subnets that some are on one side of a VPN and some are on
the other. In order to get the ACLs to allow traffic to pass from one
another I have to create a matrix of one subnet to all of the others, so my
ACLs get to be huge.

Can I do this?

object-group protocol VPN-PROTOCOLS
protocol-object ip
protocol-object tcp
protocol-object udp
protocol-object icmp
object-group network NETWORK-VPN-ALL
network-object 10.1.0.0 255.255.0.0
network-object 10.2.0.0 255.255.0.0
network-object 10.3.0.0 255.255.0.0
network-object 10.6.0.0 255.255.0.0
network-object 10.10.0.0 255.255.0.0
network-object 10.11.0.0 255.255.0.0
network-object 10.12.0.0 255.255.0.0
network-object 10.13.0.0 255.255.0.0

access-list outside_nat0_outbound extended permit object-group VPN-PROTOCOLS
object-group NETWORK-VPN-ALL object-group NETWORK-VPN-ALL

access-list outside_nat0_inbound extended permit object-group VPN-PROTOCOLS
object-group NETWORK-VPN-ALL object-group NETWORK-VPN-ALL

access-list outside_cryptomap_40 extended permit object-group VPN-PROTOCOLS
object-group NETWORK-VPN-ALL object-group NETWORK-VPN-ALL

So would that give me something like:

access-list <ACL-Name> extended permit ip 10.1.0.0 255.255.0.0 10.2.0.0
255.255.0.0
access-list <ACL-Name> extended permit ip 10.1.0.0 255.255.0.0 10.3.0.0
255.255.0.0
....
access-list <ACL-Name> extended permit ip 10.13.0.0 255.255.0.0 10.11.0.0
255.255.0.0
access-list <ACL-Name> extended permit ip 10.13.0.0 255.255.0.0 10.12.0.0
255.255.0.0



Thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Link Button to redirect to another page by using data from =?Utf-8?B?R1REcml2ZXI=?= ASP .Net 1 02-16-2005 07:04 PM
Error page using the Application_Error void dosnt work when using DIV for a please wait message s_erez@hotmail.com ASP .Net 2 12-24-2004 12:11 PM
no code in webform using vs.net, but in webform using notepad timmso ASP .Net 1 12-12-2003 04:30 PM
Using GetOleDbSchemaTable to get SQL Server Field Description - using pete ASP .Net 1 08-29-2003 10:50 AM
Re: MVP? Index error on nested element using System.xml but NOT using msxml??? William F. Robertson, Jr. ASP .Net 1 06-25-2003 08:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57