network address in IP FILTER

Tun Eler tuneler at bsdmail.com
Wed May 2 20:27:16 UTC 2007


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 = 22 flags S keep state
pass in quick on $oif proto tcp from 217.83.89.61/8 to $myip port = 22 flags S keep state

where $iof is my interface. Executing the config file i get the following error

ioctl(add/insert rule): File exists

Which means the rule is being loaded twice. But the networka addresses above 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 ...




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


More information about the freebsd-questions mailing list