How to connect 2 nodes in my own network (not private network)

Hi guys,

I’ve been searching for a while now, trying to connect two nodes in their own network. I already tried with the Private Network but I got an issue with it and I’m not sure that I can implement it with the libp2p. I only get a result with the circuit-relay, but I don’t want to have a node making the relay between two nodes.

The private network issue was an error with the daemon, it couldn’t run when I added the key of piskg to it.

I’m using js-ipfs with the CDN on browser-side and I removed all multiaddr from the bootstrap list.

Is there any way to do this?

Thank’s for helping me!