1and1 Help Centre Categories

print article

Access the 1&1 Virtual Server Linux Firewall in Virtuozzo

Learn how to gain access to the 1&1 Virtual Server Linux Firewall in Virtuozzo Power Panel to change it.

You can configure the firewall of your 1&1 Virtual Server Linux without being logged in to the system via SSH as the root user. If you have blocked SSH access through iptables, you can use the steps outlined below to re-enable SSH access by using the firewall module in Virtuozzo.

Step 2
Once logged in, click the Firewall link from the Container Services menu.
Container Services > Firewall
Container Services > Firewall
Step 3
The firewall will not already be active unless you have configured it. Select Normal firewall mode if you are just now enabling the firewall. The advanced mode can always be accessed later if necessary. Click the Submit button to continue. Select firewall mode > Normal firewall mode > Submit
Select firewall mode > Normal firewall mode > Submit
Step 4
See the firewall rules. If this is your first time enabling the firewall, some default rules will have been enabled by default. For any service you want to block, check the box next to the service and then click Delete to block connections.

If you want to add additional rules, click Add Access Rule. Modification of Access Rules
Modification of Access Rules
Step 5
Here you will see a list of services that are currently being blocked by the firewall but may be enabled to allow traffic. Check the box next to any services that need permission through the firewall. When finished, click Submit.

If you need to enable other services or open other ports that are not listed, continue reading through the next steps. Overview of blocked websites
Overview of blocked websites
Step 6
The services you just selected have now been added to the list of allowed connections. If you have additional ports or services that need access to/from your server, you may want to enable the Advanced Firewall Mode.

Click on Firewall Setup. Overview of allowed connections
Overview of allowed connections
Step 7
Select the Advanced firewall mode. It is suggested to use the default policy Drop so that all connections are refused except the ones you explicitly allow.

Click Submit after making a selection.

Advanced firewall mode with default policy Drop > Submit
Advanced firewall mode with default policy Drop > Submit

Now you will see more technical details about the firewall setup. You can now manage rules for incoming connections (Input tab) as well as the outgoing connections (Output tab) and forwarding rules (Forward tab).

Use the buttons on this screen to enable/disable specific rules, re-order the list using the up and down arrow buttons, or delete or add rules.

Do not forget that in the Advanced Firewall Mode you will need to manage both the Input and Output rules to ensure that the security of the server will perform as intended. Overview of firewall setup

Overview of firewall setup

For additional information, you may want to reference: