Destination NAT ACE

Can someone provide some information on how you would setup 2 servers to proxy out as the VIP address?
On the CSS I know you can accomplish this though the use of a group rule
Ex:
group Outbound_Proxy
vip address 192.168.1.x
add service web1
add service web2
active
What would be the equivalent on the ACE? I am sure it would be a dynamic NAT configuration however, I am not to sure how to set that up.
Can someone please provide some advice?
Thank you in advance!

Thank you for your response Gilles! Glad to know that my configuration should work.
The reason I assume it does not work is due to the output given from a 'show service-policy NAT-POLICY detail'. There is no registered hit count on any of the counters when I would initiate a connection to the .163 VIP were it should balance to either the 192.168.100.158 or 192.168.100.157 IP addresses. I thought the outbound response would have incremented something within the service-policy output.
Status : ACTIVE
Description: -----------------------------------------
Interface: vlan 91
service-policy: NAT-POLICY
class: DNS-NAT-Servers
nat:
nat dynamic 2 vlan 695
curr conns : 0 , hit count : 0
dropped conns : 0
client pkt count : 0 , client byte count: 0
server pkt count : 0 , server byte count: 0
conn-rate-limit : 0 , drop-count : 0
bandwidth-rate-limit : 0 , drop-count : 0
This is the reason I have not yet performed a packet capture.
I notice the connection establish just fine and the ACE forward/balance my connection to the correct destination server. However, looking at the me-stats for the connection ID I noticed it is not dynamically NAT'ing the response out.
ACE-12539-187036/spam# sho conn | i 64.39.0.40
150536 1 in TCP 695 64.39.0.40:56412 192.168.100.163:53 ESTAB
34566 1 out TCP 91 192.168.100.157:53 64.39.0.40:56412 ESTAB
Connection ID:seq: 34566[0x8706].5
Other ConnID : 150536[0x24c08].10
Proxy ConnID : 0[0x0].0
Next Q : 0[0x0]
192.168.100.157:53 -> 64.39.0.40:56412 [RX-NextHop: TX] [TX-NextHop: TX]
Flags: PAT: No DynNAT: No Implicit PAT: No On_Reuse: No
L3 Protocol : IPv4 L4 Protocol : 6
Inbound Flag : 0
Interface Match : Yes
Interface MatchID: 13
EncapsID:ver : 234:0 TCP ACK delta : 0x5194237d
MSS : 1380 TOS Stamp : 0
Repeat mode : No ARP Lookup : No
TOS Stamp : No TCP Window Check: No
ACE ID : 12898 NAT Policy ID : 0
Post NAT hop : 0
Packet Count : 1 Byte Count : 44
TCP Information: (State = 3)
Window size : 16384 Window scale : 0
FIN seen : No FIN/ACK seen : No
FIN/ACK exp : No Close initiator : No
FIN/ACK expval: 5b40000 Last seq : 79e90c16
timestamp_delta: 0 Last ack : 1
No Trigger : 0 Trigger Status : 0
Timestamp : 6279495f
TCP options negotiated:
Sack:Clear TS:Clear Windowscale: Clear
Reserved: Allow Exceed MSS: Deny Window var: Allow
Is the above connection output in the me-stats expected with my DNAT configuration? Would this DNAT configuration apply to only outbound connections initiated from the .158 or .157 IP addresses? I would assume it would work with the response traffic as well. I know I can setup dynamic NAT for a specific serverfarm. Do you think I should try that instead?
Thank you in advance!
- Jason

