Solved

Where to put access list

Posted on 2009-07-01
6
470 Views
Last Modified: 2012-05-07
I am having trouble putting a set of accesslist on my ASA5520. We are replaceing an  aventail box with a asa for clientless ssl vpn connection. In the current set up users pass an asa to gett to the aventail box and once they authenticat the go back threw the asa to get to network resources. We only permit a few rules to get to our asa. The new set up only uses the asa, which authenticates the ssl users. Now I need to put these rules to only permit to these resources.
access-list inside_authentication extended permit udp any host xxx.xxx.231.62 eq ntp
access-list inside_authentication extended permit tcp any host xxx.xxx58.140 eq https
access-list inside_authentication extended permit udp any host xxx.xxx96.1 eq domain
access-list inside_authentication extended permit udp any host xxx.xxx96.15 eq domain
access-list inside_authentication extended permit tcp any host xxx.xxx4.37 eq https
access-list inside_authentication extended permit tcp any xxx.xxx4.64 255.255.255.192 eq lotusnotes
access-list inside_authentication extended permit tcp any xxx.xxx4.64 255.255.255.192 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx68.59 eq www
access-list inside_authentication extended permit udp any host xxx.xxx4.7 eq radius
access-list inside_authentication extended permit tcp any host xxx.xxx4.2 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx.31.50 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx.31.51 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx6.2 eq https
access-list inside_authentication extended permit udp any host xxx.xxx.84 eq radius
access-list inside_authentication extended permit tcp any host xxx.xxx.0.44 eq https
access-list inside_authentication extended permit tcp any xxx.xxx.112 255.255.255.240 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx6.4 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx4.10 eq www
access-list inside_authentication extended permit tcp any host 192.135.176.8 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx.107 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx.107 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx.107 range 7008 7009
access-list inside_authentication extended permit tcp any host xxx.xxx4.2 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx4.45 eq https
access-list inside_authentication extended permit udp any host xxx.xxx.231.8 eq syslog
access-list inside_authentication extended permit tcp any host xxx.xxx4.121 eq 4001
access-list inside_authentication extended permit tcp any host xxx.xxx4.142 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx4.142 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx4.142 range 7008 7009
access-list inside_authentication extended permit tcp any host xxx.xxx.17 eq www
access-list inside_authentication extended permit tcp any host xxx.xxx.17 eq https
access-list inside_authentication extended permit tcp any host xxx.xxx.17 range 7008 7009
access-list inside_authentication extended permit tcp any host xxx.xxx4.22 eq 9090
access-list inside_authentication extended permit tcp any host xxx.xxx4.24 eq 9090

Open in new window

0
Comment
Question by:axl13
  • 3
  • 3
6 Comments
 
LVL 33

Expert Comment

by:MikeKane
ID: 24754217
I would setup 2 ACLS.  One as a no nat acl from the inside range to the IP local pool range.    2nd ACL would be an allow from an internal host to the IP local pool range.   This would restrict the iplocal pool to only those hosts specified.    This works if the access-group  uses 'in interface inside' as the direction.    You could also build the same ACL using ip local pool as source and inside host as destination and use an access-group with 'out interface inside'.  


0
 

Author Comment

by:axl13
ID: 24754372
We are not using any ip local pool range and I do not believe we are nating. I tried the second, but I was still ablt to get to our NAS, which we should not be able to... I have attacted the running config
webvpn.TXT
0
 
LVL 33

Accepted Solution

by:
MikeKane earned 500 total points
ID: 24763961
Ah - I'm sorry - it didn't click you were using clientless SSL ...   my bad.  

What you want then is a Web Access Control List  applied to the sessions.  

Start with the ACL - something like:
access-list TEST-WEBVPN-ACL webtype permit url any log default

That will allow anything, but you would add in the permitted URL's to the inside and then finish with a blanket Deny all at the bottom.  
Here's the doc on how to build the list: http://www.cisco.com/en/US/docs/security/security_management/cisco_security_manager/security_manager/3.1/user/guide/obman.html

Next you apply the ACL to the SSL VPN using group policy, something like:
group-policy TEST-WEBVPN-Policy internal
group-policy TEST-WEBVPN-Policy attributes
 webvpn
  filter value TEST-WEBVPN-ACL


That's pretty much it.    You just need to build your ACL with permits and denys then apply it to your code here:
group-policy SSLWEBVPN attributes
 vpn-tunnel-protocol l2tp-ipsec webvpn
 webvpn
  url-list value Shortcuts
  customization value SSLWebLogin
  FILTER VALULE <name of web ACL>  


Here's another reference just in case:
http://www.cisco.com/en/US/docs/security/security_management/cisco_security_manager/security_manager/3.1/user/guide/pobjpage.html#wp1195946



Hope that helps.



0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:axl13
ID: 24764527
looks like we cannot use udp for the filter??? Is there a work around since I permit a few udp, ntp radius, syslog, and domain???
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 24764562
I think that goes beyond what the clientless webvpn portal can do....     Have you considered using the anyconnect client instead?   It can be set to auto load from the web site and you get a full visibility into the network with an ip pool that can be controlled with ACLs....  
0
 

Author Closing Comment

by:axl13
ID: 31598752
It work, thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question