firewall rule (iptables equivalent)

Hi,

I’m looking how to implement this two simple rules in VyOS

Important: no interface specified - so for ‘any’ interface.

Is this possible in VyOS CLI?

Regards

No, the native cli commands specify firewalls on a per interface or per zone basis. Even using zones, you still need to specify all the interfaces. You could just put those two commands in
/opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script

Thanks. I’m already doing this via /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script.
I was simply looking for “native” way :slight_smile:

Regards