Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1435391
| From | Richard Weinberger <richard@nod.at> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] WireGuard: next generation secure network tunnel |
| Date | 2016-07-01 16:50 +0200 |
| Message-ID | <rQ7Vv-7Qe-25@gated-at.bofh.it> (permalink) |
| References | <rP2uS-8ng-27@gated-at.bofh.it> <rQ57k-67M-31@gated-at.bofh.it> <rQ7Ca-7Jf-53@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Jason, Am 01.07.2016 um 16:25 schrieb Jason A. Donenfeld: > Hi Richard, > > On Fri, Jul 1, 2016 at 1:42 PM, Richard Weinberger > <richard.weinberger@gmail.com> wrote: >> So every logical tunnel will allocate a new net device? >> Doesn't this scale badly? I have ipsec alike setups >> with many, many road warriors in mind. > > No, this isn't the case. Each net device has multiple peers. Check out > the example config on the website, pasted here for convenience: > >> [Interface] >> PrivateKey = yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk= >> ListenPort = 41414 >> >> [Peer] >> PublicKey = xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg= >> AllowedIPs = 10.192.122.3/32, 10.192.124.1/24 >> >> [Peer] >> PublicKey = TrMvSoP4jYQlY6RIzBgbssQqY3vxI2Pi+y71lOWWXX0= >> AllowedIPs = 10.192.122.4/32, 192.168.0.0/16 >> >> [Peer] >> PublicKey = gN65BkIKy1eCE9pP1wdc8ROUtkHLF2PfAqYdyYBz6EA= >> AllowedIPs = 10.10.10.230/32 > > If that file is example.conf, you could set up a single device like this: > > $ ip link add dev wg0 type wireguard > $ wg setconf wg0 example.conf > > That single netdev is now configured to communicate with several peers. > > I hope this clarifies things. Let me know if you have further questions. Yes. Makes sense. :-) Thanks, //richard
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC] WireGuard: next generation secure network tunnel "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-06-28 16:50 +0200
Re: [RFC] WireGuard: next generation secure network tunnel Bruno Wolff III <bruno@wolff.to> - 2016-06-30 02:50 +0200
Re: [RFC] WireGuard: next generation secure network tunnel Richard Weinberger <richard.weinberger@gmail.com> - 2016-07-01 13:50 +0200
Re: [RFC] WireGuard: next generation secure network tunnel "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-07-01 16:30 +0200
Re: [RFC] WireGuard: next generation secure network tunnel Richard Weinberger <richard@nod.at> - 2016-07-01 16:50 +0200
Re: [RFC] WireGuard: next generation secure network tunnel "Jason A. Donenfeld" <Jason@zx2c4.com> - 2016-07-02 01:10 +0200
Re: [RFC] WireGuard: next generation secure network tunnel Bruno Wolff III <bruno@wolff.to> - 2016-07-02 01:50 +0200
csiph-web