Linux Firewall lock down FTP to certain IP's

Within the Webmin Linux Firewall module I can see that there is an option to set Source address or network Equals, can anyone advise if this can and if so how specify multiple IP addresses (not a range)?


I don’t know whether or not this will work, but try adding a space-separated list of IP’s in the “Source address” field.

Something like:

x.x.x.x y.y.y.y z.z.z.z

If that doesn’t work, it means Webmin doesn’t support that functionality.

It looks like iptables does support that, but it would create each IP address as a unique rule.


Thanks I will give this a go however if it doesnt work do you know if Webmin will allow me to create multiple rules for same servce say FTP in order to handle the separate IP’s?

Sure, you can add as many rules as you like. The rules being used for the same service doesn’t actually matter.