NAT source translation not showing a single output

Running version: VyOS 1.4-rolling-202206130217

I’ve got source nat configured, when I run the command sh nat source translations detail when no entries are in the translation table, I get an empty output; which is expected.

When I force an entry in the table by pinging an external host (10.101.0.61); I would expect to show the translation in the table, however running the previous command again I get:

Pre-NAT src          Pre-NAT dst        Post-NAT src         Post-NAT dst 

So the command is just showing me the headers.

When I ping a second external host (10.101.0.62) and rerun the command, I get:

Pre-NAT src          Pre-NAT dst        Post-NAT src         Post-NAT dst      
10.101.50.200        10.101.0.61        10.101.41.1          10.101.0.61       
  icmp: 10.101.50.200 ==> 10.101.41.1 timeout: 13 use: 1 
10.101.50.200        10.101.0.62        10.101.41.1          10.101.0.62       
  icmp: 10.101.50.200 ==> 10.101.41.1 timeout: 16 use: 1 

Now the command will show me both entries; but only for as long as the timeout of the first entry has not exceeded…

Another curious thing is that the command sh nat destination translations detail appears to produce the exact same output as sh nat source translations detail

upgrading to VyOS 1.4-rolling-202206200217 fixes the issue

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.