10-18-2011 01:24 AM - edited 03-11-2019 02:39 PM
Hello,
Since the 8.3 release, addresses used in ACL have to be untranslated ones.
But it is not compatible with our configuration.
I explain :
We have 2 static NAT rules :
- (Static Policy) MyHost is converted to 2.2.2.2 when the destination is X
- (Static) MyHost is converted to 2.2.2.3 for all others destinations
In 8.2.2 we had an ACL which authorized ICMP from X to 2.2.2.2 (X for source and 2.2.2.2 for destination in Access Rule)
Now, in 8.4.2, we have to use MyHost instead of 2.2.2.2. (X for source and MyHost for destination in Access Rule)
The problem is that MyHost automatically corresponds to 2.2.2.3, not 2.2.2.2
So the ICMP is authorized from X to 2.2.2.3, not 2.2.2.2...
Is there any trick to bypass this ?
Thanks
10-18-2011 01:33 AM
Can you post the config, we can have a look at it and will suggest you the right configuration for it.
Just make sure that the nat rule for 2.2.2.2 is above the nat rule for 2.2.2.3 in the nat order.
Varun
10-18-2011 03:01 AM
Thanks for your answer,
Rule 2.2.2.2 is above 2.2.2.3 (2.2.2.2 is NAT Rule, 2.2.2.3 is Network Object NAT Rule)
For security reasons I can't post the entire conf..
Could we use translated address in ACL, like in pre-8.3 releases ?
Thanks
10-18-2011 03:13 AM
No in Post 8.3 configuration you only need to use real ip's rather than trranslated ip's. Could you just explauin me the complete traffic flow, like bnehind whihc interface is the soutrce from where you are pinging and behind whihc interface is the destination. If need be, I'll suggest you the natting for it.
Varun
10-19-2011 12:59 AM
There are two interfaces : Inside and outside
MyHost is a Network Object corresponding to 192.168.1.2.
We have two static NAT Rules :
- One which translates MyHost to 2.2.2.2 when the destination of the packet is X [ from inside to outside]
- One which translates MyHost to 2.2.2.3 no matter the destination [from inside to outside]
2.2.2.2 rule is above 2.2.2.3 one.
For the Access Rules :
On interface outside (inbounds connections) :
Permit ICMP from X to 2.2.2.2
Permit SSH from X to 2.2.2.2
Like I said in 8.4.2 we have to use MyHost instead of 2.2.2.2 in Access Rules, but MyHost automatically corresponds to 2.2.2.3 translated address.
10-19-2011 11:10 AM
Hi Armand,
Try this nat statement in teh same order:
nat (outside,inside) source static X X destination static obj-2.2.2.2 MyHost
nat (outside,inside) source static any any destination static obj-2.2.2.3 MyHost
After this do:
clear local-host 192.168.1.2
and then try again.
Thanks,
Varun
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide