From: Maximilian Wilhelm <max@sdn.clinic>
To: wireguard@lists.zx2c4.com
Subject: Wireguard and VRFs?
Date: Fri, 15 Sep 2017 02:52:55 +0200 [thread overview]
Message-ID: <20170915005255.GA5107@principal.rfc2324.org> (raw)
Hi folks,
I just stumbled across wireguard and really like it!
While reading the docs and seeing the notes on network name spaces I
started wondering if there's any support for Linux VRFs? [0]
What I'd like to do is builing a VPN tunnel using VRF "external" and
terminate the tunnel within the main VRF. For OpenVPN this required a
patch [65] for the setsockopt() but then works fine. Is something like
this already possible with Wireguard?
And if not would you be open to adding it or merging a patch for it?
I didn't look through the code yet, but I would suggest an option for the
tun interface which will then trigger a setsockopt() call. Like a
parameter for iproute for type wireguard interfaces.
Thanks a lot!
Best
Max
[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/vrf.txt
[65] https://github.com/OpenVPN/openvpn/pull/65
--
"I have to admit I've always suspected that MTBWTF would be a more useful
metric of real-world performance."
-- Valdis Kletnieks on NANOG
next reply other threads:[~2017-09-15 0:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 0:52 Maximilian Wilhelm [this message]
2017-09-15 2:17 ` Jason A. Donenfeld
2017-09-20 3:12 Florian Werner
2017-09-20 10:01 ` Jörg Thalheim
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=20170915005255.GA5107@principal.rfc2324.org \
--to=max@sdn.clinic \
--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).