Ask about Flow Rules

I want to create a rule like the following, only devices with IP addresses 10.147.20.1 and 10.147.20.2 (i.e. Local Server and Public Server) can communicate with each other over the ZeroTier network. While other devices cannot communicate with each other, unless the devices want to communicate with the Local Server. What is the code for the rule?
I tried to use the rule I created, but it’s wrong

accept
ip && not (ip.src == 10.147.20.0/24 && ip.dst == !10.147.20.1/32 && ip.dst == !10.147.20.2/32)
;

please help me, i’m new here :slight_smile:

This topic was automatically closed after 30 days. New replies are no longer allowed.