Re: redirect/dnat to localhost address in prerouting chain?
Florian Westphal <[email protected]> Fri, 26 Sep 2025 00:13:29 +0200
| Newsgroups | gmane.comp.security.firewalls.netfilter.general |
|---|---|
| Message-ID | <[email protected]> |
Ian Pilcher <[email protected]> wrote: > In order to make this work, I currently have both stunnel and Apache > listening on the IPv4 wildcard address, which I don't like. There's no > reason that stunnel or Apache (on that port) should ever receive traffic > directly from another host. You can check if connection requests are subject to dnat (redirect) via 'ct status dnat'. This is the recommended solution to prevent 'direct connect'.