Load config missing firewall state config

Hi Team,

I generate using python and jinja2 config templates for the routers. This works well but i noticed that only the firewall “state” config is not being applied when I load the config locally from the VyOS router. I use the command “load” filename.conf.

    name WAN_LOCAL {
        default-action drop
        default-log
        description WAN_TO_ROUTER
        rule 10 {
            action accept
            description "ALLOW ESTABLISHED/RELATED"
            state established
            state related
        } 

So everytime I have to manually configure the states for every rule. Is there something in the syntax that needs to added or what is going wrong here?

When loading the config file and I do not get any errors.

Cheers

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