csf blocking connection from specific ip

Post Reply
panel123
Junior Member
Posts: 5
Joined: 20 Dec 2017, 14:45

csf blocking connection from specific ip

Post by panel123 »

I've got a server with multiple public-facing IPs, and I'd like certain services to only be bound on certain IPs. Services like SSH and FTP can simply be configured to only bind to a single interface, but I've got a couple stubborn ones that insist on binding to them all.

What I'm basically looking for is something like CSF's TCP_IN option, but address-specific. For example, connections to 1.2.3.4:9000 are allowed, but connections to port 5.6.7.8:9000 are not.

On a semi-related note: is it possible to set cPanel to only make its control panel available on a certain IP? It's currently binding to a whole bunch of 20xx ports on every IP I add. I'd like things like WHM to only bind to a single IP.

تابلو چلنيوم
BlackTux
Junior Member
Posts: 1
Joined: 20 Dec 2017, 20:05

Re: csf blocking connection from specific ip

Post by BlackTux »

I too am looking for an option to bind an IP to a port.
Post Reply