<?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 Port 3306 in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/port-3306/m-p/626399#M1025402</link>
    <description>&lt;P&gt;I have pix 515e sitting in front of a webserver that is running linux and mysql. Mysql requires port 3306 be open so in the config on the pix would i just a access-list InboundFilter permit udp 3306 &lt;/P&gt;&lt;P&gt;access-list InboundFilter permit tcp 3306&lt;/P&gt;&lt;P&gt;or do i also need to add:&lt;/P&gt;&lt;P&gt;fixup protocol mysql 3306 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wich do i need or do i need all 3? Thanks &lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 09:36:25 GMT</pubDate>
    <dc:creator>tbarberio</dc:creator>
    <dc:date>2019-03-11T09:36:25Z</dc:date>
    <item>
      <title>Port 3306</title>
      <link>https://community.cisco.com/t5/network-security/port-3306/m-p/626399#M1025402</link>
      <description>&lt;P&gt;I have pix 515e sitting in front of a webserver that is running linux and mysql. Mysql requires port 3306 be open so in the config on the pix would i just a access-list InboundFilter permit udp 3306 &lt;/P&gt;&lt;P&gt;access-list InboundFilter permit tcp 3306&lt;/P&gt;&lt;P&gt;or do i also need to add:&lt;/P&gt;&lt;P&gt;fixup protocol mysql 3306 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wich do i need or do i need all 3? Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 09:36:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-3306/m-p/626399#M1025402</guid>
      <dc:creator>tbarberio</dc:creator>
      <dc:date>2019-03-11T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Port 3306</title>
      <link>https://community.cisco.com/t5/network-security/port-3306/m-p/626400#M1025403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First - if you do not have any access lists applied to the inside interface for outbound filtering then you don?t need to do anything as by default everything from a high security interface to a low security interface is allowed out, so your mySQL server will be able to communicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if you require access to your mySQL server from the outside on TCP port 3306 then you'll need to setup an access list on the outside interface and a static translation for your mySQL server for TCP port 3306.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question here - are you allowing any outside hosts to be able to connect to your mySQL server on TCP port 3306 or a specific host?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The required configuration for allowing access to your mySQL server on TCP port 3306 is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In configuration mode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside-in permit tcp any host &lt;YOUR_PUBLIC_IP_ADDRS&gt; eq 3306&lt;/YOUR_PUBLIC_IP_ADDRS&gt;&lt;/P&gt;&lt;P&gt;access-group outside-in in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp &lt;YOUR_PUBLIC_IP_ADDRS&gt; 3306 &lt;YOUR_INSIDE_MYSQL_SERVER_IP&gt; 3306 netmask 255.255.255.255 0 0&lt;/YOUR_INSIDE_MYSQL_SERVER_IP&gt;&lt;/YOUR_PUBLIC_IP_ADDRS&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would write out the configuration on a notepad first, copy any outside access list configuration to notepad and edit this with your new requirement - before copying back the edited configuration onto the PIX (in configuration mode), you'll need to add (as the first line of the edited configuration) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no access-list &lt;YOUR outside="" access="" list="" name=""&gt; &lt;/YOUR&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no access-list outside-in&lt;/P&gt;&lt;P&gt;access-list outside-in permit tcp any host &lt;YOUR_PUBLIC_IP_ADDRS&gt; eq 3306&lt;/YOUR_PUBLIC_IP_ADDRS&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- any other outside interface access lists ----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-group outside-in in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save with - write mem and also issue - clear xlate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you have a need to give access to a specific host from the outside then all you need to do is amend the access list as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside-in permit tcp host &lt;OUTSIDE_PUBLIC_IP_OF_CLIENT&gt; host &lt;YOUR_PUBLIC_IP_ADDRS&gt; eq 3306&lt;/YOUR_PUBLIC_IP_ADDRS&gt;&lt;/OUTSIDE_PUBLIC_IP_OF_CLIENT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above helps and if it does please rate posts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 07:34:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-3306/m-p/626400#M1025403</guid>
      <dc:creator>jmia</dc:creator>
      <dc:date>2007-02-21T07:34:05Z</dc:date>
    </item>
  </channel>
</rss>

