• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk Firewall and Two IPS

DocGerry

New Pleskian
I have Ubuntu server with Plesk 12.5.30

A second IP was added to my server on eth0. To my alarm Plesk only offers firewall on the whole interface or am I missing something simple? It allows you to set rules from an IP, but I assume that means an external IP, not one of the IPs of the server.

So it seems I have to use IPTABLES direct, to set rules of each IP. Alas I some Plesk script re-writes IPTABLES on reboot.

How could one using Plesk achieve control of the firewall for each IP, assuming the IPs attached to the server etho are 5.5.5.5 and 5.5.5.6 eg

5.5.5.5:443 to 5.5.5.5:443 https apache
5.5.5.6:443 to 5.5.5.6:5555 something else.
5.5.5.6:80 to 5.5.5.5:22

and so on, and close the second IP to ping etc.

If I got my ISP to add another interface, so we have eth0 and eth1, would that allow Plesk to offer me control over the firewall for each IP? But that should not be necessary.


Gerry Bulger
 
Back
Top