<?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 Configure pix 501 for mail in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371697#M549997</link>
    <description>&lt;P&gt;I am having trouble configuring my Cisco pix 501 to work with my mail server.To start of I will describe my environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a DLS router to connect to the internet. I connect the Pix to the DSL router then connect the pix to a switch. On the switch I have the mail server and several clients. IP address are the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSL Router Internal: 10.10.10.1&lt;/P&gt;&lt;P&gt;Pix External: 10.10.10.2&lt;/P&gt;&lt;P&gt;Pix internal: 20.20.20.1&lt;/P&gt;&lt;P&gt;Mail server: 20.20.20.10&lt;/P&gt;&lt;P&gt;Client network: 20.20.20.0&lt;/P&gt;&lt;P&gt;MX record: 192.168.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL router has a route on its route table to send any traffic for 20.20.20.0 255.255.255.0 to 10.10.10.2 (the external interface of the cisco pix)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL router has a port forward for port 25 to 20.20.20.10. This worked with out the firewall when I had the mail server plugged into the DSL router and I changed the mail server IP address to 10.10.10.10 (the port forward was 25 -&amp;gt; 10.10.10.10 in this test)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the configuration I have on the cisco Pix firewall. I copied the configuration from &lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094466.shtml" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094466.shtml&lt;/A&gt; with the changes listed and reasons below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PIX Version 6.3(4)&lt;/P&gt;&lt;P&gt;interface ethernet0 auto&lt;/P&gt;&lt;P&gt;interface ethernet1 100full&lt;/P&gt;&lt;P&gt;nameif ethernet0 outside security0&lt;/P&gt;&lt;P&gt;nameif ethernet1 inside security100&lt;/P&gt;&lt;P&gt;enable password XXXXXX encrypted&lt;/P&gt;&lt;P&gt;passwd XXXXXX encrypted&lt;/P&gt;&lt;P&gt;hostname Pix&lt;/P&gt;&lt;P&gt;domain-name Cisco.com&lt;/P&gt;&lt;P&gt;fixup protocol dns maximum-length 512&lt;/P&gt;&lt;P&gt;fixup protocol ftp 21&lt;/P&gt;&lt;P&gt;fixup protocol h323 h225 1720&lt;/P&gt;&lt;P&gt;fixup protocol h323 ras 1718-1719&lt;/P&gt;&lt;P&gt;fixup protocol http 80&lt;/P&gt;&lt;P&gt;fixup protocol rsh 514&lt;/P&gt;&lt;P&gt;fixup protocol rtsp 554&lt;/P&gt;&lt;P&gt;fixup protocol sip 5060&lt;/P&gt;&lt;P&gt;fixup protocol sip udp 5060&lt;/P&gt;&lt;P&gt;fixup protocol skinny 2000&lt;/P&gt;&lt;P&gt;fixup protocol smtp 25&lt;/P&gt;&lt;P&gt;fixup protocol sqlnet 1521&lt;/P&gt;&lt;P&gt;fixup protocol tftp 69&lt;/P&gt;&lt;P&gt;names&lt;/P&gt;&lt;P&gt;access-list mysmtp permit tcp any host 20.20.20.10 eq smtp&lt;/P&gt;&lt;P&gt;pager lines 24&lt;/P&gt;&lt;P&gt;mtu outside 1500&lt;/P&gt;&lt;P&gt;mtu inside 1500&lt;/P&gt;&lt;P&gt;ip address outside 10.10.10.2 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address inside 20.20.20.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip audit info action alarm&lt;/P&gt;&lt;P&gt;ip audit attack action alarm&lt;/P&gt;&lt;P&gt;pdm logging informational 100&lt;/P&gt;&lt;P&gt;pdm history enable&lt;/P&gt;&lt;P&gt;arp timeout 14400&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 1 0.0.0.0 0.0.0.0 0 0&lt;/P&gt;&lt;P&gt;access-group mysmtp in interface outside&lt;/P&gt;&lt;P&gt;route outside 0.0.0.0 0.0.0.0 10.10.10.1 1&lt;/P&gt;&lt;P&gt;timeout xlate 0:05:00&lt;/P&gt;&lt;P&gt;timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00&lt;/P&gt;&lt;P&gt;timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00&lt;/P&gt;&lt;P&gt;timeout uauth 0:05:00 absolute&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ protocol tacacs+&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ max-failed-attempts 3&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ deadtime 10&lt;/P&gt;&lt;P&gt;aaa-server RADIUS protocol radius&lt;/P&gt;&lt;P&gt;aaa-server RADIUS max-failed-attempts 3&lt;/P&gt;&lt;P&gt;aaa-server RADIUS deadtime 10&lt;/P&gt;&lt;P&gt;aaa-server LOCAL protocol local&lt;/P&gt;&lt;P&gt;http server enable&lt;/P&gt;&lt;P&gt;http 20.20.20.0 255.255.255.0 inside&lt;/P&gt;&lt;P&gt;no snmp-server location&lt;/P&gt;&lt;P&gt;no snmp-server contact&lt;/P&gt;&lt;P&gt;snmp-server community public&lt;/P&gt;&lt;P&gt;no snmp-server enable traps&lt;/P&gt;&lt;P&gt;floodguard enable&lt;/P&gt;&lt;P&gt;telnet 20.20.20.0 255.255.255.0 inside&lt;/P&gt;&lt;P&gt;telnet timeout 5&lt;/P&gt;&lt;P&gt;ssh timeout 5&lt;/P&gt;&lt;P&gt;console timeout 0&lt;/P&gt;&lt;P&gt;dhcpd address 20.20.20.2-20.20.20.254 inside&lt;/P&gt;&lt;P&gt;dhcpd lease 3600&lt;/P&gt;&lt;P&gt;dhcpd ping_timeout 750&lt;/P&gt;&lt;P&gt;dhcpd auto_config outside&lt;/P&gt;&lt;P&gt;terminal width 80&lt;/P&gt;&lt;P&gt;Cryptochecksum:181cc440c44ce21a49c936a0d97a6adb&lt;/P&gt;&lt;P&gt;: end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The differences between the web configuration and mine&lt;/P&gt;&lt;P&gt;I am not using NAT so I left the default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not added a static route for MX record to internal IP address. Do I need to do this on the firewall? For example static (inside,outside) 20.20.20.10 192.168.2.2 netmask 255.255.255.255?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not do a route inside as I do not have a router on the inside of the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a n fixup protocol smtp bit this did not fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few other things to note. All traffic inside the firewall can get to the internet. For example I can surf the net on the mail server. If I try to telnet to 20.20.20.10 25 on anything inside the firewall it works. If I try it from anything outside the firewall it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one can point me in the right direction it would be great&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 08:02:31 GMT</pubDate>
    <dc:creator>wade.hughes</dc:creator>
    <dc:date>2020-02-21T08:02:31Z</dc:date>
    <item>
      <title>Configure pix 501 for mail</title>
      <link>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371697#M549997</link>
      <description>&lt;P&gt;I am having trouble configuring my Cisco pix 501 to work with my mail server.To start of I will describe my environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a DLS router to connect to the internet. I connect the Pix to the DSL router then connect the pix to a switch. On the switch I have the mail server and several clients. IP address are the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSL Router Internal: 10.10.10.1&lt;/P&gt;&lt;P&gt;Pix External: 10.10.10.2&lt;/P&gt;&lt;P&gt;Pix internal: 20.20.20.1&lt;/P&gt;&lt;P&gt;Mail server: 20.20.20.10&lt;/P&gt;&lt;P&gt;Client network: 20.20.20.0&lt;/P&gt;&lt;P&gt;MX record: 192.168.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL router has a route on its route table to send any traffic for 20.20.20.0 255.255.255.0 to 10.10.10.2 (the external interface of the cisco pix)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL router has a port forward for port 25 to 20.20.20.10. This worked with out the firewall when I had the mail server plugged into the DSL router and I changed the mail server IP address to 10.10.10.10 (the port forward was 25 -&amp;gt; 10.10.10.10 in this test)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the configuration I have on the cisco Pix firewall. I copied the configuration from &lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094466.shtml" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094466.shtml&lt;/A&gt; with the changes listed and reasons below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PIX Version 6.3(4)&lt;/P&gt;&lt;P&gt;interface ethernet0 auto&lt;/P&gt;&lt;P&gt;interface ethernet1 100full&lt;/P&gt;&lt;P&gt;nameif ethernet0 outside security0&lt;/P&gt;&lt;P&gt;nameif ethernet1 inside security100&lt;/P&gt;&lt;P&gt;enable password XXXXXX encrypted&lt;/P&gt;&lt;P&gt;passwd XXXXXX encrypted&lt;/P&gt;&lt;P&gt;hostname Pix&lt;/P&gt;&lt;P&gt;domain-name Cisco.com&lt;/P&gt;&lt;P&gt;fixup protocol dns maximum-length 512&lt;/P&gt;&lt;P&gt;fixup protocol ftp 21&lt;/P&gt;&lt;P&gt;fixup protocol h323 h225 1720&lt;/P&gt;&lt;P&gt;fixup protocol h323 ras 1718-1719&lt;/P&gt;&lt;P&gt;fixup protocol http 80&lt;/P&gt;&lt;P&gt;fixup protocol rsh 514&lt;/P&gt;&lt;P&gt;fixup protocol rtsp 554&lt;/P&gt;&lt;P&gt;fixup protocol sip 5060&lt;/P&gt;&lt;P&gt;fixup protocol sip udp 5060&lt;/P&gt;&lt;P&gt;fixup protocol skinny 2000&lt;/P&gt;&lt;P&gt;fixup protocol smtp 25&lt;/P&gt;&lt;P&gt;fixup protocol sqlnet 1521&lt;/P&gt;&lt;P&gt;fixup protocol tftp 69&lt;/P&gt;&lt;P&gt;names&lt;/P&gt;&lt;P&gt;access-list mysmtp permit tcp any host 20.20.20.10 eq smtp&lt;/P&gt;&lt;P&gt;pager lines 24&lt;/P&gt;&lt;P&gt;mtu outside 1500&lt;/P&gt;&lt;P&gt;mtu inside 1500&lt;/P&gt;&lt;P&gt;ip address outside 10.10.10.2 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address inside 20.20.20.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip audit info action alarm&lt;/P&gt;&lt;P&gt;ip audit attack action alarm&lt;/P&gt;&lt;P&gt;pdm logging informational 100&lt;/P&gt;&lt;P&gt;pdm history enable&lt;/P&gt;&lt;P&gt;arp timeout 14400&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 1 0.0.0.0 0.0.0.0 0 0&lt;/P&gt;&lt;P&gt;access-group mysmtp in interface outside&lt;/P&gt;&lt;P&gt;route outside 0.0.0.0 0.0.0.0 10.10.10.1 1&lt;/P&gt;&lt;P&gt;timeout xlate 0:05:00&lt;/P&gt;&lt;P&gt;timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00&lt;/P&gt;&lt;P&gt;timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00&lt;/P&gt;&lt;P&gt;timeout uauth 0:05:00 absolute&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ protocol tacacs+&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ max-failed-attempts 3&lt;/P&gt;&lt;P&gt;aaa-server TACACS+ deadtime 10&lt;/P&gt;&lt;P&gt;aaa-server RADIUS protocol radius&lt;/P&gt;&lt;P&gt;aaa-server RADIUS max-failed-attempts 3&lt;/P&gt;&lt;P&gt;aaa-server RADIUS deadtime 10&lt;/P&gt;&lt;P&gt;aaa-server LOCAL protocol local&lt;/P&gt;&lt;P&gt;http server enable&lt;/P&gt;&lt;P&gt;http 20.20.20.0 255.255.255.0 inside&lt;/P&gt;&lt;P&gt;no snmp-server location&lt;/P&gt;&lt;P&gt;no snmp-server contact&lt;/P&gt;&lt;P&gt;snmp-server community public&lt;/P&gt;&lt;P&gt;no snmp-server enable traps&lt;/P&gt;&lt;P&gt;floodguard enable&lt;/P&gt;&lt;P&gt;telnet 20.20.20.0 255.255.255.0 inside&lt;/P&gt;&lt;P&gt;telnet timeout 5&lt;/P&gt;&lt;P&gt;ssh timeout 5&lt;/P&gt;&lt;P&gt;console timeout 0&lt;/P&gt;&lt;P&gt;dhcpd address 20.20.20.2-20.20.20.254 inside&lt;/P&gt;&lt;P&gt;dhcpd lease 3600&lt;/P&gt;&lt;P&gt;dhcpd ping_timeout 750&lt;/P&gt;&lt;P&gt;dhcpd auto_config outside&lt;/P&gt;&lt;P&gt;terminal width 80&lt;/P&gt;&lt;P&gt;Cryptochecksum:181cc440c44ce21a49c936a0d97a6adb&lt;/P&gt;&lt;P&gt;: end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The differences between the web configuration and mine&lt;/P&gt;&lt;P&gt;I am not using NAT so I left the default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not added a static route for MX record to internal IP address. Do I need to do this on the firewall? For example static (inside,outside) 20.20.20.10 192.168.2.2 netmask 255.255.255.255?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not do a route inside as I do not have a router on the inside of the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a n fixup protocol smtp bit this did not fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few other things to note. All traffic inside the firewall can get to the internet. For example I can surf the net on the mail server. If I try to telnet to 20.20.20.10 25 on anything inside the firewall it works. If I try it from anything outside the firewall it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one can point me in the right direction it would be great&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 08:02:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371697#M549997</guid>
      <dc:creator>wade.hughes</dc:creator>
      <dc:date>2020-02-21T08:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure pix 501 for mail</title>
      <link>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371698#M550000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Historically the PIX has been a NAT device, beside a Firewall, so that means that even if you are bypassing NAT, you have to specify a NAT rule for that... In other words, if you want to bypass NAT for your mail server, for access from the outside, then you have to tell the PIX to do so. Inbound traffic is only allowed if you have a "bi-directional" NAT rule, which can be accomplished with an static statement (identity NAT) or a NAT 0 + ACL statement:&lt;/P&gt;&lt;P&gt;static (inside,outside) 20.20.20.10 20.20.20.10&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;access-list nonat permit ip host 20.20.20.10 any&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list nonat&lt;/P&gt;&lt;P&gt;Of course, this is not all; you also need to allow or open the desired ports/protocols on the outside interface (with an ACL, which you already have).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, regarding the MX-Record, if it is pointing to 192.168.2.2, then you might want to NAT the internal mail server to that IP:&lt;/P&gt;&lt;P&gt;static (inside,outside) 192.168.2.2 20.20.20.10&lt;/P&gt;&lt;P&gt;And, make sure that the DSL router routes all traffic destined to 192.168.2.2 to the PIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Federico Rodriguez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2005 06:49:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371698#M550000</guid>
      <dc:creator>fedrodri</dc:creator>
      <dc:date>2005-03-29T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configure pix 501 for mail</title>
      <link>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371699#M550003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes that did help thank you. mail traffice is now coming and going.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2005 04:41:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/configure-pix-501-for-mail/m-p/371699#M550003</guid>
      <dc:creator>wade.hughes</dc:creator>
      <dc:date>2005-03-30T04:41:06Z</dc:date>
    </item>
  </channel>
</rss>

