1
General Discussion / Re: Allow access to port 9200 locally
« on: September 12, 2024, 03:37:02 am »You need a port forward to 127.0.0.1:9200 on the interface where the monitoring host is, not an allow rule on localhost.Unsure why I would need any port forwarding here, I'm connecting directly to the OPNsense box on the correct port.
Because the packets are not arriving on localhost (loopback) interface at all, as you have observed.
However, when trying from 10.1.1.21, the telnet never connects. Am I missing something obvious here? The 10.1.1.0/24 subnet is in the LOCAL group.
P.S. Making ES listen on wildcard is... crazy. Would really suggest to undo that and do the simple port forward. This post has a proper example of such NAT rule to make services that listen only on loopback accessible over LAN to chosen hosts. Use 10.1.1.21 for source and 9200 for destination and redirect target ports.