gluon-radv-filterd: redirect IPv6 packets to correct router
When multiple routers are in the same local mesh and clients roam from one (A)
to the next (B), the change of global IP and default gateway are not
synchronized. This leads to packets with an address belonging to router A to be
sent via router B (or the other way around). Those packets are then dropped by
wireguard at the concentrator.
To avoid this, we let gluon-radv-filterd monitor router advertisements and keep
a list of neighbouring v6 networks. With this information, it can maintain a
set of ebtables DNAT rules to redirect the packets to the matching gateway.
Signed-off-by:
Jan Luebbe <jluebbe@debian.org>
Showing
- package/gluon-radv-filterd/luasrc/lib/gluon/ebtables/400-radv-filterd 4 additions, 0 deletions...n-radv-filterd/luasrc/lib/gluon/ebtables/400-radv-filterd
- package/gluon-radv-filterd/src/gluon-radv-filterd.c 114 additions, 19 deletionspackage/gluon-radv-filterd/src/gluon-radv-filterd.c
- package/gluon-radv-filterd/src/respondd.c 1 addition, 0 deletionspackage/gluon-radv-filterd/src/respondd.c
Loading
Please register or sign in to comment