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.

Showing firewall configuration on interfaces

You can view firewall information in configuration nodes by using the show command in configuration mode. The following example shows how to display firewall configuration in configuration mode.


vyatta@R1# show security firewall

    name FWTEST-1 {
        rule 1 {
            action accept
            source {
                address 172.16.0.26
            }
        }
    }
    name FWTEST-2 {
        rule 1 {
            action accept
            destination {
                address 10.10.40.101
            }
            source {
                address 10.10.30.46
            }
        }
    }
    name FWTEST-3 {
        rule 1 {
            action accept
            destination {
                port telnet
            }
            protocol tcp
            source {
                address 10.10.30.46
            }
        }
    }
    name FWTEST-4 {
        rule 1 {
            action accept
            destination {
                address 172.16.0.0/24
            }
            source {
                address 10.10.40.0/24
            }
        }
    }
    vyatta@R1#