Skip to content

Instantly share code, notes, and snippets.

@Techbrunch
Created March 29, 2020 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Techbrunch/ed69e2610a79f208617814019c5f9103 to your computer and use it in GitHub Desktop.
Save Techbrunch/ed69e2610a79f208617814019c5f9103 to your computer and use it in GitHub Desktop.
IPV6 Scan on AWS

Nmap IPV6 Scanning: https://nmap.org/book/port-scanning-ipv6.html

While IPv6 hasn't exactly taken the world by storm, it gets significant use in some countries and most modern operating systems support it. To use Nmap with IPv6, both the source and target of your scan must be configured for IPv6. If your ISP (like most of them) does not allocate IPv6 addresses to you, free tunnel brokers are widely available and work fine with Nmap. I use the free IPv6 tunnel broker service at http://www.tunnelbroker.net. Other tunnel brokers are listed at Wikipedia. 6to4 tunnels are another popular, free approach.

On AWS, enable IPV6 on the VPC, make sure to add an Internet Gateway with routes to the Internet in the route tables (0.0.0.0/0 and ::/0).

Source: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html

You should now be able to scan IPV6 address:

nmap -6 -p80 target.com -Pn

Note to use IPV6 with HTTPie:

http get http://[xxxx:xxxx:x:xx::xxx:xxxx]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment