02-05-2017 08:52 AM - edited 03-12-2019 01:53 AM
Solved! Go to Solution.
02-05-2017 11:47 PM
this one is wrong:
nat (any,outside) source dynamic NETWORK_OBJ_10.20.0.0_16 interface
replace it with the following to bring the rule to section 3:
nat (any,outside) after-auto source dynamic NETWORK_OBJ_10.20.0.0_16 interface
02-05-2017 10:18 AM
Your config looks good. But the packet-tracer-simutlation is wrong. You have to use:
packet-tracer input outside tcp 2.2.2.2 1234 3.3.3.3 2121
packet-tracer input outside tcp 2.2.2.2 1234 3.3.3.3 2122
02-05-2017 10:25 AM
Yes, you are right. I copied a wrong row. I used as you wrote.
So the config looks good. It is good, but i can not reach the server. Hmmm...
Thank you
02-05-2017 11:52 AM
And what is the (complete) result of the packet-tracer?
02-05-2017 12:20 PM
Phase: 1
Type: ROUTE-LOOKUP
Subtype: Resolve Egress Interface
Result: ALLOW
Config:
Additional Information:
found next-hop 3.3.3.3 using egress ifc identity
Phase: 2
Type: NAT
Subtype: per-session
Result: ALLOW
Config:
Additional Information:
Forward Flow based lookup yields rule:
in id=0x7fffe138ef20, priority=0, domain=nat-per-session, deny=false
hits=101921769, user_data=0x0, cs_id=0x0, reverse, use_real_addr, flags=0x0, protocol=6
src ip/id=0.0.0.0, mask=0.0.0.0, port=0, tag=any
dst ip/id=0.0.0.0, mask=0.0.0.0, port=0, tag=any, dscp=0x0
input_ifc=any, output_ifc=any
Phase: 3
Type: ACCESS-LIST
Subtype:
Result: DROP
Config:
Implicit Rule
Additional Information:
Forward Flow based lookup yields rule:
in id=0x7fffe1ad0d40, priority=0, domain=permit, deny=true
hits=12461202, user_data=0xa, cs_id=0x0, use_real_addr, flags=0x1000, protocol=0
src ip/id=0.0.0.0, mask=0.0.0.0, port=0, tag=any
dst ip/id=0.0.0.0, mask=0.0.0.0, port=0, tag=any, dscp=0x0
input_ifc=outside, output_ifc=any
Result:
input-interface: outside
input-status: up
input-line-status: up
output-interface: NP Identity Ifc
output-status: up
output-line-status: up
Action: drop
Drop-reason: (acl-drop) Flow is denied by configured rule
02-05-2017 12:27 PM
Do you have a dynamic NAT statement in section 1? These statements should go to section 3. Can you share your complete NAT config?
02-05-2017 11:40 PM
nat (any,any) source static All-inside All-inside destination static All-inside All-inside no-proxy-arp
nat (inside,outside) source static NETWORK_OBJ_10.20.0.0_19 NETWORK_OBJ_10.20.0.0_19 destination static NETWORK_OBJ_172.16.0.0_22 NETWORK_OBJ_172.16.0.0_22 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.0.0_16 NETWORK_OBJ_10.20.0.0_16 destination static NETWORK_OBJ_10.20.253.0_24 NETWORK_OBJ_10.20.253.0_24 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.0.0_16 NETWORK_OBJ_10.20.0.0_16 destination static NETWORK_OBJ_10.20.252.0_24 NETWORK_OBJ_10.20.252.0_24 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.0.0_16 NETWORK_OBJ_10.20.0.0_16 destination static NETWORK_OBJ_10.20.251.0_24 NETWORK_OBJ_10.20.251.0_24 no-proxy-arp route-lookup
nat (inside,outside) source static any any destination static NETWORK_OBJ_10.20.252.0_24 NETWORK_OBJ_10.20.252.0_24 no-proxy-arp route-lookup
nat (inside,outside) source static any any destination static NETWORK_OBJ_10.20.253.0_24 NETWORK_OBJ_10.20.253.0_24 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.2.0_24 NETWORK_OBJ_10.20.2.0_24 destination static DM_INLINE_NETWORK_2 DM_INLINE_NETWORK_2 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.2.0_24 NETWORK_OBJ_10.20.2.0_24 destination static r1_subnet1 r1_subnet1 no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.2.0_24 NETWORK_OBJ_10.20.2.0_24 destination static r1_subnets r1_subnets no-proxy-arp route-lookup
nat (inside,outside) source static NETWORK_OBJ_10.20.2.31 NETWORK_OBJ_10.20.2.31 destination static r1_subnets r1_subnets no-proxy-arp
nat (any,outside) source dynamic NETWORK_OBJ_10.20.0.0_16 interface
nat (inside,outside) source static any any destination static NETWORK_OBJ_10.20.250.0_24 NETWORK_OBJ_10.20.250.0_24 no-proxy-arp route-lookup
02-05-2017 11:47 PM
this one is wrong:
nat (any,outside) source dynamic NETWORK_OBJ_10.20.0.0_16 interface
replace it with the following to bring the rule to section 3:
nat (any,outside) after-auto source dynamic NETWORK_OBJ_10.20.0.0_16 interface
02-06-2017 12:14 AM
I think you are right.
Can i replace it without anybody notice it in the network?
Thank you
02-06-2017 12:20 AM
If you first add the new line and then remove the old one, no user should notice it. But configurations like these should always be done at times of low network activity.
02-06-2017 10:35 AM
Dear Karsten,
The after-auto solved the problem. Thank you very very much!!!
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