You need to configure firewall rules. For example:
## 1st would sugest configuring global state policies:
set firewall state-policy established action accept
set firewall state-policy related action accept
set firewall state-policy invalid action drop
## Then create custom firewall ruleset
## Create rules that are necessary for your requirements
## Attach these ruleset to interfaces ( in / out / local ) as needed
# example
set firewall name DMZ-IN rule 10 action accept
set firewall name DMZ-IN rule 10 destination address 192.168.10.0/24
set firewall name DMZ-IN rule 20 action drop
set firewall name DMZ-IN rule 20 destination address 192.168.20.0/24
set firewall interface eth0 firewall in name DMZ-IN