<?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 PIX DMZ relay smtp server problem in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/pix-dmz-relay-smtp-server-problem/m-p/243931#M594070</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a 515E PIX with a "Internet" ip range for both the outside and DMZ interface.&lt;/P&gt;&lt;P&gt;I'm having a problem when I specify and access list to allow the mail relay to forward mail to the internal mail server.&lt;/P&gt;&lt;P&gt;This is my config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixup protocol smtp 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.107.0 255.255.255.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.107.0 255.255.255.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.184.0 255.255.248.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.184.0 255.255.248.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list SMTP permit tcp any host x.y.163.178 eq smtp&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.184.0 255.255.248.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.184.0 255.255.248.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.107.0 255.255.255.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.107.0 255.255.255.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list dmz_outbound_nat0_acl permit ip x.y.163.176 255.255.255.240 any&lt;/P&gt;&lt;P&gt;access-list SMTPINSIDE permit tcp host x.y.163.178 host 192.168.185.50 eq smtp&lt;/P&gt;&lt;P&gt;access-list SMTPINSIDE permit tcp host x.y.163.178 any eq smtp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip address outside x.y.165.22 255.255.255.248&lt;/P&gt;&lt;P&gt;ip address inside 192.168.185.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address dmz x.y.163.177 255.255.255.240&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list NONAT&lt;/P&gt;&lt;P&gt;nat (inside) 1 192.168.185.0 255.255.255.0 0 0&lt;/P&gt;&lt;P&gt;nat (dmz) 0 access-list dmz_outbound_nat0_acl&lt;/P&gt;&lt;P&gt;static (inside,dmz) 192.168.185.0 192.168.185.0 netmask 255.255.255.0 0 0&lt;/P&gt;&lt;P&gt;access-group SMTP in interface outside&lt;/P&gt;&lt;P&gt;access-group SMTPINSIDE in interface dmz&lt;/P&gt;&lt;P&gt;route outside 0.0.0.0 0.0.0.0 x.y.165.21 1&lt;/P&gt;&lt;P&gt;route inside 192.168.107.0 255.255.255.0 192.168.185.253 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;crypto map SYDIMC 100 match address Sydney2match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. If I remove "access-group SMTPINSIDE " I can telnet to the relay server, but not the inside mail server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 07:16:46 GMT</pubDate>
    <dc:creator>roelfs</dc:creator>
    <dc:date>2020-02-21T07:16:46Z</dc:date>
    <item>
      <title>PIX DMZ relay smtp server problem</title>
      <link>https://community.cisco.com/t5/network-security/pix-dmz-relay-smtp-server-problem/m-p/243931#M594070</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a 515E PIX with a "Internet" ip range for both the outside and DMZ interface.&lt;/P&gt;&lt;P&gt;I'm having a problem when I specify and access list to allow the mail relay to forward mail to the internal mail server.&lt;/P&gt;&lt;P&gt;This is my config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixup protocol smtp 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.107.0 255.255.255.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.107.0 255.255.255.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.184.0 255.255.248.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list Sydney2match permit ip 192.168.184.0 255.255.248.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list SMTP permit tcp any host x.y.163.178 eq smtp&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.184.0 255.255.248.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.184.0 255.255.248.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.107.0 255.255.255.0 192.168.100.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list NONAT permit ip 192.168.107.0 255.255.255.0 192.168.33.0 255.255.255.0&lt;/P&gt;&lt;P&gt;access-list dmz_outbound_nat0_acl permit ip x.y.163.176 255.255.255.240 any&lt;/P&gt;&lt;P&gt;access-list SMTPINSIDE permit tcp host x.y.163.178 host 192.168.185.50 eq smtp&lt;/P&gt;&lt;P&gt;access-list SMTPINSIDE permit tcp host x.y.163.178 any eq smtp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip address outside x.y.165.22 255.255.255.248&lt;/P&gt;&lt;P&gt;ip address inside 192.168.185.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address dmz x.y.163.177 255.255.255.240&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list NONAT&lt;/P&gt;&lt;P&gt;nat (inside) 1 192.168.185.0 255.255.255.0 0 0&lt;/P&gt;&lt;P&gt;nat (dmz) 0 access-list dmz_outbound_nat0_acl&lt;/P&gt;&lt;P&gt;static (inside,dmz) 192.168.185.0 192.168.185.0 netmask 255.255.255.0 0 0&lt;/P&gt;&lt;P&gt;access-group SMTP in interface outside&lt;/P&gt;&lt;P&gt;access-group SMTPINSIDE in interface dmz&lt;/P&gt;&lt;P&gt;route outside 0.0.0.0 0.0.0.0 x.y.165.21 1&lt;/P&gt;&lt;P&gt;route inside 192.168.107.0 255.255.255.0 192.168.185.253 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;crypto map SYDIMC 100 match address Sydney2match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. If I remove "access-group SMTPINSIDE " I can telnet to the relay server, but not the inside mail server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 07:16:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pix-dmz-relay-smtp-server-problem/m-p/243931#M594070</guid>
      <dc:creator>roelfs</dc:creator>
      <dc:date>2020-02-21T07:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: PIX DMZ relay smtp server problem</title>
      <link>https://community.cisco.com/t5/network-security/pix-dmz-relay-smtp-server-problem/m-p/243932#M594071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little confused as to what you're trying to do here.  You mention you can telnet to the relay server, from where?  To get to the relay server from the outside you need:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;static (dmz,outside) x.y.163.178 x.y.163.178 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;along with your SMTP access-list.  From there, if the DMZ server is supposed to send mail to the inside server, then your SMTPINSIDE and static that you have shown should be enough.  What do you get if, from the DMZ server, type:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;   &amp;gt; telnet 192.168.185.50 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get connected then the static/ACL is working as it should.  If this is a Exchange server you may need to turn of the SMTP fixup with:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;   &amp;gt; no fixup protocol smtp 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that, whenever you have connectivity problems, always enable syslogging with:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;   logging on&lt;/P&gt;&lt;P&gt;   logging cons debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try a connection, the PIX will then tell you exactly what it's allowing and/or denying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2004 19:27:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pix-dmz-relay-smtp-server-problem/m-p/243932#M594071</guid>
      <dc:creator>gfullage</dc:creator>
      <dc:date>2004-03-15T19:27:03Z</dc:date>
    </item>
  </channel>
</rss>

