csf & geoip
Posted: 21 Oct 2019, 16:29
Hello everyone,
I'm trying to configure csf so that only IPs from my country can access port 22.
I fill the 2 following configurations with the country code and port 22, like so:
CC_ALLOW_PORTS = "GB"
CC_ALLOW_PORTS_TCP = "22"
And removed port 22 from TCP_IN
But i'm still getting locked out after restarting CSF.
How can I know what's the reason for this? I saw that a service called geoIP is needed for this to function, do I need to do anything special to enable it?
Thanks for the help.
I'm trying to configure csf so that only IPs from my country can access port 22.
I fill the 2 following configurations with the country code and port 22, like so:
CC_ALLOW_PORTS = "GB"
CC_ALLOW_PORTS_TCP = "22"
And removed port 22 from TCP_IN
But i'm still getting locked out after restarting CSF.
How can I know what's the reason for this? I saw that a service called geoIP is needed for this to function, do I need to do anything special to enable it?
Thanks for the help.