Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Applying a rule set to the DMZ zone

The following example shows how to apply the rule set to the DMZ.

Table 1. Applying a rule set to the DMZ
Step Command

Apply the private_to_dmz rule set to traffic from the private zone to the DMZ.

vyatta@R1# set security zone-policy zone dmz from private firewall name private_to_dmz

Apply the public_to_dmz rule set to traffic from the public zone to the DMZ.

vyatta@R1# set security zone-policy zone dmz from public firewall name public_to_dmz

Commit the configuration.

vyatta@R1# commit

Show the DMZ policy configuration.

vyatta@R1# show security zone-policy zone dmz

 description "DMZ ZONE"
 from private {
    firewall {
        name private_to_dmz
    }
 }
 from public {
    firewall {
        name public_to_dmz
    }
 }
 interface dp0p1p3