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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.