What are you trying to do? re: 22, we wont proxy traffic to port 22 unless you purchase Spectrum.
If you want to only allow traffic to 80 and 443 HTTP ports, then http.host eq "example.com" and not cf.edge.server_port in {80 443} works for me on my free plan zone.
Thanks! I understand that to proxy port 22 I need Spectrum.
To block all ports except 80 and 443: what about the âFieldâ in my rule? Iâm using âURL fullâ. Is that correct? Or should it be âHostnameâ or something else?
Click on âedit expressionâ and then copy and paste http.host eq "example.com" and not cf.edge.server_port in {80 443}
At the moment, your rule is saying âif the URL full equals âhttp.host eqâŚââ which obviously it never will
Yes, Iâm using http.host eq "example.com" and not cf.edge.server_port in {80 443}
Is the âURL fullâ Field correct? Should it be âHostname?â
Is the Operator âequalsâ correct? https://developers.cloudflare.com/firewall/recipes/require-specific-http-ports