I am using Self-Hosting ZeroTier Network Controllers.The version of ZeroTier I am using is 1.10.6.
When the Flow Rules are set as follows:
drop not ethertype ipv4
and not ethertype ipv6
and not ethertype arp
and not chr ipauth;
accept ethertype arp;
accept ipprotocol icmpv4;
accept ipprotocol tcp;
drop;
Ports 22 and 80 are allowed for connections.
But when the Flow Rules are set as follows:
drop not ethertype ipv4
and not ethertype ipv6
and not ethertype arp
and not chr ipauth;
accept ethertype arp;
accept ipprotocol icmpv4;
accept dport 22 and ipprotocol tcp ;
drop;
No ports, including port 22, are able to establish connections.
When I tried an alternative Flow Rules configuration:
drop not ethertype ipv4
and not ethertype ipv6
and not ethertype arp
and not chr ipauth;
accept ethertype arp;
accept ipprotocol icmpv4;
drop dport 22;
accept ipprotocol tcp ;
drop;
All ports, except for port 22, are able to establish connections.
Can someone tell me what the problem is? Thank you very much.