Sample Header Ad - 728x90

How do I make a Linux-based IPv6 access point?

0 votes
1 answer
535 views
To make a typical IPv4-based access point on Linux, one does these steps: 1. Use hostapd to make e.g. wlan0 available for incoming connections; 2. Choose some local subnet. For example, 192.168.99.0/24. 3. Add one of IP addresses in that network (e.g. 192.168.99.1/24) to wlan0. 4. Enable forwarding both for this network (wlan0) and for upstream (e.g. eth0). 5. Insert MASQUERADE rule to firewall to enable NAT. 6. Start dnsmasq or other DHCP server to manage local IP addresses of clients. Are there similar steps for IPv6? Ideally clients of wlan0 should see the IPv6 world just as if they were connected to eth0 directly (i.e. not another NAT, which is unidiomatic in IPv6 world), something like a pseudo-bridge (true brctl bridging may be problematic). It would also be useful if eth0 could be reconnected to another network without requiring restarting the infrastructure for serving wlan0, just like in the IPv4 case. Will the steps be different depending on whether DHCPv6 or router advertisements are used on eth0?
Asked by Vi. (5985 rep)
Jul 18, 2023, 10:02 AM
Last activity: Aug 7, 2023, 04:48 AM