# Using IPv6 NAT function in Docker with Discourse

**URL:** <https://meta.discourse.org/t/using-ipv6-nat-function-in-docker-with-discourse/253218>\
**Category:** Self-hosting\
**Created:** [January 29, 2023, 11:24am UTC](https://meta.discourse.org/t/using-ipv6-nat-function-in-docker-with-discourse/253218 "2023-01-29T11:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [April 4, 2023, 5:41pm UTC](https://meta.discourse.org/t/using-ipv6-nat-function-in-docker-with-discourse/253218/5 "2023-04-04T17:41:16Z")

</div>

> [@sam](#):
>
> I am mixed on changing this for all installs, exposing v6 may or may not be the intent of the user.

Agreed. The following is a better way to do this and gives an easy avenue to opt into this behaviour:

[https://github.com/discourse/discourse\_docker/pull/701](https://github.com/discourse/discourse_docker/pull/701)

---

_[View the full topic](https://meta.discourse.org/t/using-ipv6-nat-function-in-docker-with-discourse/253218)._
