From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Jordan Johnston <johnstonljordan@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: WireGuard (Android) Configuration issues, etc.
Date: Sat, 2 Dec 2017 00:50:20 +0100 [thread overview]
Message-ID: <CAHmME9o9pQdRdQ=7MqLYe1Yg8vxZNzAHd0ouRSq1Pwb9YYaHdg@mail.gmail.com> (raw)
In-Reply-To: <CAHmME9qXr5aig-79MjuCbaTUPt2MEh+oAA53gpxOk999CsqKmw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]
Hey again,
I'll update the demo.wireguard.com scripts in the repo in a bit to
make them slightly more simple and support v6, like the attached, but
thought you might benefit from this now.
zx2c4@thinkpad ~ $ ./client.sh > /etc/wireguard/demo.conf
zx2c4@thinkpad ~ $ wg-quick up demo
[#] ip link add demo type wireguard
[#] wg setconf demo /dev/fd/63
[#] ip address add 192.168.4.178/32 dev demo
[#] ip link set mtu 1420 dev demo
[#] ip link set demo up
[#] resolvconf -a tun.demo -m 0 -x
[#] wg set x fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev demo table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
zx2c4@thinkpad ~ $ curl -4 zx2c4.com/ip
163.172.161.0
demo.wireguard.com
curl/7.56.1
Please don't run the script more than once or twice or thrice.
Jason
[-- Attachment #2: client.sh --]
[-- Type: application/x-sh, Size: 414 bytes --]
next prev parent reply other threads:[~2017-12-01 23:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 17:30 Jordan Johnston
2017-12-01 20:59 ` Jason A. Donenfeld
2017-12-01 23:50 ` Jason A. Donenfeld [this message]
2017-12-02 0:00 ` Jordan Johnston
2017-12-02 0:18 ` Jason A. Donenfeld
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='CAHmME9o9pQdRdQ=7MqLYe1Yg8vxZNzAHd0ouRSq1Pwb9YYaHdg@mail.gmail.com' \
--to=jason@zx2c4.com \
--cc=johnstonljordan@gmail.com \
--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).