<?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: Expose web server on a DMZ using public interface in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324570#M1064248</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Perhaps try this....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;object network Tomcat-Private-Address&lt;BR /&gt;&amp;nbsp;host 172.16.0.2&lt;BR /&gt;&amp;nbsp;nat (dmz,outside) static interface service tcp 80 8080&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;"access-list outside_access_in extended permit tcp any object Tomcat-Private-Address eq www"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you also have an access-group defined such as "access-group outside_access_in in interface outside" - it's not in your config you sent earlier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the command "show xlate" for more information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
    <pubDate>Sat, 03 Feb 2018 15:32:52 GMT</pubDate>
    <dc:creator>Rob Ingram</dc:creator>
    <dc:date>2018-02-03T15:32:52Z</dc:date>
    <item>
      <title>Expose web server on a DMZ using public interface</title>
      <link>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324209#M1064246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a 5505 with ios 9.1(6), that's usually used for internet, i.e. clients on inside can surf internet according to ACLs. All is working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I have a Tomcat server listening on port 8080 that needs to be exposed on internet.&lt;/P&gt;
&lt;P&gt;I'd need to expose it on the same public IP of the firewall outside, port 80.&lt;/P&gt;
&lt;P&gt;What I did is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
 switchport access vlan 12
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 10.0.0.254 255.255.255.0 
!
interface Vlan2
 nameif outside
 security-level 0
 ip address X.Y.Z.T 255.255.255.248 
!
interface Vlan12
 no forward interface Vlan1
 nameif DMZ
 security-level 50
 ip address 172.16.0.1 255.255.255.252 
!
object service Tomcat-Real-Port
 service tcp source eq 8080 
object service Tomcat-Mapped-Port
 service tcp source eq www 
object network Tomcat-Public-Address
 host X.Y.Z.T
object network Tomcat-Private-Address
 host 172.16.0.2

access-list outside_access_in extended permit tcp any object Tomcat-Public-Address eq www 
 
nat (DMZ,outside) source static Tomcat-Public-Address Tomcat-Private-Address service Tomcat-Real-Port Tomcat-Mapped-Port
 
 &lt;/PRE&gt;
&lt;P&gt;This does not work. From the tomcat machine I can ping the 172.16.0.1, but from outside I cannot reach Tomcat, neither on the 80 port, nor on the 8080.&lt;/P&gt;
&lt;P&gt;I'm sure it works, because a curl on then tomcat machine shows me the tomcat page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What did I did wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 15:16:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324209#M1064246</guid>
      <dc:creator>sandman42</dc:creator>
      <dc:date>2020-02-21T15:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expose web server on a DMZ using public interface</title>
      <link>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324568#M1064247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;ASA software 8.3 above, the real IP needs to be listed in the rules. Check below links as an examples for NAT and ACL configs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/asa/asa91/configuration/firewall/asa_91_firewall_config/nat_objects.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/asa/asa91/configuration/firewall/asa_91_firewall_config/nat_objects.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/115904-asa-config-dmz-00.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/115904-asa-config-dmz-00.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hth&lt;/P&gt;
&lt;P&gt;MS&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2018 15:03:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324568#M1064247</guid>
      <dc:creator>mvsheik123</dc:creator>
      <dc:date>2018-02-03T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expose web server on a DMZ using public interface</title>
      <link>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324570#M1064248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Perhaps try this....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;object network Tomcat-Private-Address&lt;BR /&gt;&amp;nbsp;host 172.16.0.2&lt;BR /&gt;&amp;nbsp;nat (dmz,outside) static interface service tcp 80 8080&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;"access-list outside_access_in extended permit tcp any object Tomcat-Private-Address eq www"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you also have an access-group defined such as "access-group outside_access_in in interface outside" - it's not in your config you sent earlier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the command "show xlate" for more information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2018 15:32:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/expose-web-server-on-a-dmz-using-public-interface/m-p/3324570#M1064248</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2018-02-03T15:32:52Z</dc:date>
    </item>
  </channel>
</rss>

