Wireguard on EdgeRouter and using specified VRF and/or routing table

Chriztoffer Hansen ch at ntrv.dk
Sun Mar 14 19:33:22 UTC 2021


Wireguard only creates the interface, as far as I know.

you will need to control the VRF the WG interface belongs to with
external tooling not directly related being e.g. wg-quick. (e.g.
systemd or similar)

On Sun, 14 Mar 2021 at 20:01, Skyler Mäntysaari <samip537 at kapsi.fi> wrote:
> Could somone help me with this? Last I sent this, I got no replies.
>
> On 27/01/2021 9.45, Skyler Mäntysaari wrote:
> > I have a use case where I'm running Bird (BGP daemon) on a EdgeRouter,
> > and then having PTP links via Wireguard for the BGP sessions but I
> > need some help on how to set the wireguard interface to use specified
> > routing table and/or vrf?
> >
> > I want it to use kernel routing table 1 aswell as specific VRF, and I
> > have set the "route-allowed-ips" to false, as I don't want it to
> > generate it's own routing table.
> >
> > For reference: Kernel version is 4.9.79.

-- 
Chriztoffer



More information about the WireGuard mailing list