Simple firewall example

In this example a very simple firewall is setup. Given a router with 3 interfaces a) public ip address from internet b) dmz zone c) trusted network zone Computers in trusted network zone are allowed to reach computers in dmz zone, but sessions opened in the dmz zone are not allowed to reach the trusted zone.

Simple firewall example
interfaces { ethernet eth0 { address 192.168.1.1/24 description trustedlan duplex auto firewall { out { name DMZ-Trusted }       }     ethernet eth1 { address 192.168.10.1/24 description "dmz" }    }     ethernet eth2 { address dhcp description "isp connection" } firewall { name DMZ-Trusted { default-action accept rule 10 { action reject source { address 192.168.10.0/24 }            state { new enable }        }     }