<?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: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46972#M8893</link>
    <description>&lt;P&gt;I think your best bet is to bind locally via splunk-launch.conf then use iptables (DNAT) or xinetd (redirect) to forward inbound requests to the ports you wish to expose. &lt;/P&gt;

&lt;P&gt;That's more of a security first answer than the alternative of locking down the other ports Splunk listens to at 0.0.0.0.&lt;/P&gt;

&lt;P&gt;Ask your SE to submit a feature enhancement request for binding address on a per listener basis if that's important to your specific use case.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 03:20:40 GMT</pubDate>
    <dc:creator>jespencer_splun</dc:creator>
    <dc:date>2016-11-15T03:20:40Z</dc:date>
    <item>
      <title>How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46967#M8888</link>
      <description>&lt;P&gt;For security reasons we would like to disable the management port but unfortunately very neat debugging commands such as&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./bin/splunk list monitor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;stop working after that. It would be ok if we have the port enabled but accessible only for localhost communication. Altough the configuration explicitly sets the localhost IP address it is still possible to open telnet connections from other ports.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;web.conf
[settings]
mgmtHostPort = 127.0.0.1:8089
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Even netstat shows that the port is open on every available network interface.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# netstat -an | grep 8089
tcp        0      0 0.0.0.0:8089                0.0.0.0:*                   LISTEN      
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Question: how can we force the Universal Forwarder (or even the Heavy Forwarder) to bind to the localhost interface only?&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 14:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46967#M8888</guid>
      <dc:creator>cwacha</dc:creator>
      <dc:date>2012-05-09T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46968#M8889</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/Admin/BindSplunktoanIP" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/Admin/BindSplunktoanIP&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You should be able to set SPLUNK_BINDIP=127.0.0.1 in $splunk_home/etc/splunk-launch.conf so it will only bind to localhost.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46968#M8889</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2020-09-28T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46969#M8890</link>
      <description>&lt;P&gt;Great! This did the trick. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 19:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46969#M8890</guid>
      <dc:creator>cwacha</dc:creator>
      <dc:date>2012-05-09T19:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46970#M8891</link>
      <description>&lt;P&gt;Yes, but then you have have everything bonded to that IP...&lt;/P&gt;

&lt;P&gt;what about if I want the http listener and the management only listening on localhost, and splunk syslog and forwarder ports listening on 0.0.0.0 or a specific IP???&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2014 15:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46970#M8891</guid>
      <dc:creator>redoracle</dc:creator>
      <dc:date>2014-02-16T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46971#M8892</link>
      <description>&lt;P&gt;We also would like the mgmt port to listen only on localhost as well. The port on the IP is being picked up app scans and coming up with SSL vulnerabilities so it would be best to not have it on the network on every host.&lt;/P&gt;

&lt;P&gt;Has anyone been able to get it to bind only to 127.0.0.1?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 21:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46971#M8892</guid>
      <dc:creator>bricker</dc:creator>
      <dc:date>2015-07-01T21:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit mgmt port access to localhost only on Universal Forwarder or Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46972#M8893</link>
      <description>&lt;P&gt;I think your best bet is to bind locally via splunk-launch.conf then use iptables (DNAT) or xinetd (redirect) to forward inbound requests to the ports you wish to expose. &lt;/P&gt;

&lt;P&gt;That's more of a security first answer than the alternative of locking down the other ports Splunk listens to at 0.0.0.0.&lt;/P&gt;

&lt;P&gt;Ask your SE to submit a feature enhancement request for binding address on a per listener basis if that's important to your specific use case.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 03:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-mgmt-port-access-to-localhost-only-on-Universal/m-p/46972#M8893</guid>
      <dc:creator>jespencer_splun</dc:creator>
      <dc:date>2016-11-15T03:20:40Z</dc:date>
    </item>
  </channel>
</rss>

