Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

pre-configuring rules

$
0
0

 

https://github.com/didenko/er_poe_fw

 

im looking at the above guide as a template for my rules.

 

lets say i wish to apply this configuration:

 

switch switch0 {
        description DMZ
        firewall {
            in {
                name DMZ_IN
            }
            local {
                name DMZ_LOCAL
            }
        }
        switch-port {
            interface eth2
            interface eth3
            interface eth4
        }
    }

whats the correct way to do it? in routeros, i can directly copy paste the pre-edited configuration.

 

how is it done here?

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles