konklone / oversight.garden

Bringing together the oversight community's work.
https://oversight.garden
Creative Commons Zero v1.0 Universal
26 stars 9 forks source link

IPv6 support, take two #197

Closed divergentdave closed 7 years ago

konklone commented 7 years ago

:+1:

divergentdave commented 7 years ago

Safety not guaranteed, I still need to test this, and I'm not sure when I'll get around to that.

divergentdave commented 7 years ago

Fixed a typo and added ::/0 to the EC2 security group, but this still isn't working yet.

divergentdave commented 7 years ago

So nginx is listening, the security group should be allowing traffic in and out, and the AAAA record is set, but the server still isn't reachable. Moreover, I SSH'd into the server and tried to reach ipv6.google.com from there, but that didn't work. Any ideas?

konklone commented 7 years ago

Might anything need to be done to the OS configuration itself to configure or open up IPv6 connections?

divergentdave commented 7 years ago

Maybe, though I'm not sure what, at this point. ifconfig says that it has an IPv6 address.

divergentdave commented 7 years ago

I added an IPv6 route to the internet gateway to the VPC's route table (thanks @ozzyjohnson!) but it still seems to be unreachable.

divergentdave commented 7 years ago

This is now complete and working. The last piece was to update the configuration under /etc/network/interfaces.d/. The configuration that the cloud-init package had built was not dual stack. See also http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-migrate-ipv6.html#ipv6-dhcpv6-ubuntu-16.

Many thanks to @ozzyjohnson and @krues8dr for advice. I'm going to merge this and do a clean deploy.

screenshot from 2017-07-09 23-07-38

konklone commented 7 years ago

Really, really nice job working through this, @divergentdave.