&gt; It&#x27;s basically a completely safe method and does not open up for anyone else to connect ...<p>Yes, &quot;only allows connections to a small number of peers&quot;.  However, depending on how the IDs in the P2P overlay connection are chosen, an attacker may be able to select an ID that causes their node to be one of the nodes that your device contacts.  Also, in the case where a remote login or remote execution vulnerability exists, the entire P2P network can be rapidly compromised, even though each node only punches holes in firewalls to a small number of other nodes.