From: Chriztoffer Hansen <ch@ntrv.dk>
To: "Skyler Mäntysaari" <samip537@kapsi.fi>
Cc: "WireGuard List (wireguard@lists.zx2c4.com)" <wireguard@lists.zx2c4.com>
Subject: Re: Wireguard on EdgeRouter and using specified VRF and/or routing table
Date: Sun, 14 Mar 2021 20:33:22 +0100 [thread overview]
Message-ID: <CA+cYV6us6diKx8Zg-g5xJnjn3KvvRRRPcOxx0LMV5Wwrhm_wEA@mail.gmail.com> (raw)
In-Reply-To: <4cb69d55-c577-10d4-2692-f6ebaaba5f1d@kapsi.fi>
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@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
prev parent reply other threads:[~2021-03-14 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8036163fba8a8c7cdea2af0fcac4eb07@kapsi.fi>
2021-03-14 19:01 ` Skyler Mäntysaari
2021-03-14 19:16 ` Phillip McMahon
2021-03-14 19:33 ` Chriztoffer Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+cYV6us6diKx8Zg-g5xJnjn3KvvRRRPcOxx0LMV5Wwrhm_wEA@mail.gmail.com \
--to=ch@ntrv.dk \
--cc=samip537@kapsi.fi \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).