# Create private network with no connections on the same LAN

**URL:** <https://discuss.ipfs.tech/t/create-private-network-with-no-connections-on-the-same-lan/11373>\
**Category:** Help\
**Tags:** js-ipfs, ipld, go-ipfs, ipfs-cluster, ipns, files, libp2p, dht\
**Created:** [May 25, 2021, 8:19pm UTC](https://discuss.ipfs.tech/t/create-private-network-with-no-connections-on-the-same-lan/11373 "2021-05-25T20:19:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ege](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@ege](https://discuss.ipfs.tech/u/ege)\
**Post date:** [May 25, 2021, 8:19pm UTC](https://discuss.ipfs.tech/t/create-private-network-with-no-connections-on-the-same-lan/11373/1 "2021-05-25T20:19:59Z")

</div>

Hi everyone,

I am using the IPFS version of `0.8.0` .

I am trying to create a private IPFS network but I need to make connections with other IPFS nodes that are not in the local internet connection too (LAN).

I have tried it before, I followed the exact same steps in this _[Deploy a private IPFS network in 5 steps | by Sander van Laar | Medium](https://medium.com/@s_van_laar/deploy-a-private-ipfs-network-on-ubuntu-in-5-steps-5aad95f7261b)_ tutorial, but I can’t connect my nodes with each other and I can’t see any peers when I run the command `ipfs swarm peers` . I have 2 nodes, one of my node is AWS EC2 machine, the other node is running on my local computer.

Is that possible to make the connection with external nodes and how can I manage them with or without a command line (I know there is an IPFS API but can I use this API to create and destroy any private network?)
