|
Posted by AM on March 15, 2005, 8:15 am
If you were Registered and logged in, you could reply and use other advanced thread options Walter Roberson wrote:
> :What does it mean that access list for policy NAT can note have DENY
statements?
>
> Just that -- they don't allow deny statements in those ACLs.
>
>
> :I thought to create two complementary ACL for a pool of addresses and ports
and for the rest of the world using DENY
> :statements but the specifications don't allow me to do that.
>
> :Perhaps do the nat ids become important, I mean, they represent the order
which ACL are processed with?
>
> No, the nat id's have *no* significance other than the special value 0 and the
fact that they act as groupings.
> No prioritization of any sort is implied.
>
> Policy nat is matched "in order, until the first match". That means literally
in the order that the
> nat statements occur in your configuration.
>
>
> :Following the article suggestions I wish create
>
> :and applying them in the following order
>
> :nat (inside) 1 access-list 2VPN-Endpoints
> :nat (inside) 2 access-list 2WEB
>
> :The question is:
>
> :as told above, is it correct or have nat Ids numbers priority meaning so
putting the 2VPNendpoint at the top of the
> :translation process let the IPsec packets to be translated by the 1st IP and
all of the rest of the packets by the 2nd
> :IP? I needn't a deny statement at the bottom of the 1st access list, do I?
>
> No prioritization by nat id (but nat 0 access-list is always first):
2VPN-Endpoints will be used first
> because that's the first one in your configuration. If you had
>
> nat (inside) 2 access-list 2WEB
> nat (inside) 1 access-list 2VPN-Endpoints
>
> then 2WEB would be evaluated first because that would be the first one in the
configuration.
Thanks Walter, but how to invert, or better, how to specify order for nat. I
haven't tried still now but can I specify
the line as in commands for access-lists? I will try, but if you know please let
me know. Thanks,
Alex.
|