Skip to content
Discussion options

You must be logged in to vote

If I go the CIDRwhitelist route, I guess I would set my ACL default back to allow?

Yes, with CIDRWhitelist approach:

Set ACL to default: allow. Use CIDRWhitelist on the entrypoint with bypass rules like - route immich.

Layer 4 vs Layer 7 rules:

  • ACL (Layer 4): Can only filter by IP address. Works on TCP/UDP level before HTTP parsing.
  • CIDRWhitelist (Layer 7): Runs at HTTP level, so hostname based bypass (route immich) works.

Adding SNI matching:

I could add allow: [sni public.example.com] at Layer 5 (TLS), but it gets tricky - Layer 5 rules would need to override Layer 4 ACL rules, which complicates the logic.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JPDVM2014
Comment options

Answer selected by JPDVM2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants