Ubiquiti - Settings - Routing & Firewall - Firewall - Rules IPv4
WAN IN
WAN OUT
WAN LOCAL
LAN IN
LAN OUT
LAN LOCAL
GUEST IN
GUEST OUT
GUEST LOCAL