sixth_street
asked on
Limit to Postini IP Range in Plesk
I'm trying to limit incoming mail to only the IP range Postini provided me. How can I make this work in Plesk's control panel where it doesn't seem to accommodate ranges? Thx!
IP Range
74.125.148.0 - 74.125.151.255
CIDR Range
74.125.148.0/22
IP/Subnet Mask Pair
74.125.148.0
mask 255.255.252.0
IP Range
74.125.148.0 - 74.125.151.255
CIDR Range
74.125.148.0/22
IP/Subnet Mask Pair
74.125.148.0
mask 255.255.252.0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
iptables -A INPUT -s 74.125.148.0/22 -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP
Any changes to the firewall module in the control panel or rebooting the server will drop these rules and will need to be re-entered. If you let me know the version of linux you are using I can tell you how to save these indefinately. Alternatively you can attempt to translate these in the firewall module, but I think this is your issue.