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
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.