Hostapd + DHCPV6 + IPV6 + Ubuntu 13.04

Hello again.

In a previous post I did show how to use an Ad-Hoc network using IPTables masquerading to allow Wi-Fi clients to connect.

The main reason was that I already have a dual stack with FC running that connects me to my cable provider.

On the other hand I use a cheap wireless router when I need Wi-Fi connectivity to my smart-phone or my laptop but my Wi-Fi router does not support IPV6 so the setup worked as a charm.

The setup has a drawback. On my wireless router I used MAC filtering, while a determine hacker could in principle get in anyway, in most cases MAC filtering provides sufficient security, only those clients with MAC addresses you allow can get an address and connect.

In addition the Ad-Hoc network was unreliable so I decided to make the FC server a hotspot and use DNSMASQ for DHCPV6. It works great.

So here we go.

Continue reading “Hostapd + DHCPV6 + IPV6 + Ubuntu 13.04”

IPV6 Ad-Hoc Networks plus Masquerading

Now that I have a dual stack working with IPV6 I decided to test wireless and IPV6.

That posed a problem since the wireless router I use does not support IPV6 and it cannot be upgraded but that would not have helped me since I receive a /64 and you cannot create several networks out of it, let’s say /65, since stateless configuration will break and you need separate networks to route properly.

Continue reading “IPV6 Ad-Hoc Networks plus Masquerading”