On Mon, 29 Apr 2002, Matt Stein wrote:

> pass in quick on eth0 proto tcp from any to eth0/32 port 25 flags S keep state
>                                             ^^^^^^^

Right after I hit send, this occured to me.  You could write the rule like
this:

pass in quick on eth0 proto tcp from any to my.domain.com port 25 flags S keep state 

When ipf loads the rule, it will lookup my.domain.com and fill in the ip
for you.  This, of course, assumes that you have DNS for the outside ip
address.
-- 
mat.

Reply via email to