Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2007 22:29:11 +0200
From:      "Tun Eler" <tuneler@bsdmail.com>
To:        freebsd-questions@freebsd.org
Subject:   IP FILTER and network address
Message-ID:  <20070502202911.01FDD7AEB8@ws5-10.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help
Hi all,
i want to have these two rules in the ipf.rules file

pass in quick on $oif proto tcp from 217.83.122.17/8 to $myip port =3D 22 f=
lags S keep state
pass in quick on $oif proto tcp from 217.83.89.61/8 to $myip port =3D 22 fl=
ags S keep state

where $iof is my interface. Executing the config file i get the following e=
rror

ioctl(add/insert rule): File exists

Which means the rule is being loaded twice. But the networka addresses abov=
e are
different!!! If i comment any of the above two lines, ipf executes fine.
Any idea how to solve this error, and allow only these two networks above?
Thanks in advance ...



--=20
_______________________________________________
Get your free email from http://bsdmail.com



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