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
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