I wanted to follow up on this reply from @PeterCxy :
We run an app that has some public ports, and some private management ports. We’d like to be able to restrict certain ports to specific IPv4 and IPv6 CIDRs at the Fly Proxy, to prevent forwarding connections to a Machine.
Currently, we enforce this manually in our app using the PROXY protocol. Are there existing features or previews that could help? Are there any updates support “programming” the proxy as of yet?
We would love to see native support such things in fly.toml, perhaps something like:
[[services]]
protocol = "tcp"
internal_port = 1081
[[services.ports]]
port = 8443
handlers = ["proxy_proto"]
[services.ports.ingress_acl]
default_action = "deny"
cidrs = [
"198.51.100.0/24",
"2001:db8:1234::/48",
]