Knowledge Management

How to make the KV store port 8191 to listen to local IP only

huajieyang
New Member

As the title, How to make the KV store port 8191 to listen to local IP only?

Or what's the guide line to harden this port. This document only suggest to harden this port, but not the steps.
https://docs.splunk.com/Documentation/Splunk/7.2.5/Security/HardenyourKVstoreport

Tags (2)
0 Karma

jarrahbloomfiel
New Member

On Linux, I prevented remote access to this port using iptables:

# /sbin/iptables -A INPUT -s 127.0.0.1/32 -p tcp -m tcp --dport 8191 -j ACCEPT
# /sbin/iptables -A INPUT -p tcp -m tcp --dport 8191 -j DROP
# /sbin/service iptables save

The first line allows local access to the port, the second line denies all other access.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...