From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: jedi_papi@yahoo.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4fe93b25 for ; Mon, 26 Jun 2017 18:10:01 +0000 (UTC) Received: from sonic322-21.consmr.mail.gq1.yahoo.com (sonic322-21.consmr.mail.gq1.yahoo.com [98.137.70.84]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 2d70088e for ; Mon, 26 Jun 2017 18:10:01 +0000 (UTC) Date: Mon, 26 Jun 2017 18:24:33 +0000 (UTC) From: Jose Marinez To: wireguard@lists.zx2c4.com Message-ID: <167316217.2638378.1498501473436@mail.yahoo.com> Subject: [Question] - Would it be possible to have the ip commands in ifconfig? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2638377_701623890.1498501473434" References: <167316217.2638378.1498501473436.ref@mail.yahoo.com> List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_2638377_701623890.1498501473434 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px = #715FFA solid !important; padding-left:1ex !important; background-color:whi= te !important; } Hi Guys, First, great work on Wireguard!! I have a linux server configured with wireguard running well with other lin= ux computers working. I=E2=80=99d like to extend that to a few macOS comput= ers we have. I know the project at the moment is only for Linux, but I saw = the distribution package and decided to give it a try. For the last 4 days = I=E2=80=99ve been jumping through hoops trying to get this working. At firs= t, it took so long mainly because I was attempting to connect from the late= st macOS 10.13 beta - bad idea, yes I know. However, when I attempted to do= this from the stable version, things were much better, but still haven=E2= =80=99t been able to connect. =C2=A0Here=E2=80=99s why: The package for wireguard on the mac only includes wg, you don=E2=80=99t ge= t wg-quick or any other tools. Not a big deal, but it makes a difference sp= ecially because the quick start instructions use ip-link and other ip relat= ed commands. Unfortunately, on the mac there=E2=80=99s no official release = of ip-link and the iproute2mac brew package is only a subset of iproute2 so= it doesn=E2=80=99t work. I know that ip is the future replacement for ifco= nfig, but ifconfig is practically everywhere there=E2=80=99s a POSIX-like O= S. To make matters worse, even the =E2=80=9Cclassic=E2=80=9D capabilities f= or setting up routing on linux with netns are not available on the mac eith= er. Forgive my na=C3=AFvet=C3=A9 - I=E2=80=99m a developer, not a network engin= eer - but if I had the ifconfig (perhaps also vconfig) versions of the foll= owing quick start commands, plus the official wg for the mac, wouldn=E2=80= =99t I be able to connect?: ip link add dev wg0 type wireguard=C2=A0 ip address add dev wg0 IPRANGEip link set up dev wg0 Last, but not least... I=E2=80=99m very interested in the Rust version of w= ireguard. I read the code and the readme, but I couldn=E2=80=99t tell what = the exact capabilities and limitations are as a cross-platform userspace im= plementation. Could one redirect all internet traffic through it? Would it = work on the mac as it is? Thanks again,Jose ------=_Part_2638377_701623890.1498501473434 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Guys,

<= /div>
First, great work on Wireguard!!

I have = a linux server configured with wireguard running well with other linux comp= uters working. I=E2=80=99d like to extend that to a few macOS computers we = have. I know the project at the moment is only for Linux, but I saw the dis= tribution package and decided to give it a try. For the last 4 days I=E2=80= =99ve been jumping through hoops trying to get this working. At first, it t= ook so long mainly because I was attempting to connect from the latest macO= S 10.13 beta - bad idea, yes I know. However, when I attempted to do this f= rom the stable version, things were much better, but still haven=E2=80=99t = been able to connect.  Here=E2=80=99s why:

Th= e package for wireguard on the mac only includes wg, you don=E2=80=99t get = wg-quick or any other tools. Not a big deal, but it makes a difference spec= ially because the quick start instructions use ip-link and other ip related= commands. Unfortunately, on the mac there=E2=80=99s no official release of= ip-link and the iproute2mac brew package is only a subset of iproute2 so i= t doesn=E2=80=99t work. I know that ip is the future replacement for ifconf= ig, but ifconfig is practically everywhere there=E2=80=99s a POSIX-like OS.= To make matters worse, even the =E2=80=9Cclassic=E2=80=9D capabilities for= setting up routing on linux with netns are not available on the mac either= .

Forgive my na=C3=AFvet=C3=A9 - I=E2=80=99m a dev= eloper, not a network engineer - but if I had the ifconfig (perhaps also vc= onfig) versions of the following quick start commands, plus the official wg= for the mac, wouldn=E2=80=99t I be able to connect?:

<= div>ip link add dev wg0 type wireguard 
ip ad= dress add dev wg0 IPRANGE
ip link set up dev wg0


Last,= but not least... I=E2=80=99m very interested in the Rust version of wiregu= ard. I read the code and the readme, but I couldn=E2=80=99t tell what the e= xact capabilities and limitations are as a cross-platform userspace impleme= ntation. Could one redirect all internet traffic through it? Would it work = on the mac as it is?

Thanks again,
Jose<= /div>



------=_Part_2638377_701623890.1498501473434--