pgj / freebsd-wifibox

wifibox: Use Linux to drive your wireless card on FreeBSD
BSD 2-Clause "Simplified" License
159 stars 12 forks source link

IPv6 support #63

Closed pgj closed 1 year ago

pgj commented 1 year ago

Make the necessary changes to have IPv6 fully working. Tasks:

pgj commented 1 year ago

I have got a proof-of-concept solution working. Random notes about it:

ifconfig_wifibox0_ipv6="inet6 fd00::1/64 auto_linklocal"

*filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] [0:0] -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT [0:0] -A FORWARD -i eth0 -o wlan0 -j ACCEPT

COMMIT



- `dhcpd` needs to have installed for the Wifibox guest.  Not sure about the contents of the `dhcpd.conf`, defaults could just work fine.

- `radvd` is not needed.
pgj commented 1 year ago

A static route is needed in the guest too:

ip -6 route add fd00::/64 dev eth0
pgj commented 1 year ago

Automated propagation of information on DNS servers for the host should be solved somehow.