Page MenuHomeVyOS Platform

NAT (op_mode): NAT op_mode command fails.
Closed, ResolvedPublicBUG


This appears to happen even with a basic masquerade rule.

rule 3 {
    description "RCF1918 172.12/12"
    outbound-interface eth0
    source {
    translation {
        address masquerade
[email protected]:~$ show nat source rules 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/", line 73, in <module>
    srcdest_json = dict_search('match.right', data['expr'][i])
IndexError: list index out of range


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Viacheslav claimed this task.
Viacheslav added a subscriber: Viacheslav.

Fixed, VyOS 1.4-rolling-202110130217

[email protected]:~$ show nat source rules 
Rule       Source                                             Translation                                        Outbound Interface
----       ------                                             -----------                                        ------------------
3                                     masquerade                                         eth0