Hi there,
First, thanks for you YT videos, they are great and that’s what guided me here because I’ve something I don’t get with my port forward configuration.
I’m currently trying to create a rule for my incoming traffic to be redirected to my haproxy. But nothing works as soon as I specify the destination port.
Here is my config:
interface: wan
protocol: tcp
source: alias with cloudflare IPs
source port: any to any
destination: wan
destination port: https to https
redirect: haproxy IP
redirect port: https
NAT reflection: system default (Pure NAT)
filter rule created.
With this config it’s not working, I do not reach the haproxy.
As soon as I change the config to
destination port: any to any
redirect port: any
It’s working like a charm.
I just don’t get it why nothing is working as soon as I specify a port.
I tried https, http, ssh. I also tried to redirect to a traefik despite the haproxy working. etc.
But here is my problem, I just want to open incoming to 443 for now.
This prevents me in a near future to open additional services for eg a FTP on 21 pointing to something else. etc.
And I’m also not really convinced it’s a good thing to have all port opened like that. at least for now I created an inverted rule to block everything not coming from cloudflare to mitigate the config.
Running on:
2.7.2-RELEASE (amd64)
Anyone has a clue?
thanks a lot