Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
  • 30ad2779b166660a0dc7078a8c3ab5133d194aaa
  • master default protected
2 results

config-new.boot

Blame
  • config-new.boot 8.90 KiB
    firewall {
        all-ping enable
        broadcast-ping disable
        ipv6-receive-redirects disable
        ipv6-src-route disable
        ip-src-route disable
        log-martians enable
        name WAN_IN {
            default-action drop
            description "WAN to internal"
            enable-default-log
            rule 10 {
                action accept
                description "Allow established/related"
                log disable
                protocol all
                state {
                    established enable
                    invalid disable
                    new disable
                    related enable
                }
            }
            rule 20 {
                action drop
                description "Drop invalid state"
                log disable
                protocol all
                state {
                    established disable
                    invalid enable
                    new disable
                    related disable
                }
            }
        }
        name WAN_LOCAL {
            default-action drop
            description "WAN to router"
            rule 1 {
                action accept
                description "Allow established/related"
                state {
                    established enable
                    related enable
                }
            }
            rule 2 {
                action accept
                description "Allow Ping"
                destination {
                    group {
                        address-group ADDRv4_eth7
                    }
                }
                log enable
                protocol icmp
            }
            rule 3 {
                action drop
                description "Drop invalid state"
                log disable
                state {
                    invalid enable
                }
            }
        }
        options {
        }
        receive-redirects disable