nami install stuntman
stunclient stun.stunprotocol.org --mode behavior
stunclient stun.stunprotocol.org --mode filtering
You may often see NAT types like Full-cone NAT, Address-restricted-cone NAT, Port-restricted cone NAT, Symmetric NAT.
Many NAT implementations combine these types, so it is better to refer to specific individual NAT behavior instead of using the Cone/Symmetric terminology.
Go back to the output of the test command above, if you have to classify the above names: Full Cone is Endpoint-Independent Mapping，Endpoint-Independent Filtering. Symmetric is Address- and Port-Dependent Mapping, Address-Dependent Filtering or Address and Port-Dependent Filtering.