firewalla / firewalla

http://firewalla.com
https://help.firewalla.com
GNU Affero General Public License v3.0
548 stars 127 forks source link

IPv6 relay on gold #2839

Open evaldescu opened 4 years ago

evaldescu commented 4 years ago

As it looks like some ISP's delegate a /64 to the router so the prefix delegation wont work it looks like a good idea to be able to configure IPv6 in relay mode.

smoogle23 commented 2 years ago

For me following solution worked on FirewallA gold (using ATT Fiber, which hands out 8x /64 ipv6-subnets if requested):

In file "//home/pi/.router/config/dhcpcd6/eth0.conf", add 7 additional "ia_pd" entries, e.g. :

--- eth0.conf.old
+++ eth0.conf
@@ -42,5 +42,12 @@

 # Dummy prefix delegation entry to simply get prefix to delegate without configuring any interface, evil!
 ia_pd 1/::/64 not_exist/1
+ia_pd 2/::/64 not_exist/1
+ia_pd 3/::/64 not_exist/1
+ia_pd 4/::/64 not_exist/1
+ia_pd 5/::/64 not_exist/1
+ia_pd 6/::/64 not_exist/1
+ia_pd 7/::/64 not_exist/1
+ia_pd 8/::/64 not_exist/1

 ia_na

Then restart DHCP-daemon:

sudo systemctl restart system-firerouter_dhcpcd6.slice

The requested networks are then automatically assigned to the bridge-interfaces (br0, br1, etc.).