question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ipv6 not working with NPM in Docker

See original GitHub issue

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you’re not using someone else’s docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug til now i only used ipv4 and npm was working fine, even with an Access List. Now i am beginning to switch to ipv6. When no Acces List is set, NPM works fine with ipv6. But when i activate an Access List, i get a 403 Forbidden. Even when i allow my ipv6 Subnet in the Access List.

Nginx Proxy Manager Version v2.9.12

To Reproduce Steps to reproduce the behavior:

  1. add your ipv6 and ipv4 to an access list
  2. add this access list to a Website that is routed throug npm
  3. open the Website, that is routed through npm and has an access list.
  4. see 403 Forbidden

Expected behavior open the Website even when coming from ipv6, only if in access list allowed

Screenshots grafik

my Access List grafik

Operating System nmp is installed on a debian 10 (buster 10.10) in docker 20.10.8, build 3967b7d with enabled ipv6

Additional context For testing i installed nmp on a alpine Proxmox LXC, with the same Access List. There it was working like a charme.

I found out, that when i am coming from a ipv6 subnet, then this ipv6 IP is natted to a Docker-Internal ipv4 address. Even within a internal ipv6 network it is natted to a internal ipv6-address.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
swoop124commented, Dec 21, 2021

ok. i’ve installed a complet new alpine-lxc on my Proxmox Server and deployed npm. now it is working as expected. even with ipv6.

the only problem was, that i had to configure all my domains an certificates once again, so it would be very goot, if there is a export and import funktionality.

regards

0reactions
Intenoscommented, Dec 27, 2021

I just found that it works with jlesage/nginx-proxy-manager.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ipv6 not working with NPM in Docker · Issue #1606 - GitHub
Steps to reproduce the behavior: add your ipv6 and ipv4 to an access list; add this access list to a Website that is...
Read more >
Enable IPv6 support - Docker Documentation
How to enable IPv6 support in the Docker daemon. ... Note: IPv6 networking is only supported on Docker daemons running on Linux hosts....
Read more >
Running a Node app on both IPv4 and IPv6: Grouparoo Blog
We recently had a customer who wanted to run Grouparoo in a Docker cluster that only had IPv6 addresses enabled.
Read more >
How to reach localhost services from docker container with ...
This is something in your application configuration, not in the Docker setup. It must listen on IPv4 0.0.0.0 or IPv6 :: (either is...
Read more >
Re-installed docker container: Error response from daemon
My internet connection received a new IPv6 prefix. The container did not show the new prefix, so I restarted the docker service.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found