I am trying to set a firewall rule in solaris that should block a port from external access. I could acheive this using iptables in linux and would like to do the same in solaris as well.
After some googling on ip filters in solaris, I found that we have to update the ipf.conf file in /etc/ipf/ with rules something like this.
allow in quick proto tcp from port = block in proto tcpfrom any port =
But, some thing went wrong and the port can still be accessed from an external ip.
Can anyone tell me how to acheive my goal? What went wrong and any docs for reference.
Your help is very much appreciated. Thanks in advance,
Thanks & Regards, Srikanth