I am announcing an IPv6 prefix via OSPF (bird2) to some routers, from the routers I can reach/ping the FreeBSD server, but I not from the internet:
I am peering the node via wireguard using link-local and if I want to route via R1 I need to add it as the default gateway:
or for router 2:
But how to have all the available gateways (tunnel endpoints) to route traffic back from the interface where it arrived? could PF (reply-to) work for this?
I would like to balance the load and also if once routers go down I would like to use other available routers.
Code:
(internet)
|
|
R1 --------- R2
\ /
FreeBSD
I am peering the node via wireguard using link-local and if I want to route via R1 I need to add it as the default gateway:
route -6 add default fe80::a1%wg0
or for router 2:
route -6 add default fe80::a2%wg1
But how to have all the available gateways (tunnel endpoints) to route traffic back from the interface where it arrived? could PF (reply-to) work for this?
I would like to balance the load and also if once routers go down I would like to use other available routers.