Show nat source will show error

When I using show nat source rules, it will show me this.

vyos@vyos:~$ show nat source rules
Rule       Source                                             Translation                                        Outbound Interface
----       ------                                             -----------                                        ------------------
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/", line 102, in <module>
    if isinstance(tran_addr_json['port'],int):
KeyError: 'port'

How should I do to solve this problem…?
My config doesn’t have any error and it can work.

I’m using the latest rolling version vyos-1.4-rolling-202109240217-amd64.iso.

Hi @chesskuo
Just reopened this in phabricator: ⚓ T3435 NAT rules show corruption

1 Like