Page MenuHomeVyOS Platform

Destination NAT translation port without address fails to commit
Closed, ResolvedPublicBUG


Upgraded to latest 1.3 rolling with the rewritten NAT from a image before the rewrite, NAT section failed to apply on boot:

vyos@vyos:~$ configure
vyos@vyos# load
Loading configuration from 'config.boot'
Load complete. Use 'commit' to make changes effective.
vyos@vyos# commit
[ nat ]
Destination NAT configuration error in rule "22": translation address not specified

[[nat]] failed 
Commit failed  
vyos@vyos# show nat destination
+rule 22 {
+    description "SSH from outside"
+    destination {
+        port 23456
+    }
+    disable
+    inbound-interface eth0
+    log
+    protocol tcp
+    translation {
+        port 22
+    }

This used to just change the port number and leave the address unchanged.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

jjakob triaged this task as High priority.Jul 17 2020, 1:42 PM
jjakob created this task.
jjakob created this object in space S1 VyOS Public.
jjakob changed the subtype of this task from "Task" to "Bug".
jjakob changed the task status from Open to In progress.Jul 19 2020, 7:37 PM
jjakob claimed this task.
jjakob moved this task from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
jjakob moved this task from In Progress to Finished on the VyOS 1.3 Equuleus board.
jjakob changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
jjakob changed Why the issue appeared? from Will be filled on close to Implementation mistake.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:49 PM
erkin removed a subscriber: Active contributors.