RE: ACL router problem



HOW did you "add the first line"? If all you did was type in that line
as an addition to the config, you added a new LAST line, after the explicit
deny of all, where it can't make any difference.
To insert a new line at the top as you want, you need to:

1. remove the ACL from the interface
2. delete the ACL
3. Paste the new ACL -- the whole thing, in order
4. apply the ACL to the interface

(I use a home-grown tool that scripts this process...)

David Gillett, CISSP CCNP


-----Original Message-----
From: Juan B [mailto:juanbabi@xxxxxxxxx]
Sent: Thursday, October 07, 2010 14:40
To: security basics
Subject: ACL router problem

Hi ALL !!

I need to connect from a host (192.168.8.139)in the lan to host 192.168.1.15
so I put acl like this: ( I added the first line )

access-list 111 permit tcp host 192.168.8.139 any
access-list 111 permit tcp 192.168.0.0 0.0.255.255 host 192.168.8.2 eq
telnet
access-list 111 permit tcp host 192.168.8.7 any
access-list 111 permit tcp 192.168.0.0 0.0.255.255 any eq www
access-list 111 permit udp 192.168.0.0 0.0.255.255 any eq domain
access-list 111 permit tcp 192.168.0.0 0.0.255.255 any eq 443
access-list 111 permit tcp 192.168.0.0 0.0.255.255 any eq 5900
access-list 111 permit ip host 192.168.8.198 any
access-list 111 permit ip host 192.168.8.199 any
access-list 111 permit icmp any any echo-reply
access-list 111 permit icmp any any echo
access-list 111 permit icmp any any source-quench
access-list 111 permit icmp any any time-exceeded
access-list 111 deny icmp any any
access-list 111 permit tcp any any established
access-list 111 deny ip any any log

take a look also at line 3 of the acl this host is the internal mail server,
from that mail server when I try to connect to host
192.168.1.15 there is no problem !!! so I made a similar entry to enable
connection from my host (192.168.8.139) but It doesnt work !! I know its a
problem of the ACL beacuse when I remove this ACL (which is applied to vlan
1 BTW) the connection works!!

please help !
marco





------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate In this guide we
examine the importance of Apache-SSL and who needs an SSL certificate. We
look at how SSL works, how it benefits your company and how your customers
can tell if a site is secure. You will find out how to test, purchase,
install and use a thawte Digital Certificate on your Apache web server.
Throughout, best practices for set-up are highlighted to help you ensure
efficient ongoing management of your encryption keys and digital
certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727
d1
------------------------------------------------------------------------


------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------



Relevant Pages

  • Re: ACL router problem
    ... I will explain the logic of the ACL instead of giving you just the answer;). ... if you put a permit tcp you are actually telling the acl to work on tcp level. ... Also notice the host argument and no wildcard mask is given. ... Securing Apache Web Server with thawte Digital Certificate ...
    (Security-Basics)
  • Re: BGP redistribute route-map question.
    ... I would never write it like this, and use a standard ACL or distribute ... I would think that "permit ip host 0.0.0.0 host 0.0.0.0" would get no ... redistribute static route-map redist-stat ...
    (comp.dcom.sys.cisco)
  • RE: ACL router problem
    ... now I need to enable all the lan to connect tho this host 192.168.1.15 so I ... access-list 111 permit ip host 192.168.8.139 192.168.1.15 ... access-list 111 permit tcp host 192.168.8.139 any access-list 111 ... Securing Apache Web Server with thawte Digital Certificate In this guide we ...
    (Security-Basics)
  • RE: ACL router problem
    ... Subject: ACL router problem ... access-list 111 permit ip 1.2.3.4 host 5.6.7.8 ... now I need to enable all the lan to connect tho this host 192.168.1.15 so I ... Securing Apache Web Server with thawte Digital Certificate In this guide we ...
    (Security-Basics)
  • Re: ACL problem - allow subnet - block all else
    ... my acl should be as simple as: ... >:I need to block all traffic to a certain host inside my network (ex: ... > access-list 102 deny ip any host 5.6.7.254 ... >:access-list 102 permit udp any any ...
    (comp.dcom.sys.cisco)