Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 14:11:28 +0100
From:      Reinhard Haller <reinhard.haller@interactive-net.de>
To:        freebsd-pf@freebsd.org
Subject:   tables in anchors
Message-ID:  <47C6B300.4080507@interactive-net.de>

next in thread | raw e-mail | index | archive | help
Hi,

the anchor rule in the following ruleset doesn't work.

table <smtpHosts> const { 192.168.0.25, \
                          192.168.1.0/24, \
                          192.168.125.0/24 }
anchor mailIn proto tcp to $mail_addr { \
#exim
    pass quick proto tcp from <smtpHosts> to any port smtp \
}
pass quick proto tcp from <smtpHosts> to $mail_addr port smtp

Checking with pfctl -t smtpHosts -T show
results in "table doesn't exist", the second rule works as expected.

Any suggestions?

Thanks
Reinhard





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C6B300.4080507>