Date: Thu, 14 May 2009 15:33:27 +0400 From: =?UTF-8?B?0J7Qu9C10LMg0J/QtdGC0YDQsNGH0ZHQsg==?= <o.petrachev@sprinthost.ru> To: freebsd-hackers@freebsd.org Subject: ipfw uid rules for lo0 interface Message-ID: <4A0C0187.1030107@sprinthost.ru>
next in thread | raw e-mail | index | archive | help
Hello! I am using FreeBSD 7.2-RELEASE. I am trying to restrict connections to local smtp daemon to limited number of users. But when I create rules for ipfw with uid pattern, I don't get the desired result: all connections on 25 port are blocked and it is impossible to allow it for anyone. I am using the following rules (let's say only root is allowed send messages): # ipfw flush # ipfw add 100 allow ip from any to me 25 uid root # ipfw add 200 deny ip from any to me 25 # telnet localhost 25 Trying 127.0.0.1... And nothing is happening - the connection is neither allowed nor denied, it just hangs. What am I doing wrong? Thanks in advance!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0C0187.1030107>