help with IP filter rules



Hello everyone.
I activated successfully IP filter in Solaris 10 with the following
rules:

block in all
pass in quick proto tcp from any to any port=22
pass in quick proto tcp from any to any port=25
pass in quick proto tcp from any to any port=80
pass in quick proto tcp from any to any port=587

Namely I want only the ssh, http and smtp services to be active. But
after activating the firewall I can't connect to the internet. When I
deactivate it there's no problem.

What's wrong with this rules? I thought they are correct :-(

.



Relevant Pages

  • Re: help with IP filter rules
    ... I activated successfully IP filter in Solaris 10 with the following ... pass in quick proto tcp from any to any port=22 ... Turn on logging for your block rule and see what's being blocked when ...
    (comp.unix.solaris)
  • IP Filter
    ... FreeBSD 6.0 setup as I began learning about the operating system and the ... However, upon entering the section regarding IP Filter, I have come ... block in log quick proto tcp from any to any with short ... pass in quick proto tcp from any to any port = pop3 keep state group 200 ...
    (freebsd-questions)