Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nomaster
Last active December 4, 2023 12:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nomaster/91a4b97528ae78644d015c632aa35e16 to your computer and use it in GitHub Desktop.
Save nomaster/91a4b97528ae78644d015c632aa35e16 to your computer and use it in GitHub Desktop.
IPv6 on UniFi guest wireless network
config.system_cfg.1=ebtables.101.cmd=-t nat -I GUESTIN 1 -p IPv6 -d 06:be:ef:00:00:00/ff:ff:ff:00:00:00 -j ACCEPT
config.system_cfg.2=ebtables.102.cmd=-t nat -I GUESTIN 2 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type router-solicitation -j ACCEPT
config.system_cfg.3=ebtables.103.cmd=-t nat -I GUESTIN 3 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-advertisement -j ACCEPT
config.system_cfg.4=ebtables.104.cmd=-t nat -I GUESTIN 4 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-solicitation -j ACCEPT
config.system_cfg.5=ebtables.105.cmd=-t nat -I GUESTOUT 1 -p IPv6 -s 06:be:ef:00:00:00/ff:ff:ff:00:00:00 -j ACCEPT
@nomaster
Copy link
Author

Make sure to include your routers in the list of allowed broadcast senders, in case you enabled the broadcast filtering feature.

@nomaster
Copy link
Author

Replace 06:be:ef:00:00:00/ff:ff:ff:00:00:00 with the MAC address of your router or a MAC address/mask string of your router's vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment