Quote from: kebek on August 28, 2022, 10:03:59 PMCode Select# Backend: filemanager_backend (File Browser)
backend filemanager_backend
# health checking is DISABLED
mode http
balance source
# stickiness
stick-table type ip size 50k expire 30m
stick on src
# tuning options
timeout connect 30s
timeout server 30s
# ACL: ipIsInLocalNetwork_condition
acl acl_630bb0033adfc2.41301877 src 10.1.1.0/8
# ACTION: ipIsInLocalNetwork_rule
http-request deny if !acl_630bb0033adfc2.41301877
http-reuse safe
server filemanager_server 10.1.1.10:8000
Another solution where you don't have to deal with booleans
Hello, I'm trying to replicate this configuration for the ACL at the BE, but I can't find where. I'm now using the 25.1.3 version of OPNsense.
I can only do it using a condition and then mapping it to the rule for the BE, but this way, it appears on the FE rule ACL.
Thanks in advance.
JG
I think this has the same effect but I'm truing to simplefy the configs while I'm moving my HAproxy from a docker container to the OPNsense.