- Plesk for Linux
How to add dynamic IP to Fail2Ban whitelist?
The only way to add dynamic IP to Fail2Ban whitelist is to add the whole network if dynamic IP addresses are located inside one network. For that:
- Log into Plesk.
- Go to Tools & Settings > IP Address Banning (Fail2Ban) > Trsuted IP Addresses page.
- Press Add Trusted IP Address button.
- Put the whole network (e.g. 203.0.113.0/24.) in the IP address field and press OK button.
Note: 203.0.113.0/24 is an example of the network where dynamic IPs are located. Replace it with your own.