# IPFS Private Network

**URL:** <https://discuss.ipfs.tech/t/ipfs-private-network/5228>\
**Category:** Help\
**Created:** [April 16, 2019, 6:59am UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228 "2019-04-16T06:59:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashritha-Kondapally](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/ashritha-kondapally/32/2661_2.png) [@Ashritha-Kondapally](https://discuss.ipfs.tech/u/Ashritha-Kondapally)\
**Post date:** [April 16, 2019, 6:59am UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/1 "2019-04-16T06:59:21Z")

</div>

In IPFS Private Network,

A and B are two nodes using different internet (JIO and Airtel)  
They share the same swarm key as well as bootstrap node C  
Bootstrap node C can show both the peer id’s of A and B. A and B can communicate to the Bootstrap node C.  
Can A and B communicate with each other when they use different internet?  
It works if both A and B are using the same internet.

---

<div class="post-metadata">

**Author:** ![leerspace](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leerspace](https://discuss.ipfs.tech/u/leerspace)\
**Post date:** [April 16, 2019, 12:09pm UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/2 "2019-04-16T12:09:39Z")

</div>

> [@Ashritha-Kondapally](#):
>
> Can A and B communicate with each other when they use different internet?

They should be able to unless the ISP is blocking external traffic to Node A or Node B.

Given that both JIO and Airtel appear to be mobile internet providers, I wouldn’t be surprised if individual subscribers are firewalled from the internet.

I would suggest upgrading to v0.4.19 and enabling the [experimental AutoRelay feature](https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#autorelay) on your nodes and bootstrap node. In short,

1. On Node A and Node B, `ipfs config --json Swarm.EnableAutoRelay true`
2. On Node C, `ipfs config --json Swarm.EnableAutoNATService true`

If that doesn’t work, you can try connecting Node A and Node B manually through the relay (Node C) as described [here](https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#circuit-relay).

---

<div class="post-metadata">

**Author:** ![stebalien](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/stebalien/32/156_2.png) [@stebalien](https://discuss.ipfs.tech/u/stebalien)\
**Post date:** [April 16, 2019, 5:03pm UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/3 "2019-04-16T17:03:12Z")

</div>

You’ll also need to turn node C into a relay by running `ipfs config --json Swarm.EnableRelayHop true`.

---

<div class="post-metadata">

**Author:** ![8000cabbage](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/8000cabbage/32/3544_2.png) [@8000cabbage](https://discuss.ipfs.tech/u/8000cabbage)\
**Post date:** [March 4, 2020, 5:22pm UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/4 "2020-03-04T17:22:39Z")

</div>

I have a similar problem; AB executable program downloaded from git version 0.4.23; C is version 0.5.0-dev compiled by myself;  
ABC uses the same swarm.key;  
C enable EnableRelayHop, EnableAutoNATService;  
A and B have EnableAutoRelay turned on; and they are running under different routers with upnp turned off;  
Nodes in C can see AB;  
My test method is:  
A add a file  
B get a file  
But B hasn’t responded for a long time.  
Error: Post [http://127.0.0.1:5001/api/v0/get?arg=QmNcKWhB2GJD9vWseNUYnH6wsgxf5p5ijBefuJArSs6f6o&encoding=json&stream-channels=true:](http://127.0.0.1:5001/api/v0/get?arg=QmNcKWhB2GJD9vWseNUYnH6wsgxf5p5ijBefuJArSs6f6o&encoding=json&stream-channels=true:) context canceled  
Am i missing something

---

<div class="post-metadata">

**Author:** ![8000cabbage](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/8000cabbage/32/3544_2.png) [@8000cabbage](https://discuss.ipfs.tech/u/8000cabbage)\
**Post date:** [March 5, 2020, 9:48am UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/5 "2020-03-05T09:48:51Z")

</div>

i edit DefaultRelays in the file [github.com](http://github.com)\libp2p\go-libp2p\p2p\host\relay\autorelay.go and found it works

---

<div class="post-metadata">

**Author:** ![lgy1027](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lgy1027](https://discuss.ipfs.tech/u/lgy1027)\
**Post date:** [July 15, 2020, 1:25am UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/6 "2020-07-15T01:25:14Z")

</div>

Hello, may I ask how you solved it and did you make any changes

---

<div class="post-metadata">

**Author:** ![zorrillosdev](https://avatars.discourse-cdn.com/v4/letter/z/f19dbf/32.png) [@zorrillosdev](https://discuss.ipfs.tech/u/zorrillosdev)\
**Post date:** [July 15, 2020, 2:30am UTC](https://discuss.ipfs.tech/t/ipfs-private-network/5228/7 "2020-07-15T02:30:05Z")

</div>

Check this [IPFS Private Network](https://discuss.ipfs.tech/t/ipfs-private-network/5228/2)
