Page MenuHomeVyOS Platform

Increase maximum number of NAT rules
Closed, ResolvedPublicENHANCEMENT

Description

The current maximum of 9999 can be very limiting when having a custom numbering system (I use a 2-digit prefix that identifies all rules for a single destination IP and a 2-digit suffix for the rule number for that IP). I'm running into a situation where I need to configure more than 100 sub-rules for a single destination IP, this means I'd need to break my numbering system.

An easy fix would be to increase the maximum to 99999 or even 999999.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

jjakob triaged this task as Normal priority.
jjakob created this object in space S1 VyOS Public.

This will be a oneliner in the new XML implementation. Just send PR

jjakob changed the task status from Open to In progress.Aug 6 2020, 3:37 PM
jjakob claimed this task.
jjakob moved this task from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
jjakob changed the subtype of this task from "Task" to "Enhancement".
erkin removed a subscriber: Global Notifications.
syncer moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.0-epa1) board.
syncer moved this task from Open to Finished on the VyOS 1.4 Sagitta board.
Unknown Object (User) reopened this task as Confirmed.Dec 25 2021, 6:07 AM
Unknown Object (User) subscribed.

In 1.3.0 the limitation remains

This happened because the rule numbers only got increased in the XML implementation but not in the old Perl backend. This has been fixed.

c-po edited a custom field.
c-po edited a custom field.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus ( 1.3.1) board.
dmbaturin set Issue type to Feature (new functionality).Fri, Nov 8, 10:49 AM