You need to define a table.
See relayed.conf manual page
Section macros

-Stefan




Le 16 juil. 2022 22:09, Paul Pace <p...@mostlybsd.com> a écrit :
Hello!

I'm working on a relayd.conf configuration where I want to limit access
to the path of an admin panel at /admin/ by using the from parameter in
a protocol filter rule.

I expect more than one IP address so want to use a macro with more than
one IP address (or even more than one macro), similar to how I use them
in httpd.conf and pf.conf:

admin_ips = "{ 203.0.113.5, 198.51.100.103 }"

When I add this to line 4 of relayd.conf and before creating a rule, I get:

relayd -n
/etc/realyd.conf:4: syntax error

Have I just merely made a syntax error or is what I want to do not
possible in relayd.conf?

Thank you,


Paul


Reply via email to