ASA Asymmetric Routing

From Internetworkpro

Jump to: navigation, search
Configuration.png This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed.
See more examples at Category:Configuration

If you're having issues with Cisco ASA and asymmetrical routing this should save you the night.

This new feature is called TCP State Bypass and is available on from ASA v8.2(1).

inside: 10.1.1.0/24 ASA (default gw): 10.1.1.254 secondary gateway on the inside zone: 10.1.1.3 Host behind the secondary gateway: 10.0.0.113

Things to do:

  1. Enable same security traffic intra interface (Permits communication in and out of the same interface).
    same-security-traffic permit intra-interface
  2. NO NAT ACL
    access-list nonat extended permit ip 10.1.1.0 255.255.255.0 host 10.0.0.113 log
  3. Apply the NON NAT ACL
    nat (inside) 0 access-list nonat
  4. Add the static route
    route inside 10.0.0.113 255.255.255.255 10.1.1.3 1
  5. Add the STATE BYPASS ACL
    access-list state_bypass extended permit tcp 10.1.1.0 255.255.255.0 host 10.0.0.113 log
  6. Create the STATE BYPASS CLASS MAP
    class-map state_bypass
    match access-list state_bypass
  7. Create the STATE BYPASS POLICY MAP
    policy-map state_bypass_policy
    class state_bypass
    set connection advanced-options tcp-state-bypass
  8. Apply the POLICY MAP
    service-policy tcp_state_bypass_policy interface inside

Now you should be able to establish a TCP connection with the remote host behind the local gateway.

A simple sh log | inc state-bypass will show you the result of your hard work :)
%ASA-6-302303: Built TCP state-bypass connection 29656 from inside:10.1.1.115/50429 (10.1.1.115/50429) to inside:10.0.0.113/8080 (10.0.0.113 /8080)


If you want more exhaustive information read the official Cisco tcp state bypass guide.
http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/conns_tcpstatebypass.pdf

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox