<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: where is my mask mismatch? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281081#M1077733</link>
    <description>&lt;P&gt;That is not a subnet, its a port number, in your case SSH&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 03:21:05 GMT</pubDate>
    <dc:creator>Heino Human</dc:creator>
    <dc:date>2021-01-28T03:21:05Z</dc:date>
    <item>
      <title>cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281009#M1077727</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I got an ASA 5508 which I recently configured to connect to AWS cloud via BGP (through the AWS direct connect).&amp;nbsp;&lt;BR /&gt;Now I simply need to ssh my inside interface from an IP in cloud but in the ASA I can see the message:&lt;/P&gt;&lt;PRE&gt;Failed to locate egress interface for TCP from directConnect:10.15.1.1/34514 to 10.50.1.1/&lt;FONT color="#000000"&gt;22&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I double checked that my NAT configuration is in place, and that I got management-access configured for my if-inside.&lt;BR /&gt;Also there is a rule to permit ssh from the given IP 10.15.1.1&lt;BR /&gt;It happens that my Radius server is in that very same IP but I don't think I got auth problems given the message above.&lt;/P&gt;&lt;P&gt;!&lt;BR /&gt;interface GigabitEthernet1/3.2&lt;BR /&gt;description "direct connect to AWS"&lt;BR /&gt;vlan 2&lt;BR /&gt;nameif directConnect&lt;BR /&gt;security-level 0&lt;BR /&gt;ip address x.x.x.x 255.255.255.252&lt;BR /&gt;!&lt;BR /&gt;interface GigabitEthernet1/5&lt;BR /&gt;nameif if-inside&lt;BR /&gt;security-level 100&lt;BR /&gt;ip address 10.50.1.1 255.255.255.0&lt;BR /&gt;!&lt;BR /&gt;nat (any,any) source static inside-net inside-net destination static AWS15 AWS15&lt;BR /&gt;!&lt;BR /&gt;&lt;BR /&gt;aaa-server RA-Server protocol radius&lt;BR /&gt;aaa-server RA-Server (if-inside) host 10.15.1.1&lt;BR /&gt;key *****&lt;BR /&gt;authentication-port 1812&lt;BR /&gt;aaa authentication ssh console RA-Server LOCAL&lt;BR /&gt;!&lt;BR /&gt;ssh 10.15.1.1 255.255.255.255 if-inside&lt;BR /&gt;ssh timeout 10&lt;BR /&gt;ssh version 1 2&lt;BR /&gt;ssh key-exchange group dh-group1-sha1&lt;BR /&gt;console timeout 5&lt;BR /&gt;management-access if-inside&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone can give me a hand with this, I would be very grateful! thanks!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:31:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281009#M1077727</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: where is my mask mismatch?</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281081#M1077733</link>
      <description>&lt;P&gt;That is not a subnet, its a port number, in your case SSH&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 03:21:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281081#M1077733</guid>
      <dc:creator>Heino Human</dc:creator>
      <dc:date>2021-01-28T03:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: where is my mask mismatch?</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281190#M1077740</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1009191"&gt;@sawasa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add "route-lookup" to the end of your NAT rule.&lt;/P&gt;
&lt;P&gt;Also try to use the specific interface names instead of "any" in the NAT rules.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 08:15:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281190#M1077740</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2021-01-28T08:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: where is my mask mismatch?</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281239#M1077744</link>
      <description>&lt;P&gt;thanks you are totally right&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 10:03:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281239#M1077744</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T10:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: where is my mask mismatch?</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281276#M1077747</link>
      <description>&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Thanks, I have added route-lookup and change the any for my interface names.&lt;BR /&gt;Still no luck and I keep having the same error message.&amp;nbsp;&lt;BR /&gt;This is how my nat looks now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nat (if-inside,directConnect) source static inside-net inside-net destination static AWS15 AWS15 route-lookup&lt;BR /&gt;nat (directConnect,if-inside) source static AWS15 AWS15 destination static inside-net inside-net route-lookup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:23:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281276#M1077747</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T11:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281344#M1077755</link>
      <description>&lt;P&gt;You don't need 2 NAT rules, the rules are bi-directional. You can remove the 2nd rule&lt;/P&gt;
