I tried to setup a few simple rules in the Firewall (
https://www.ovh.co.uk/anti-ddos/firewall-network.xml), assigned to my new server, but it's not working as I expected.
(for context the intent was to reject any traffic to ftp ports, ssh ports, whm ports, then authorise with a lower priority number, my IP, so it was one of the few that could access them.
At first I thought it was working, but even though I have the same firewall configuration on every IP address (5) assigned to the server, I'm still getting a lot of users whom are trying to access my server via the ssh port, when they shouldn't even have access, because my CSF firewall had to block it instead.
So is there a guide (or can someone hint) on how to use this, as I thought this simple usage of the firewall would work, as I usually rely on CSF, if I can block secure access ports to a singular or small number of IP address' it massively limit my chances of my server being compromised via this method.
I've replaced my Ip with # obviously
Code:
0 Authorise IPv4 #.#.#.#/32
10 Refuse TCP all 20 20
11 Refuse UDP all 20 20
12 Refuse TCP all 21 21
13 Refuse TCP all 22 22
14 Refuse UDP all 22 22
15 Refuse TCP all 2083 2083
16 Refuse TCP all 2087 2087