# 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:** 1

<div class="post-metadata">

**Author:** ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)\
**Post date:** [January 29, 2023, 11:24am UTC](https://meta.discourse.org/t/using-ipv6-nat-function-in-docker-with-discourse/253218/1 "2023-01-29T11:24:03Z")

</div>

for your information, I just did create a pull request for the web.ssl.template.yml to be able to use the IPv6 NAT function of Docker in a Discourse instance.  
With my change I was able to use the IPv6 NAT of Docker with Discourse.  
Without my change, requests from IP6 clients were rejected by Discourse, only requests from IP4 clients were accepted.  
NAT IP6 is now handled by Docker similiar to NAT IP4.

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

---

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