Linux Firewall lock down FTP to certain IP's

4 posts / 0 new
Last post
#1 Thu, 09/06/2012 - 09:07
DoubleSpeed

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)?

Thu, 09/06/2012 - 10:11
andreychek

Howdy,

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.

-Eric

Fri, 09/07/2012 - 00:41
DoubleSpeed

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?

Fri, 09/07/2012 - 08:55
andreychek

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

-Eric

Topic locked