wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Graham Agnew <graham.agnew@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: wg troubles on ubuntu 14.04, MacOS and iOS
Date: Thu, 6 Dec 2018 00:20:05 +0000	[thread overview]
Message-ID: <FFA4EA44-FDE2-4BC5-9C96-2A15277F0A20@gmail.com> (raw)

Hi,

I installed Wireguard on Ubuntu 14.04 using the PPA on Launchpad and the wireguard-tools on my Mac.  I can get it to work with a very simple setup and using wg-quick or “wg setconf”.  It’s really great how simple it is.

I don’t have as much luck with the command line “wg set”; it doesn’t like parameters like allowed-ips and such.  Is this a known issue?  Analysing wg-quick, it looks like it pipes the configuration into the "wg setconf” command. 

I’m also having problems when I have two peers.  I have "AllowedIPs = 0.0.0.0/0" for both in the .conf file, but this is only applied to the second peer.  The first peer has “(none)” shown as its AllowedIPs with obvious consequences.  Is this also a known issue?  I was trying to add my iPhone as a second peer using the TestFlight app.  I couldn’t get this to work, even when I tried to make a second interface on the Ubuntu server as a workaround.  Is there a way to diagnose the issue?

I’m also unsure how the AllowedIPs setting is meant to work.  Initially I thought it was a list of addresses the peer was allowed to connect to, but the documentation seems to suggest it’s a list that the peer can connect from.  Or is it a range of source IPs that the receiver will accept packets from?  Using 0.0.0.0/0 seems to mess up my network configuration, routing tables etc and I wonder if it’s some “smarts” in wg-quick I haven’t understood.

Apologies if these are noob questions that stem from a lack of knowledge.  I feel I need to get deeper into iptables etc to fully understand this.

Cheers,
Gra
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

             reply	other threads:[~2018-12-06 23:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  0:20 Graham Agnew [this message]
2018-12-08  6:14 ` wg troubles on ubuntu 14.04, MacOS and iOS Graham Agnew

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=FFA4EA44-FDE2-4BC5-9C96-2A15277F0A20@gmail.com \
    --to=graham.agnew@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).