Similar Messages

  • Source Nat and Destination Nat

    Is any of the above working in the ACE OR CSM module by default?
    What is an advantage of configuring destination NAT on the ACE Box?

    Hello,
    On both the CSM and ACE, destination NAT (a.k.a. server nat) is enabled by default in a serverfarm. Source NAT needs to be manually configured on both devices, as it is not a default configuration.
    In server load balancing, destination NAT is very common. When clients connect to a VIP on the load balancer, the load balancer will then choose a real server the send the connection to. The destination IP address of the client-to-server traffic will be NAT'd from the virtual IP address (VIP) to the real server's IP address. The server's reply will be sourced with the real server's IP address, initially. The load balancer will again perform NAT to change the source IP address from the real server's IP address back to the VIP address prior to forwarding the response back to the client. This way, the client only knows about the VIP address, and not the real server's IP address.
    Best regards,
    Sean

  • How to do destination NAT in a 2600 router with IOS 12.3?

    Hi All
    I have a 2600 router with two LAN interfaces which I am using for a PoC and has the following settings:
    FE 0/0 - 10.0.0.1/24 - client LAN - inside 
    FE 0/1 - 10.1.1.1/24 - server LAN - outside 
    The direction of the flows are from the clients to the servers. What I would like to achieve is when clients accessing the web server 10.1.1.10, this to be replaced by 10.1.1.100.
    I have tried the above a few times but doesn't work. Is the above possible? And If so please provide me with a sample config.
    Many Thanks
    [email protected]  

    Yes, you can do this.  You don't need destination NAT.  Source NAT translations work both ways.  This should work:
    ip nat inside source static tcp 10.1.1.100 80 10.1.1.10 80
    int fa 0/0
    ip nat inside
    int fa 0/1
    ip nat outside
    The bigger question is why you'd want to.  Just because you CAN do something doesn't mean you SHOULD.  Unless you have the 10.1.1.0 network subnetted or some sort of firewall/blocking in place, both IPs should be reachable by the hosts.  Why not just have them go directly to 10.1.1.100 instead of going to 10.1.1.10?  If there's a firewall or similar blocking 10.1.1.100, why not adjust your firewall settings instead?  You could have a valid reason for doing this but I can't think of very many scenarios off the top of my head where this would make sense.  If you can post more details on what you're trying to accomplish, you might get better advice on a better way to solve the problem.

  • CSS 11503 Destination NAT - can only enable one service

    I have three web servers configured as six services. Three are for MOSS (Microsoft Office Sharepoint Server) and three are for SSRS (SQL Server Reporting Services 2006 in integration mode).
    THE PROBLEM:
    When more than one MOSS service is active I can no longer connect to the SSRS services.
    This is a trunked Configuration:
    interface 1/1
    trunk
    redundancy-phy
    vlan 1
    default-vlan
    vlan 100
    vlan 101
    vlan 103
    interface 3/16
    bridge vlan 4000
    circuit VLAN100
    redundancy
    ip address 192.168.100.xx0 255.255.255.0
    circuit VLAN103
    redundancy
    ip address 192.168.103.xx0 255.255.255.0
    circuit VLAN4000
    ip address 1.x.x.2 255.255.255.252
    redundancy-protocol
    circuit VLAN101
    redundancy
    ip address 192.168.101.xx0 255.255.255.0
    service MOSSWeb01
    ip address 192.168.103.xx1
    keepalive port 80
    keepalive type tcp
    active
    service MOSSWeb02
    ip address 192.168.103.xx2
    keepalive port 80
    keepalive type tcp
    active
    service MOSSWeb03
    ip address 192.168.103.xx3
    keepalive port 80
    keepalive type tcp
    active
    service SSRSWeb01
    ip address 192.168.103.xx1
    active
    service SSRSWeb02
    ip address 192.168.103.xx2
    active
    service SSRSWeb03
    ip address 192.168.103.xx3
    active
    owner MOSS
    content MOSS
    vip address 192.168.100.xx1
    vip-ping-response local-remote
    add service MOSSWeb01
    add service MOSSWeb02
    add service MOSSWeb03
    active
    owner SSRS
    content REPORTSERVER
    vip address 192.168.100.xx2
    add service SSRSWeb01
    add service SSRSWeb02
    add service SSRSWeb03
    vip-ping-response local-remote
    active
    group MOSS2007-DSTNAT
    vip address 192.168.100.xx1
    add destination service MOSSWeb01
    add destination service MOSSWeb02
    add destination service MOSSWeb03
    active
    group SSRS2005-DSTNAT
    vip address 192.168.100.xx2
    add destination service SSRSWeb01
    add destination service SSRSWeb02
    add destination service SSRSWeb03
    active
    NOTES:
    All (3) real servers have a default route to 192.168.103.xx0 which insures traffic passing through the CSS (so I don't understand why I still need a destination service group).
    When MOSS accesses SSRS it does so via http://SSRS2005/reportserver. This is configured in DNS as 192.168.100.xx2. I would think that this would also insure traffic through the CSS but I still had to configure a destination service for these.
    All clients connect to the MOSS services via one VIP (192.168.100.xx1) and the MOSS services connect to the SSRS services via a 2nd VIP (192.168.100.xx2). MOSS also connects to itself for indexing content and a variety of other services (I had originally tried separating the MOSS content rules using layer 5 matching on Host Headers. This seemed to cause issues with access to ports 139 and 445 for UNC access to document libraries so I simplified the MOSS content rule back to layer 3).
    I have setup two distinct groups and have used destination NAT so that the servers can communicate to each other.
    When using Wireshark on the servers to run packet traces and all services are up I do not even see any packets destined for the SSRS services leading me to believe that they are dropped by the CSS (however, I don't see them using show flows on the CSS either).
    Can anyone here shed some light on the correct way to configure the CSS in such a scenario?
    Thanks in advance.

    I have two MOSS services down because MOSS can't get to SSRS if more than one MOSSservice is active. That's the crux of the biscuit.
    I had hoped to avoid the whole packet sniffing activity but it looks like I may need to capture more information. I don't really want to change the VLAN configuration since this CSS is managed by our network team and there are other services configured on the CSS that I have not indicated.
    I appreciate your advice, so far. I will actually have some downtime this coming weekend where I can try some additional configuration options after prime time from home.
    One thing that may not be apparent in this whole discussion is that all of the sites on both MOSS and SSRS use HOST Headers for HTTP. That's what keeps them separated. I had tried using layer 5 content rules but had the same issue plus other issues with non-HTTP traffic. I also did not care for the fact that the CSS actually spoofs the responses when using layer 5. There is a lot of NTLM Challenge/Response traffic for Windows Integrated Authentication and Negotiated Kerberos. The bottom line is that even without Layer 5 content rules the Host Headers do get passed to IIS and the sites are selected properly based on that header. The exception is that Host Headers are no longer required for SSRS since it is the default website on port 80 (besides - setting up host headers for SSRS in MOSS integration mode has it's own set of issues). Still, the host headers are sent to SSRS SOAP Endpoints and there are no issues connecting to any of the three SSRS services from any of the three MOSS servers interactively. The issue is when a client outside of these VLANs makes a request for a report.
    client->MOSS->SSRS->MOSS->client
    Be aware too that both MOSS and SSRS are making connections back through the CSS to their respective databases for each request.

  • Cisco ASA 8.2. Destination NAT (network - network)

    Hi Guys,
    Could you tell me if I can do destination NAT (class C network => class C network) on Cisco ASA running 8.2? (or another version).
    For example, will destination NAT like this work:
    static (inside,outside) 8.2.2.0 10.10.8.0 netmask 255.255.255.0
    I need that when a packet from Internet go to 8.2.2.X it's destination IP address will change to 10.10.8.X.
    So, if a packet goes to 8.2.2.145 , the dest IP field of the packet will be changed to 10.10.8.145.
    If a packet goes to 8.2.2.1, the dest IP field of the packet will be changed to 10.10.8.1.
    Etc.
    Thanks.

    Hello,
    Yes, that is possible.. In fact that is the way it works.
    Regards,
    Julio

  • Destination NAT with a specific origin ASA 8.2

    Hello Everyone,
    I need configure destination NAT in my ASA 8.2 version only for a specific origin.
    Today, the network 10.84.25.0/24 access the web server with IP 172.17.3.150, i need nat the IP 172.17.3.150 to 10.96.202.10 only for
    10.84.25.0/24 network.
    How i can configure this in  8.2 version?
    Tks!

    Hi,
    I am not quite sure how the setup is on your ASA currently but the following configuration option came to mind
    Interfaces "dmz" and "inside"
    10.84.25.0/24 = "inside" network
    172.17.3.150 = "dmz" server real IP
    10.96.202.10 = "dmz" server mapped IP
    access-list DMZ-SERVER-POLICYNAT remark Policy NAT for DMZ Server
    access-list DMZ-SERVER-POLICYNAT permit ip host 172.17.3.150 10.84.25.0 255.255.255.0
    static (dmz,inside) 10.96.202.10 access-list DMZ-SERVER-POLICYNAT
    Hope this helps
    - Jouni

  • Cisco 2921 destination NAT for transparent proxy

    Hi All,
    I can successfully destination-nat all outbound port 80 and 443 connections to a remote proxy server without issue, provided I use a PBR first to push any of these connections off to a Linux box.
    In iptables its easy:
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to <proxy ip>:80
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j DNAT --to <proxy ip>:443
    iptables -t nat -A POSTROUTING -o eth0 -d <proxy ip> -j SNAT --to <linux box IP>
    I am however, trying to work out a way to do this without the need of a Linux box, except it seems at this stage that the Cisco 2900 series (IOS 15.0(1r)M16) is incapable of doing this. I just wanted to confirm from some of the experts in here if this is actually the case.
    So to reiterate - I'm trying to intercept any outbound packets with destination port tcp 80 or 443 and change the destination IP to point to the remote proxy server.
    The source address also needs to be changed to that of the outside interface of the router it is exiting (obviously).
    Any ideas guys? I'm stuck.
    Cheers,
    Jordan.

    Sounds like you need a route-map to change the next IP hop?
    This would be the best way to do it which will also verify the remote proxy server is available as well.
    ip sla monitor 1
    type echo protocol ipIcmpEcho <ip address of your proxy server>
    timeout 3000
    frequency 3
    ip sla monitor schedule 1 life forever start-time now
    track 123 rtr 1 reachability
    interface FastEthernet0/1
    ip address <x.x.x.x x.x.x.x>
    ip policy route-map REDIRECT-TO-PROXY
    ip access-list extended webtraffic
    ! Deny traffic from your proxy server from redirecting
      deny tcp host <ip address of your proxy server> any eq www
      deny tcp host <ip address of your proxy server> any eq https
      permit tcp <your ip network> <subnet mask> any eq www
      permit tcp <your ip network> <subnet mask> any eq https
    route-map REDIRECT-TO-PROXY permit 10
    match ip address webtraffic
    set ip next-hop verify-availability <ip address of your proxy server> 1 track 123
    If you don't already have a NAT rule setup to translate this traffic to the outside here is an example of that:
    Here is how my router is configured.
    interface FastEthernet0/0
     ip address dhcp hostname home-rtr-1
     ip nat outside
    interface FastEthernet0/1
     ip address 10.235.x.x 255.255.255.252
     ip nat inside
    ip nat inside source list 10 interface FastEthernet0/0 overload
    access-list 10 permit <your ip network> <your ip subnet>
    HTH

  • Destination nat on switches

    we want destination nat to work. we have 6509 series swithces running HSRP. we have 2 locations. at these locations proxy servers do the the job of filtering and sending the web traffic. what we want is if the proxy server at location 1 goes down, we shd be able to nat the incoming traffic for proxy sever from user vlan to the proxy server of location b traffic. teh ios version is IOS (tm) MSFC2 Software (C6MSFC2-IS-M), Version 12.1(4)E3,what commands we need to run
    thanx

    Your problem is not going to be so much the nat as how you figure out when the proxy goes down.
    The only thing I have seen that can take action based on a external server is to use object tracking and policy routing. I don't think Nat has any ability to do this.
    Another solution that you may want to concider if your switches support it is to use server load balancing (SLB) to do this.
    There are a number of ways to configure this but it will depend on where your servers are located in relation to the switch. Since this is designed for load balancing first and redundacy second it may not end up being effectient.
    Now if you really want to use nat you could use the policy routing with the object track options and route the traffic to either another router or to loopback interfaces. This would be a variation of nat on a stick. In effect you would be rerouting your traffic though NAT interfaces based on availablilty. Both the policy routing track options and nat on a stick are not the most simple things to comfigure. The policy routing with track option is fairly new and I don't know if they have put it in the switch versions of the IOS yet.

  • Cisco asa traffic flow with destination nat

    Hi Folks,
                       Can anybody comment on the below.
    1.  in source natting (inside users accessing internet), first the NAT will happen then the routing will happen. I agree with this..
    2. in destination natting (outside users accessing inside server on public ip), what will happen first, NATTING or Routing. I am looking forward to hear an explanation.
    regards
    Rajesh

    The ASA will always apply NAT based on the order of the NAT table (which is directly derived from the running configuration), which can be viewed with 'show nat detail'. It takes the packet and walks down the table in order of the entries programmed into the table, looking for the first rule that has a matching interface(s) and matching IP subnets/ports that apply to the packet in question; at that point the NAT translation is applied and further processing stops.
    The NAT phase that you show highlighted reflects the stage where the packet's IP headers in an existing connection are re-written by NAT; it is not the exact phase where the egress interface selection is overridden by the translation table.
    That order of operations slide is really quite simplified, and intentionally missing some steps because I just don't have time to go over the nuances of NAT during the general troubleshooting presentation that the picture was pulled from.  On the next slide titled "Egress Interface", I do explain that NAT can override the global routing table for egress interface selection. This order of operations is somewhat "rough", and there are corner cases that can make the order of operations confusing.
    The confusion here probably stems from the doubt about which comes first when selecting egress interfaces, routing or NAT. Hopefully with my explanation below, you'll have the missing pieces needed to fully explain why you see the seemingly inconsistent behavior. Please let me know what is unclear or contradictory about my explanation and I'll try and clear it up. I would also appreciate your suggestions on how to simply and clearly show these steps on a slide, so that I can improve how we deliver this information to our customers. Anyway, on to the explanation...
    The short answer:
    The NAT divert check (which is what overrides the routing table) is checking to see if there is any NAT rule that specifies destination address translation for an inbound packet arriving on an interface. 
         If there is no rule that explicitly specifies how to translate that packet's destination IP address, then the global routing table is consulted to determine the egress interface.
         If there is a rule that explicitly specifies how to translate the packets destination IP address, then the NAT rule "pulls" the packet to the other interface in the translation and the global routing table is effectively bypassed.
    The longer answer:
    For the moment, ignore the diagram above. For the first packet in the flow arriving inbound on an ASA's interface (TCP SYN packet for example):
    Step 1: un-translate the packet for the Security check: Check the packet's headers for matching NAT rules in the NAT table. If the rules apply to the packet, virtually un-NAT the packet so we can check it against the access policies of the ASA (ACL check).
         Step 1.A: ACL Check: Check the un-translated packet against the interface ACL, if permitted proceed to step 2
    Step 2: Check NAT-divert table for global routing table override: In this step the ASA checks the packet and determines if either of the following statements are true:
         Step 2 check A: Did the packet arrive inbound on an interface that is specified as the global (aka mapped) interface in a NAT translation (this is most common when a packet arrives inbound on the outside interface and matches a mapped ip address or range, and is forwarded to an inside interface)?
       -or-
         Step 2 check B:  Did the packet arrive inbound on an interface that is specified as the local (real) interface in a NAT translation that also has destination IP translation explicitly specified (this is seen in your first example, the case with your NAT exempt configuration for traffic from LAN to WAN bypassing translation)?
         If either of these checks returns true, then the packet is virtually forwarded to the other interface specified in the matching NAT translation line, bypassing the global routing table egress interface lookup; Then, a subsequent interface-specific route lookup is done to determine the next-hop address to forward the packet to.
    Put another way, Step 2 check B checks to see if the packet matches an entry in the NAT divert-table. If it does, then the global routing table is bypassed, and the packet is virtually forwarded to the other (local) interface specified in the nat translation. You can actually see the nat divert-table contents with the command 'show nat divert-table', but don't bother too much with it as it isn't very consumable and might be mis-leading.
    Now lets refer to the specific example you outlined in your post; you said:
    route ISP-1 0.0.0.0 0.0.0.0 1.1.1.1 1
    route ISP-2 0.0.0.0 0.0.0.0 2.2.2.1 254
    nat (LAN,ISP-1) after-auto source dynamic any interface
    nat (LAN,ISP-2) after-auto source dynamic any interface
    Now lets say that there is a connection coming from behind LAN interface with the source IP address 10.10.10.10 destined for 8.8.8.8 on destination port TCP/80. The flow chart would seem to indicate (with the above information/configuration in mind) that a NAT would be done before L3 Route Lookup?
    The packet you describe will not match any nat-divert entries, and the egress interface selection will be performed based on the L3 routing table, which you have tested and confirmed. This is because the packet does not match Step 2 checks A or B.
    It doesn't match Step 2 Check A because the packet did not arrive inbound on the mapped (aka global) interfaces ISP-1 or ISP-2 from the NAT config lines. It arrived inbound on the local (aka real) interface LAN.
    It doesn't match Step 2 Check B because these NAT rules don't have destination IP address translation explicitly configured (unlike your LAN to WAN example)...therefore the ASA won't match a divert-table entry for the packet (actually you'll see a rule in the divert table, but it will have ignore=yes, so it is skipped).
    Message was edited by: Jay Johnston

  • L2L VPN with source and destination NAT

    Hello,
    i am new with the ASA 8.4 and was wondering how to tackle the following scenario.
    The diagram is
    Customer ---->>> Firewall --->> L2L VPN --->> Me --->> MPLS ---> Server
    The server is accessible by other tunnels in place but there is no NAT needed. For the tunnel we are talking about it is
    The Customer connects the following way
    Source: 198.1.1.1
    Destination: 192.168.1.1
    It gets to the outside ASA interface which should translate the packets to:
    Source: 10.110.110.1
    Destination: 10.120.110.1
    On the way back, 10.120.110.1 should be translated to 192.168.1.1 only when going to 198.1.1.1
    I did the following configuration which I am not able to test but tomorrow during the migration
    object network obj-198.1.1.1
    host 198.1.1.1
    object network obj-198.1.1.1
    nat (outside,inside) dynamic 10.110.110.1
    For the inside to outside NAT depending on the destination:
    object network Real-IP
      host 10.120.110.1
    object-group network PE-VPN-src
    network-object host 198.1.1.1
    object network Destination-NAT
    host 192.168.1.1
    nat (inside,outside) source static Real-IP Destination-NAT destination static PE-VPN-src PE-VPN-src
    Question is if I should create also the following or not for the outside to inside flow NAT? Or the NAT is done from the inside to outside estatement even if the traffic is always initiated from outside interface?
    object network obj-192.168.1.1
    host 192.168.1.1
    object network obj-192.168.1.1
    nat (outside,inside) dynamic 10.120.110.1

    Let's use a spare ip address in the same subnet as the ASA inside interface for the NAT (assuming that 10.10.10.251 is free (pls kindly double check and use a free IP Address accordingly):
    object network obj-10.10.10.243
      host 10.10.10.243
    object network obj-77.x.x.24
      host 77.x.x.24
    object network obj-10.10.10.251
      host 10.10.10.251
    object network obj-pcA
      host 86.x.x.253
    nat (inside,outside) source static obj-10.10.10.243 obj-77.x.x.24 destination static obj-10.10.10.251 obj-86.x.x.253
    Hope that helps.

  • Client NAT - ACE

    Hi All,
    We are trying to configure client NAT on ACE , I have tried with the following configuration.
    I want to make sure the following things
    1) Whether this is a right way or not or if this is possible?
    2) If it is and any one is having ideas for that please do let me know so that I can send the topology diagram as well to get it understand easily.
    class-map match-all CLIENT-TO-AVS-VIP
    2 match virtual-address 172.16.30.110 tcp eq www
    class-map match-all NAT
    2 match source-address 0.0.0.0 0.0.0.0
    3 match destination-address 172.16.30.110 255.255.255.255
    policy-map multi-match MOON-POLICY
    class CLIENT-TO-AVS-VIP
    loadbalance vip inservice
    loadbalance policy MOON_AVS_CLIENT
    loadbalance vip icmp-reply
    class NAT
    nat dynamic 9 vlan 300
    interface vlan 300
    description Clentside interface
    bridge-group 30
    access-group input ALL
    nat-pool 9 172.16.30.200 172.16.30.210 netmask 255.255.255.255 pat
    service-policy input REMOTE-MGMT
    service-policy input MOON-POLICY
    no shutdown
    Regards
    Aslam...

    Hi Aslam,
    yes it's possible in a quite simple way, I see some errors in your configuration :
    You don't need a second class map "NAT", the first one is sufficient. You can tell the ACE "When traffic matches CLIENT-TO-AVS-VIP, loadbalance AND nat client traffic".
    To do so, simply insert the "nat dynamic 9 vlan 300" command inside the "class CLIENT-TO-AVS-VIP" mapping in the multi-match policy.
    This should work as you want :
    class-map match-all CLIENT-TO-AVS-VIP
    2 match virtual-address 172.16.30.110 tcp eq www
    policy-map multi-match MOON-POLICY
    class CLIENT-TO-AVS-VIP
    loadbalance vip inservice
    loadbalance policy MOON_AVS_CLIENT
    loadbalance vip icmp-reply
    nat dynamic 9 vlan 300
    remember that an instruction like
    "2 match source-address 0.0.0.0 0.0.0.0" is a pleonasm, no instruction on source-address means match any source.
    You can check some other scenarios on source nat here :
    http://snippets101.blogspot.com/2007/12/source-nat-on-cisco-ace.html
    Hope this helps.
    Alberto

  • Cisco ASA 8.4 Destination Nat

    Hi,
    I am facing problem in implemnting NAT on cisco 8.4
    the senerio is
    Inside interface network 10.10.10.0/24
    and 10.118.0.0/16 is also routed towards inside network
    Other network 192.168.10.0/24 is routed via outside interface.
    My requirement is to NAT the 192.168.10.2(real IP) to 10.10.10.2(mapped ip) so that when users from inside network(10.118.0.0/16)  will come they will access the 10.10.10.2 instead of the real Ip(192.168.10.2)
    So I used
    nat (inside,Extranet) source static obj-10.118.0.0 obj-10.118.0.0 destination static obj-10.10.10.2 obj-192.168.10.2
    but the connection is not working but with show nat I am getting hits on the NAT statement.
    cap test ethernet-type arp interface inside real-time 
    1: 23:29:05.684199 arp who-has 10.10.10.2 tell 10.10.10.1
    2: 23:29:09.687998 arp who-has 10.10.10.2 tell 10.10.10.1
    I have also enabled the proxyarp on the inside interface but still the connection was not working.
    Any help will be much appreciated...
    Packet tracer output
    Phase: 1
    Type: UN-NAT
    Subtype: static
    Result: ALLOW
    Config:
    nat (inside,Extranet) source static obj-10.118.0.0 obj-10.118.0.0 destination static obj-10.10.10.2 obj-192.168.10.2
    Additional Information:
    NAT divert to egress interface Extranet
    Untranslate
    10.10.10.2/80 to 192.168.10.2/80
    Phase: 2
    Type: ACCESS-LIST
    Subtype: log
    Result: ALLOW
    Config:
    access-group inside_access_in in interface inside
    access-list inside_access_in extended permit tcp any object obj-192.168.10.2
    Additional Information:
    Phase: 3
    Type: IP-OPTIONS
    Subtype:
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 4
    Type: FOVER
    Subtype: standby-update
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 5
    Type: NAT
    Subtype:
    Result: ALLOW
    Config:
    nat (inside,Extranet) source static obj-10.118.0.0 obj-10.118.0.0 destination static obj-10.10.10.2 obj-192.168.10.2
    Additional Information:
    Static translate 10.118.60.44/12345 to 10.118.60.44/12345
    Phase: 6
    Type: NAT
    Subtype: rpf-check
    Result: ALLOW
    Config:
    nat (inside,Extranet) source static obj-10.118.0.0 obj-10.118.0.0 destination static obj-10.10.10.2 obj-192.168.10.2
    Additional Information:
    Phase: 7
    Type: USER-STATISTICS
    Subtype: user-statistics
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 8
    Type: IP-OPTIONS
    Subtype:
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 9
    Type: USER-STATISTICS
    Subtype: user-statistics
    Result: ALLOW
    Config:
    Additional Information:
    Phase: 10
    Type: FLOW-CREATION
    Subtype:
    Result: ALLOW
    Config:
    Additional Information:
    New flow created with id 35428108, packet dispatched to next module
    Result:
    input-interface: inside
    input-status: up
    input-line-status: up
    output-interface: Extranet
    output-status: up
    output-line-status: up
    Action: allow

    Hi,
    You current NAT configuration
    nat (inside,Extranet) source static obj-10.118.0.0 obj-10.118.0.0 destination static obj-10.10.10.2 obj-192.168.10.2
    Basicly does so that when the network 10.118.0.0/16 tries to access the host 10.10.10.2/32 the source network 10.118.0.0/16 wont be translated but the host 10.10.10.2/32 will be untranslated to 192.168.10.2/32
    So when someone on your local network tries to connect to 10.10.10.2/32 the router connected to the ASA will naturally use ARP to resolve the IP/MAC pair. I would check on that router if the ARP table shows the 10.10.10.2. If it doesnt then naturally the connection will fail.
    I am not sure if you had a typo there  (or I just understood you wrong) where you said that the router should know the real IP of 192.168.10.2 because with this configuration it specifically DOESNT know that IP address as the ASA seems to be NATing it to 10.10.10.2/32 which I guess would be part of the connected network between ASA and the router.
    - Jouni

  • Destination NAT + many port on CSS 11503

    Hi, could you please tell me if the following configuration works: I have 2 content rules and one source group. The content rules have different port number and i put all my services in the source group. Sometimes I can't connect through the content rule. I get connection timeout. Any suggestions ?
    content kgstaqs_1601
    vip address 172.19.240.201
    add service kgs1t_1601
    add service kgs2t_1601
    protocol tcp
    port 1601
    active
    content kgstaqs_1623
    add service kgs1t_1623
    add service kgs2t_1623
    protocol tcp
    port 1623
    vip address 172.19.240.201
    active
    group grp_kgstaqs
    add destination service kgs1t_1601
    add destination service kgs2t_1623
    add destination service kgs2t_1601
    add destination service kgs2t_1623
    vip address 172.19.240.201
    active

    the config is ok.
    try to capture the problem in a sniffer trace.
    That's the only way we can figure what's going on.
    Gilles.

  • Destination NAT and Source Nat

    Hi, my network have mobile users with notebooks, and they use public smtp IP address, when they out of office, without VPN ASA works well, but when they comes back in office they should change SMTP IP back to private. I know that my task could be solved via DNS service, but for some reason I should do Dnat and Snat on ASA, please answer me, Is it posible? (Because ASA have to nat and dnat on same interface Insidem and back this traffic to Inside again
    )Please see this picture, I draw my task there. Thanks!

    Yes it is posible through policy nat.
    here is the example.
    access−list policy−nat extended permit ip host 10.1.1.20 host 5.5.5.5
    global (dmz) 2  192.168.2.2
    nat (inside) 2 access-list policy−nat
    Hope that helps.
    thanks

  • Destination NAT translation shows 0.0.0.0 on CSS 11503

    Hi Giles,
    I have CSS11506-2AC ConServSw and the Problem is sometimes the dst nat is 0.0.0.0 and sometime there is ip address.
    here is the nat table:
    1)
    172.25.11.171 8080 84.149.88.240 56618 84.149.88.240 TCP 4/2 4/1
    2)
    172.25.11.171 8080 134.109.96.124 46851 0.0.0.0 TCP 4/2 4/1
    Kindly let me know wheather is this the known problem are there is some issue with the css switch.
    Any reply will be greatly appriciated.
    Thanks in advance

    Inayathulla,
    I think the dst nat 0.0.0.0 packets are actually health-check packets for querying the servers state of healthyness, intiated by the CSS.
    Usually there would be an Inport entry but nothing on the Outport, just a blank.
    Happy if someone can give their input as well on this issue.
    thanks

Maybe you are looking for

  • Non XML attachment to XML in sender mail adapter

    Hi, I am working with sender mail adapter and usng payloadswapbean. My attachment is non XML and I need to convert it in to XML in order to mapping. How can I do that? Can someone explain if can I use MessageTransformBean for this purpose and if so,

  • CRM Interactive Reports not working

    hi, In CRM2007 we have this new feature of interactive reports, where we can create OLTP reports. I am trying to explore this feature. But when i click on Create report option, I am getting "Maintain RFC Desination for local BI". When i go to SM59 an

  • I can't open a file, unexpected error

    I can't open a file saved with Keynote; A mask error say: Unexspexted error, close and open again Keynote. I try to delete keynote plts; and reinstalling the software. always the same error. thanks, a lot G.

  • Caching Query Image Stream

    Currently I am working on a CMS of sorts and the higher-ups wanted to have some digital asset management capibilities. All images are now being stored in SQL2k5 in binary form. On a page that contains the image, I have a the image src="myImageLoader.

  • Problem in master data

    Hi All, We have stock info cube in which we are updating Distribution Channel using update rules 0CUST_SALES.There was a problem in Update rule for distribution channel. Till now we were loading master data weekly. So, my 0CUST_SALES contains lots of