Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces loopback <interface> firewall local <ruleset>

Applies a firewall rule set to a loopback interface.

set interfaces loopback interface firewall local ruleset
delete interfaces loopback interface firewall local ruleset
show interfaces loopback interface firewall local
interface
The name of a loopback interface. The value of this parameter is lo.
local ruleset
Applies the ruleset for packets destined to the vRouter arriving on any interface.

Configuration mode

interfaces {
    loopback lo {
        firewall {
            local ruleset
        }
    }
}
Use this command to apply a firewall rule set to all interfaces.
Note: The use of the lo interface indicates that the rules must be applied on all interfaces, for packets destined for the vRouter.

If an interface also has local rule sets applied directly on the interface, then those rule sets are run first. Only if there is no match will it then run the ones attached to the loopback lo interface.

To use the firewall feature, you must define a firewall rule set as a named firewall instance by using the security firewall name <name> command. You then apply the firewall rule set to the loopback interface.

Use the set form of this command to apply a firewall rule set to the loopback interface.

Use the delete form of this command to delete a firewall rule set from the loopback interface.

Use the show form of this command to display the configuration of a firewall ruleset on the loopback interface.