Page 1 of 1

csf blocking connection from specific ip

Posted: 20 Dec 2017, 15:40
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.

تابلو چلنيوم

Re: csf blocking connection from specific ip

Posted: 20 Dec 2017, 20:09
by BlackTux
I too am looking for an option to bind an IP to a port.