@Jeroen1,
With respect to
Regarding the hierarchical structure, I guess this means the hierarchy in the ubuntu config file right? Because in the plesk GUI there doesn't seem to be any logical hierarchy.
the following.
The Plesk GUI is just a graphical representation of iptables (i.e. the firewall) and a logical hierarchy can be introduced in the Plesk GUI by adding custom firewall rules.
These custom firewall rules will (naturally) be translated to appropriate (hierarchical) firewall rules within iptables, upon activation.
In short, hierarchy is or can be present in both Plesk GUI as iptables.
How to add custom firewall rules? Just open Plesk Firewall extension and select "Modify Plesk Firewall rules".
It is a relatively easy process, but be carefull (before you know it, you made a mistake, sometimes leading to exclusion of access to the Plesk Panel).
With respect to
I have added the IP to the VPN. But now I am still able to connect on ssh via a different IP.
the following.
First of all, make sure you selected the "allow, deny others" option (and not the "allow" option) for the VPN connection. Verify that (and report back).
Second, you can read some information about VPN in the administrator´s guide, see
http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=62400.htm
It is quite normal that you log in, as long as you log in via the VPN.
If you want to restrict SSH access via the VPN, a (relatively) complicated set of (custom) firewall rules has to be introduced.
I suggest that you disable the VPN module for Plesk, since it does not add any significant security, if you have a proper firewall configuration.
I also suggest that you install Fail2Ban module, in order to have some specific (bad) IPs automatically blocked for a specific duration (i.e. this reduces the exhaustive task of continuously configuration of the Plesk firewall). Note that Fail2Ban adjusts iptables, implying that has the same effect as manual firewall configuration.
As a final and relevant note, you should deny access to all applications/services that you are not using.
For instance, if you are not using Samba, deny all access (with a firewall adjustment with the Plesk GUI).
Also as an relevant illustration: plesk administrative interface access should, by preference, only be present for the administrator, i.e. allow your own IP, block all others!
Kind regards....