How to enable prior disabled rules

dnat
snat
cli

#1

Vyos ver. 1.1.8

When in configuration mode, you can easily disable a NAT rule by using the “disabled” argument. E.g.:

set destination nat rule 10 disabled

But how to enable it again ?


#2
delete destination nat rule 10 disabled
commit
save

#3

So there is no way to enable the rule again but to delete ad re-create (?)


#4

You’re only deleting the ‘disabled’ component, not the entire rule


#5

Allright :slight_smile: Thank you


#6