954,234 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

APF Firewall - Block Specific Ports on Subnets

Hello!

Here's the deal, my server has at least 5 different IP's.

What is need is to in some of that IP's block specifique ports.

Example:
120.120.120.120:4000 -> Port 4000 is open, I want it open!
120.120.120.124:4000 -> Port 4000 is open, I want it closed!

I'm using APF firewall. Can someone help?

Many thanks in advance.

=IceBurn=
Light Poster
25 posts since Dec 2008
Reputation Points: 18
Solved Threads: 0
 

Nevermind, I got it! :)

Here is the solution for anyone who needs it:

In deny_hosts.rules file add
out:d=4000:d=120.120.120.124

Thanks.

=IceBurn=
Light Poster
25 posts since Dec 2008
Reputation Points: 18
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: