• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

allow update with iptables with deny approach

ArmandoC

New Pleskian
Hi everybody, i have configured my iptables to allow connections for a few known ip addresses...
What should I do to allow plesk update??
thanks
 
Hi everybody, i have configured my iptables to allow connections for a few known ip addresses...
What should I do to allow plesk update??
thanks

You should allow access to autoinstall.plesk.com and any servers listed in your system package manager repositories configuration. Also don't forget to allow access to Plesk licensing server. IIRC, autoinstall.plesk.com points to CDN, so IP address may vary.
 
so, i should do something like this?
iptables -A INPUT -s autoinstall.plesk.com -j ALLOW
iptables -A INPUT -s ka.parallels.com -j ALLOW

iptables -A INPUT -s repository_1 -j ALLOW
iptables -A INPUT -s repository_2 -j ALLOW
...
 
so, i should do something like this?
iptables -A INPUT -s autoinstall.plesk.com -j ALLOW
iptables -A INPUT -s ka.parallels.com -j ALLOW

iptables -A INPUT -s repository_1 -j ALLOW
iptables -A INPUT -s repository_2 -j ALLOW
...

Kind of, yes. Though you should probably use OUTPUT chain, so it looks like:

iptables -A OUTPUT -d autoinstall.plesk.com -j ACCEPT

This kind of rule would suffice provided you accept established connections as well.

Let me quote iptables(8) man page: "Address can be either a network name, a hostname (please note that specifying any name to be resolved with a remote query such as DNS is a really bad idea), ...".

Also I advise to try out Plesk firewall extension for managing firewall configuration.
 
if i use plesk's firewall, is there no need to allow plesk server? there are string for them...
for the repository?

and last question, is possible configure plesk firewall to filter mac address?
 
if i use plesk's firewall, is there no need to allow plesk server? there are string for them...
for the repository?

and last question, is possible configure plesk firewall to filter mac address?

Yes, you will need to manually allow any external servers since default Plesk firewall module policy for OUTPUT is to ACCEPT.

No, it doesn't allow to filter by MAC addresses.
 
I have seen the plesk's firewall (work on iptables)...to block all ip and allow only same ip i should block the www and allow the ip?

how can i block all the access in apache (like head, error....) with plesk firewall?

Thanks
 
Back
Top