I have several VLAN that I would like to isolate from the other vlans - but still be able to connect to WAN.
I have used the configuration below and it works.
But i want to allow RDP connection on WAN adress internal. It works before i activate this rules on interfaces.
From outside it still works, but internal it wont work with WAN adress but works with local adress.
set firewall group network-group PROTECT_NETWORKS
set firewall group network-group PROTECT_NETWORKS description "Protected Networks"
set firewall group network-group PROTECT_NETWORKS network 192.168.0.0/16
set firewall group network-group PROTECT_NETWORKS network 172.16.0.0/12
set firewall group network-group PROTECT_NETWORKS network 10.0.0.0/8
set firewall name BLOCK_IN
set firewall name BLOCK_IN default-action accept
set firewall name BLOCK_IN rule 10 action accept
set firewall name BLOCK_IN rule 10 description "Accept Established/Related"
set firewall name BLOCK_IN rule 10 protocol all
set firewall name BLOCK_IN rule 10 state established enable
set firewall name BLOCK_IN rule 10 state related enable
set firewall name BLOCK_IN rule 20 action drop
set firewall name BLOCK_IN rule 20 description "Drop PROTECT_NETWORKS"
set firewall name BLOCK_IN rule 20 destination group network-group PROTECT_NETWORKS
set firewall name BLOCK_IN rule 20 protocol all
set firewall name BLOCK_LOCAL
set firewall name BLOCK_LOCAL default-action drop
set firewall name BLOCK_LOCAL rule 10 action accept
set firewall name BLOCK_LOCAL rule 10 description "Accept DNS"
set firewall name BLOCK_LOCAL rule 10 destination port 53
set firewall name BLOCK_LOCAL rule 10 protocol udp
set firewall name BLOCK_LOCAL rule 20 action accept
set firewall name BLOCK_LOCAL rule 20 description "Accept DHCP"
set firewall name BLOCK_LOCAL rule 20 destination port 67
set firewall name BLOCK_LOCAL rule 20 protocol udp