Security

how to preroute all the traffice from 443 to 8443

vin02
Path Finder

Splunk is running as non root user in our environment. we want to preroute all the traffic from port 443 to port 8443.

How to proceed with iptables and what are the policy needs to add in iptable?

0 Karma

FritzWittwer_ol
Contributor

For Redhat the following commands are doing it:

/sbin/iptables -t nat -I PREROUTING -p tcp --destination-port 443 -j REDIRECT --to-ports 8443
/etc/init.d/iptables save 
0 Karma

vin02
Path Finder

Its not working, I am not able to login through web url.

0 Karma

FritzWittwer_ol
Contributor
  • did yo check the ip tables with iptables -vL
  • what is the error you get
  • can you connect to port 8443
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...