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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...