&lt;P&gt;Run packet-tracer from the CLI to simulate traffic and provide the output for review.&lt;/P&gt;
&lt;P&gt;Can you provide your routing configuration please&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 13:22:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281344#M1077755</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2021-01-28T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281412#M1077759</link>
      <description>&lt;P&gt;Is the VPN setup as split-tunnel? if so is the subnet that the if-inside interface is configured with included as interesting traffic?&lt;/P&gt;
&lt;P&gt;If you are used vpn-filter, make sure that the ASA IPs are also allowed there.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:50:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281412#M1077759</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2021-01-28T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281580#M1077768</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1009191"&gt;@sawasa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try to add the following&lt;/P&gt;&lt;P&gt;ssh 10.15.1.1 255.255.255.255 directConnect&lt;/P&gt;&lt;P&gt;Also change your NAT to&lt;/P&gt;&lt;P&gt;nat (if-inside,directConnect) source static inside-net inside-net destination static AWS15 AWS15&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:53:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281580#M1077768</guid>
      <dc:creator>Panos Bouras</dc:creator>
      <dc:date>2021-01-28T17:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281681#M1077781</link>
      <description>&lt;P&gt;Thanks again Rob.&lt;BR /&gt;When I modified the NAT I left is as only one rule I got the same result, and I keep reading in other posts about "double NAT rule" so I added it just in case. I will remove it again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running the packet tracert results on:&lt;BR /&gt;"no route to host"&lt;BR /&gt;this is confusing since the 10.50.1.1 is my if-inside.&lt;/P&gt;&lt;P&gt;Do you think it might be because the directConnect is on VLAN 2? it is a virtual interface created for the AWS direct connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;interface GigabitEthernet1/3.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;description "direct connect to AWS"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;vlan 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nameif directConnect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About the routing configuration, I actually only have BGP here configured for AWS and that is. The traffic from the 10.15.1.0/22 to the 10.50.1.0/24 works with no problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:13:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281681#M1077781</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T20:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281685#M1077782</link>
      <description>&lt;P&gt;Hi Marius, thanks for your reply.&lt;BR /&gt;There is no VPN actually, it is a direct connection through a cross connect in the datacenter and AWS.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:08:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281685#M1077782</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281687#M1077783</link>
      <description>&lt;P&gt;Hi Panos,&lt;BR /&gt;I mis read you before, will try the ssh statement&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 21:40:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281687#M1077783</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T21:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281710#M1077788</link>
      <description>&lt;P&gt;If this is not a VPN then you are going about connecting to the ASA wrong.&amp;nbsp; the management-access &amp;lt;interface&amp;gt; command is only for admin connection to the ASA over a VPN.&amp;nbsp; So this will have no effect in your setup.&amp;nbsp; You will need to access the ASA through the directConnect interface meaning you will need to change or add an ssh statement for the directConnect interface, or setup an AnyConnect VPN or site2site VPN and access the ASA through the if-inside interface.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:55:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281710#M1077788</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2021-01-28T20:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot ssh despite of having management access and nat configured</title>
      <link>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281770#M1077790</link>
      <description>&lt;P&gt;thanks, I needed this explanation, I used to have VPN and I didn't realized about this when I changed to a direct connection&lt;/P&gt;&lt;P&gt;adding the ssh statement to the directConnect interface did the trick as you and Panos suggested.&lt;/P&gt;&lt;P&gt;I'm super glad to have this working!!&amp;nbsp;&lt;BR /&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 22:18:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cannot-ssh-despite-of-having-management-access-and-nat/m-p/4281770#M1077790</guid>
      <dc:creator>sawasa</dc:creator>
      <dc:date>2021-01-28T22:18:29Z</dc:date>
    </item>
  </channel>
</rss>

