Netcup Firewall Setup – Guide for VPS and Root Servers

How to configure netcup's upstream SCP firewall: policies, rules and best practices for VPS and Root Servers.

Your server just went online and its IP address is publicly reachable. Most operators know what follows: port scans, login attempts, attacks. If you run a VPS or Root Server, you don't want to filter that traffic only on the machine itself – ideally, you filter it in front of it.

netcup provides an upstream firewall in the Server Control Panel (SCP): free, policy-based and configured right in the browser. This guide shows you step by step how to set it up, which concepts stand behind it, and what to watch out for – including the pitfalls that cause outages in practice.

The Paradigm Shift

Before diving into configuration, it's crucial to understand why this feature is so powerful. A classic firewall runs on the server itself. This means a malicious packet has to travel through the data center's network infrastructure before the software firewall can say, "You shall not pass."

The new Netcup SCP Firewall sits in front.
It operates on Netcup's infrastructure level, stopping traffic before it ever touches your server. Unwanted data is filtered out before it can impact your system's load.

Feature Overview

Centralized Management

Configure everything directly within your browser via the SCP.

Policy-Based

Rules are grouped into "Policies" and can be assigned to multiple servers at once.

Default Policies

Pre-configured rules, including the automatic switch to DROP once you add your own rules.

Granular Rules

Filter by protocol (TCP, UDP, ICMP), source IPs, ports, and destination ports.

New vs. Existing Servers

Configuration in Detail

Management runs in the SCP via the Firewall menu in the top bar of the respective server; the rule collections themselves are managed under Firewall Policies. Before opening your first port, it is worth knowing how the firewall behaves.

0. How the firewall behaves (read this before adding rules)

1. The Policy Concept

Instead of tediously typing rules for every single server, netcup uses Policies. A Policy is essentially a container for a collection of rules. Policies are defined server-wide in the SCP and then assigned to individual servers. Each server and public network interface supports up to 500 active rules.

Screenshot: Creating a Firewall Policy

2. Defining Rules

The heart of the firewall is the individual rules. When you edit or create a policy, the dialog to add rules opens.

Screenshot: Defining Firewall Rules
Important: Order Matters!
Firewalls process lists from top to bottom ("First Match").

3. Firewall Overview & Defaults

Screenshot: Firewall Policy Overview

In the overview you see the default policies pre-configured by netcup:

A point that is often missed in practice: EGRESS. As soon as even a single EGRESS rule exists, the default action for outgoing traffic flips to DROP – then only the explicitly allowed exits survive. netcup therefore recommends creating INGRESS rules only in the normal case.

Strategies for Better Security

Strategy 1: Default-deny with an INGRESS allowlist Recommended

The most stable configuration that is hard to forget: create one policy with exactly the ports that have to be publicly reachable – and assign it to your servers. As soon as an INGRESS rule exists, everything else is dropped automatically. This is exactly how this homelab is secured: default-deny for its servers since September 2026, only the ports from the allowlist are publicly reachable. Internal networks (VPN, VLAN, localhost) are unaffected, because the firewall only applies to the public interface.

Scenario A: Web Server (Basic) Basic
  • SSH: Create a rule for Port 22 (TCP) for your IP only.
  • Web: Allow Port 80/443 for Source: * (Everyone).
Scenario B: Database Server DB
  • Web Access: Keep ports 80/443 closed.
  • DB Access: Allow Port 3306 only for the IP of your web server.
Scenario C: Defense in Depth Expert

Should you disable the local firewall? No! Always keep multiple layers of security. The SCP firewall is a free baseline protection in front of the server infrastructure – it does not replace a local firewall, but complements it perfectly (for example as a safeguard against misconfigurations of locally open services).

Conclusion

The introduction of the SCP Firewall is a significant step. Take an hour next weekend, log into the SCP, and start building your policies.

Status & Sources
Editorial review: November 19, 2026 – steps verified against the current Server Control Panel.
Tested environment: netcup VPS/Root Server, SCP firewall; in production in this homelab since September 2026 (default-deny, INGRESS allowlist).
Primary source: netcup Helpcenter – Firewall (as of November 19, 2026).