# Do I need a static IP to run an IPFS server to mirror data?

**URL:** <https://discuss.ipfs.tech/t/do-i-need-a-static-ip-to-run-an-ipfs-server-to-mirror-data/5668>\
**Category:** Help\
**Created:** [June 16, 2019, 2:33pm UTC](https://discuss.ipfs.tech/t/do-i-need-a-static-ip-to-run-an-ipfs-server-to-mirror-data/5668 "2019-06-16T14:33:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jasonzhouu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/jasonzhouu/32/2682_2.png) [@jasonzhouu](https://discuss.ipfs.tech/u/jasonzhouu)\
**Post date:** [June 18, 2019, 7:27am UTC](https://discuss.ipfs.tech/t/do-i-need-a-static-ip-to-run-an-ipfs-server-to-mirror-data/5668/2 "2019-06-18T07:27:03Z")

</div>

> [@bulrush15](#):
>
> **Question 1** : I have a dynamic IP as part of my home internet package. Can I still mirror data for distribution to help out?

## enable auto relay

As you are using dynamic IP behind NAT, maybe your nodes are not reachable, and a relay is needed. The method is to configure `EnableAutoRelay` to `true`.

```auto
Swarm.EnableAutoRelay = true;

```

But it seems that it doesn’t work that well, currently.  
Lastest version have some improvement, but I have not test it.

> In one test it took maybe 30 minutes for me to get a public relay address to start getting advertised for my node. It looks like there might be some AutoNat/AutoRelay improvements [coming in v0.4.20](https://github.com/ipfs/go-ipfs/issues/6163), so perhaps this experimental feature will see some improvement in the next release.  
> refer: [Getting auto-relay to work - #8 by leerspace](https://discuss.ipfs.tech/t/getting-auto-relay-to-work/5140/8) 2019/04

---

_[View the full topic](https://discuss.ipfs.tech/t/do-i-need-a-static-ip-to-run-an-ipfs-server-to-mirror-data/5668)._
