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

BSides Splunk 2022 - The Call for Papers is now Open!

TLDR; Main Site: https://bsidessplunk.com CFP Site: https://bsidessplunk.com/cfp CFP Opens: December 15th, ...

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...