Skip to content
0850 885 09 42 bilgi@verinomi.com Knowledge Base Support Ticket Client Area TR EN ₺ TL $ USD

Home / Knowledge Base / Virtual Firewall

Knowledge Base

Guides and answers to frequently asked questions.

Back to Virtual Firewall

Virtual Firewall

Adding and Editing Port Forwarding Rules

Print

Port forwarding passes a connection that arrives from the internet at a port of your public IP address to a server in your internal network. For example, you can forward connections arriving at port 443 of your public IP to your web server in the internal network.

Port forwarding tab

Adding a rule

In the client area, open Services > Firewall. On the Port forwarding tab, click Add rule and fill in the form:

  • Service: an optional ready-made list (HTTPS, remote desktop, SSH, email, databases, Plesk, cPanel and more). When you choose a service, the protocol, port and description are filled in; you can still change them. For a service that is not in the list, Enter manually stays selected. For SSH the public port is 2222 and the internal port 22. Not exposing SSH on the standard port 22 attracts fewer attacks; you can change the public port if you like.
  • Public IP: one of the public IP addresses assigned to your firewall.
  • Protocol: TCP, UDP or both. TCP is enough for websites, remote desktop and SSH.
  • Public port: one port between 1 and 65535 (443) or a range (5000-5010) per line; you can write several lines. A range can contain at most 1000 ports; a rule can have at most 15 ports or ranges. This is also shown below the field.
  • Target IP (internal network): the internal address of the server the connection is passed to. An example address from your internal network and the network itself are shown below the field (example: 192.168.10.10, internal network 192.168.10.0/24).
  • Internal port: the port on the internal server the connection is passed to. When you enter a single public port, this field is filled with the same value and follows it until you change it. By entering a different port you can, for example, forward public port 8080 to port 80 of the internal server. When you enter several ports or a range, the field is locked and shows "Same as the public ports".
  • Who can connect: Everyone or Only certain addresses. Choosing the second opens the address box. For sensitive services such as remote desktop, SSH and databases, "Only certain addresses" is selected by default. See the article "Opening a Port Only to Certain IP Addresses".
  • Description: a short note to recognise the rule (example: web server).
  • Duration: Permanent by default. If you want the rule to switch itself off after a while, choose 1 hour, 4 hours, 1 day or 1 week, or set the end time yourself with Pick a date and time (at least 10 minutes from now, at most 1 year). See "Temporary rules" below.
  • Also reachable from my internal network (NAT loopback): ticked by default. See the article "Access from Your Internal Network (NAT Loopback)".

The Summary line at the bottom of the form shows the rule in one sentence as you type (example: "HTTPS · 203.0.113.10 : 443 → 192.168.10.20 · open to everyone"). When you click Add rule, the rule is applied to your firewall and verified. This may take up to half a minute.

New port forwarding rule form

Rules that cannot be added

  • On the same public IP and protocol, a port already used by another rule cannot be forwarded again. You can remove that rule first or choose another port.
  • Port 10443 of your primary public IP is reserved for the firewall's management interface and cannot be forwarded. On some firewalls port 22 of the same address is also reserved for management; in that case you are told why when you try to add a rule for 22, and you can choose another public port such as 2222.
  • The number of rules you can add from the panel is limited. When only a few are left, the tab shows how many more you can add; when you reach the limit, you can open a support ticket to raise it.

Editing a rule

You can change a rule without deleting it. Click Edit on the rule's row and the form opens with the rule's current values. Make your changes and click Save changes; the rule is updated in place and verified. If you are not happy with the change, Undo last change returns the rule to its previous values.

Rule edit form

Copying a rule

To add a similar rule, use the Copy button on the row. The form opens filled with all values of the copied rule (including allowed sources and NAT loopback). Since two rules cannot share the same public IP and port, change the port or the public IP and click Add rule.

Rule order

The firewall checks rules from top to bottom; if two rules match the same connection, the upper one applies. In the Order list in the first column you can choose a rule's new position; after you confirm, the rule moves there in one step (a single choice is enough to bring the bottom rule to the top). The arrows next to it move the rule one step up or down. A new order is also verified after it is applied and rolled back automatically if it cannot be confirmed.

Disabling a rule

To switch a rule off temporarily without deleting it, click Disable on its row and confirm. The rule appears faded with "(Disabled)" next to its description, and connections to that port are not forwarded. The button then reads Enable; clicking it turns the rule back on. If you disable a rule that has a pending duration, the duration is cancelled too.

Temporary rules

A rule with a duration shows its end time and the time left below its description (example: "Ends: 09.11.2026 00:17 · 1 h 41 min left"). When the time is up, your firewall disables the rule by itself within a minute. The rule is not deleted; "Expired" and the date are shown below its description. The firewall applies the duration itself, so the rule switches off on time even if the panel is not open.

  • To change or remove the duration, click Edit; the Duration field offers the current end time as "Keep the current end".
  • To use an expired rule again, click Enable; the rule is turned on without a duration.
  • An expiry cannot be reversed with Undo last change.
  • Setting a duration and an expiry appear in the change history as "Duration" and "Expired".

Temporary rules are useful, for example, for opening remote desktop to a technician for a few hours or giving a supplier temporary access.

Choosing a duration in the rule form

Removing a rule

Click Remove on the rule's row and confirm. Connections arriving at that port are no longer forwarded. To remove or disable several rules together, see the article "Bulk Changes and Moving Rules with CSV".

Rules created by the support team

Rules our team defined for you show Created by the support team on their row. You can edit, copy and remove them just like your own rules; they do not count towards the number of rules you can add from the panel.

Who changed what and when

A changed rule shows Last edited on its row: whether you or the support team made the change, and when. The History link in the description column shows the rule's last ten changes (added, edited, order, NAT loopback and duration changes) with old and new values.

The rule's last edit and history

Was this answer helpful? 0

Could not find what you were looking for? You can open a support ticket.

Let us call you

For sales and information requests. For technical support on an existing service, please open a support ticket.

Your details are used only to get back to you. Privacy policy