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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...