Skip to content
An IPv6 gateway, on Vagrant, running DNSMasq for DHCPv4, DNS resolution and IPv6 SLAAC/RA
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Vagrant based IPv6 Gateway

This gateway uses Hurrican Electric's IPv6 service to establish a routed IPv6 /64 subnet to your network.

To use this on YOUR network, configure the following:

  1. Vagrantfile
    1. Line 8 to define the local IP of your host
    2. Line 15 to define the IPv4 gateway address on your LAN
  2. site.yml
    1. Line 19 to define the HE endpoint address to use for your tunnel
    2. Line 20 to define the local network endpoint address to use for your tunnel
    3. Line 22 to define the tunnel IPv6 address prefix
    4. Lines 33-39 to enable IPv4 DHCP and DHCPv6
    5. Lines 41-45 to define the local IPv4 network addressing and gateway
    6. Line 50 to define the IPv6 routed network (from
    7. Lines 215-224 to define your FIREWALL policy. Note this is not applied fresh each time, it's additive, so if you add something on the end, it's probably going to go after the Deny rule.
  3. authorized_keys to define your personal SSH keys... or just leave this blank, and always use "vagrant ssh" to get into the appliance.

This is just a "toy" project for my home network - it's certainly no replacement for "proper" IPv6 from your ISP, but it works for me, and it got me on IPv6.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.