Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tryed everything, cannot make it work.. Please help #79

Open
minyor opened this issue Sep 13, 2022 · 0 comments
Open

Tryed everything, cannot make it work.. Please help #79

minyor opened this issue Sep 13, 2022 · 0 comments

Comments

@minyor
Copy link

minyor commented Sep 13, 2022

  • OS: Debian 9.6
  • IPv6 range 2a01:4f8:192:6406::/64 pinging successfully from outside
  • ping6 google.com is working fine from host

Steps I made:

nano /etc/docker/daemon.json

{
    "experimental": true,
    "ipv6": true,
    "fixed-cidr-v6": "2a01:4f8:192:6406::/64"
}

service docker restart

sysctl -w net.ipv6.conf.enp0s31f6.accept_ra=2
sysctl -w net.ipv6.conf.all.forwarding=1
sysctl -w net.ipv6.conf.default.forwarding=1

docker run -d --privileged --name ipv6nat --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_MODULE --cap-drop ALL --network host --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock:ro -v /lib/modules:/lib/modules:ro robbertkl/ipv6nat --retry --debug

ip6tables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
DOCKER-USER  all      anywhere             anywhere            
DOCKER-ISOLATION-STAGE-1  all      anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain DOCKER (0 references)
target     prot opt source               destination         

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target     prot opt source               destination         
RETURN     all      anywhere             anywhere            

Chain DOCKER-ISOLATION-STAGE-2 (0 references)
target     prot opt source               destination         
RETURN     all      anywhere             anywhere            

Chain DOCKER-USER (1 references)
target     prot opt source               destination         
RETURN     all      anywhere             anywhere

docker run --rm -it debian:9 ping6 google.com -c3

PING google.com(fra24s07-in-x0e.1e100.net (2a00:1450:4001:82a::200e)) 56 data bytes

--- google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2032ms

Fought with this for a halve a day with no success.
Please help

@minyor minyor changed the title Tryed eveything, cannot make it work.. Please help Tryed everything, cannot make it work.. Please help Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant