Page MenuHomeVyOS Platform

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

Description

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
[edit]
vyos@vyos# load
Loading configuration from 'config.boot'
Load complete. Use 'commit' to make changes effective.
[edit]
vyos@vyos# commit
[ nat ]
Destination NAT configuration error in rule "22": translation address not specified

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

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

Details

Version
1.3-rolling-202007170117
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

jjakob triaged this task as High priority.
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 edited a custom field.
jjakob edited a custom field.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:49 PM
erkin removed a subscriber: Global Notifications.