Limit port 25 via ipfw

Mark admin at asarian-host.net
Sun May 23 17:15:01 PDT 2004


Hello,

I was experimenting a bit with limiting the amount on simultaneous
connections to port 25; because if sendmail starts rejecting connections (at
32), my Milter trips over it. I did the following, on FreeBSD 4.9R:

${fwcmd} add 65500 check-state
${fwcmd} add 65501 allow tcp from any to me 25,587 limit dst-addr 30

I thought that would do it. But sendmail still occassionally rejects
connections because the 32 limit is passed. Is there an error in my ipfw
rules somehow?

Thanks,

- Mark



More information about the freebsd-questions mailing list