NAT (snat) with persistent flag

Hi,
I ve found some older requests for perstent flag.
According to https://phabricator.vyos.net/T1083 the job is done but I can’t find nat flags option.
Is this possible already?

vyos@vyos# run sh version 
Version:          VyOS 1.3-rolling-202003130217
Built by:         autobuild@vyos.net
Built on:         Fri 13 Mar 2020 02:17 UTC
...

Thanks in advance.

Hi @Tormato
I’m afraid that this syntax is not ready yet.
I think the problem is that NAT rules uses old perl firewall scripts and the new code (or other features) should only be in python.
But we try something do with it.

1 Like

Fixed 1.3.0-rc6


set nat source rule 10 outbound-interface 'eth0'
set nat source rule 10 translation address 'masquerade'
set nat source rule 10 translation options address-mapping 'persistent'