<?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 Using authentication for ftp in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346331#M2966</link>
    <description>&lt;P&gt;I have a PIX 515E v6.3.3 that is currently in place and has statics and an access list on the outside interface to allow http and smtp access in to the mail &amp;amp; web servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have a need to allow an deveoper ftp access to the web site for posting content.  Using a remote access VPN is not possible, so I want to try to use the authentication features to force the developer to authenticate to the PIX before he gets to the server- I don't want to expose the ftp server directly to every script kiddie with a port scanner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation and the support site aren't very explicit with an example, specifically the interactions between the inbound ACL and using the autentication for some services.  First and foremeost I can't break the existing smtp and www "permits", or cause them to require authentication.  As of yet, I haven't hooked this PIX to a tacacs or radius server, so I will use local authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the config below accomplish the objective, or I am going at this incorrectly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name 192.168.1.1 ftpserver &lt;/P&gt;&lt;P&gt;name 192.168.1.2 mailserver&lt;/P&gt;&lt;P&gt;static (inside, outside) ftpserver ftpserver netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside, outside) mailserver mailserver netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list acl_out permit tcp any host mailserver eq 25&lt;/P&gt;&lt;P&gt;access-list acl_out permit tcp any host ftpserver eq 80&lt;/P&gt;&lt;P&gt;access-group acl_out in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa-server AuthIn protocol local&lt;/P&gt;&lt;P&gt;aaa authentication include ftp outside ftpserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;aaa authentication exclude http outside ftpserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;aaa authentication exclude tcp/25 outside mailserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the authentication excludes are needed and/or do I need to permit ftp access inbound in the acl_out access list.  OR am I even on the right track with this config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if this config works, what will be the process the developer uses to log in- does he first ftp to the pix public ip and authenticate locally, then use another ftp connect to the server's ip address, or does he use a proxy type syntax where both credentials are supplied at the initial login.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 18:12:07 GMT</pubDate>
    <dc:creator>tskidmore</dc:creator>
    <dc:date>2020-02-21T18:12:07Z</dc:date>
    <item>
      <title>Using authentication for ftp</title>
      <link>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346331#M2966</link>
      <description>&lt;P&gt;I have a PIX 515E v6.3.3 that is currently in place and has statics and an access list on the outside interface to allow http and smtp access in to the mail &amp;amp; web servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have a need to allow an deveoper ftp access to the web site for posting content.  Using a remote access VPN is not possible, so I want to try to use the authentication features to force the developer to authenticate to the PIX before he gets to the server- I don't want to expose the ftp server directly to every script kiddie with a port scanner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation and the support site aren't very explicit with an example, specifically the interactions between the inbound ACL and using the autentication for some services.  First and foremeost I can't break the existing smtp and www "permits", or cause them to require authentication.  As of yet, I haven't hooked this PIX to a tacacs or radius server, so I will use local authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the config below accomplish the objective, or I am going at this incorrectly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name 192.168.1.1 ftpserver &lt;/P&gt;&lt;P&gt;name 192.168.1.2 mailserver&lt;/P&gt;&lt;P&gt;static (inside, outside) ftpserver ftpserver netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside, outside) mailserver mailserver netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list acl_out permit tcp any host mailserver eq 25&lt;/P&gt;&lt;P&gt;access-list acl_out permit tcp any host ftpserver eq 80&lt;/P&gt;&lt;P&gt;access-group acl_out in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa-server AuthIn protocol local&lt;/P&gt;&lt;P&gt;aaa authentication include ftp outside ftpserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;aaa authentication exclude http outside ftpserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;aaa authentication exclude tcp/25 outside mailserver 255.255.255.255 0 0 AuthIn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the authentication excludes are needed and/or do I need to permit ftp access inbound in the acl_out access list.  OR am I even on the right track with this config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if this config works, what will be the process the developer uses to log in- does he first ftp to the pix public ip and authenticate locally, then use another ftp connect to the server's ip address, or does he use a proxy type syntax where both credentials are supplied at the initial login.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 18:12:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346331#M2966</guid>
      <dc:creator>tskidmore</dc:creator>
      <dc:date>2020-02-21T18:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using authentication for ftp</title>
      <link>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346332#M2967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This configuration looks fine, should work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2005 14:57:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346332#M2967</guid>
      <dc:creator>umedryk</dc:creator>
      <dc:date>2005-02-03T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using authentication for ftp</title>
      <link>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346333#M2968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest that the last 2 ACE listed below are not required as when a specific port is specified for traffic hitting the inside/outside interfaces only the traffic with a matching destination port is included or excluded for authentication.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had you specified the any keyword which permits FTP, HTTP and Telnet then all 3 of these services would have required authentication against the LOCAL database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no aaa authentication exclude http outside ftpserver 255.255.255.255 0 0 AuthIn &lt;/P&gt;&lt;P&gt;no aaa authentication exclude tcp/25 outside mailserver 255.255.255.255 0 0 AuthIn &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have configured a static from inside - outside, external users will have to AND their usernames and passords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PIX config: username bob password cisco&lt;/P&gt;&lt;P&gt;FTP Server: username of garbage, password can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To access the FTP server would require the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;username: bob@garbage&lt;/P&gt;&lt;P&gt;password: cisco@can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2005 17:18:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346333#M2968</guid>
      <dc:creator>stevep</dc:creator>
      <dc:date>2005-02-03T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using authentication for ftp</title>
      <link>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346334#M2969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need a permit statement on your acl_out for the FTP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2005 17:49:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/using-authentication-for-ftp/m-p/346334#M2969</guid>
      <dc:creator>dbellaze</dc:creator>
      <dc:date>2005-02-03T17:49:56Z</dc:date>
    </item>
  </channel>
</rss>

