All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roopesh Chander S <roop@roopc.net>
To: wireguard@lists.zx2c4.com
Subject: Re: iOS connection issue
Date: Tue, 2 Apr 2019 14:16:45 +0530	[thread overview]
Message-ID: <B83487AC-E545-443A-9879-28058C1B5E10@roopc.net> (raw)

Just to confirm, you’re saying you can connect from your Mac with this config and access the Internet, but can’t do that from iPhone from the same config. (I’m assuming you didn’t have the VPN on in your Mac when trying to connect from the iPhone.)

Can you provide the log from your iPhone to investigate further? (Settings > Log). You can email it to team at wireguard dot com.

> From the General VPN info, it says the server address is 127.0.0.1, which doesn’t sound right.

I’m assuming you’re seeing this in Settings > VPN > [vpn name] (i) once the VPN is up. That’s indeed not the actual IP of the server — it’s just an arbitrary string we provide iOS. I’ve noted down a task to fix it when there’s a single peer with an endpoint.

Thanks,
roop.

> Glen Huang wrote:
> 
> Hi,
> 
> I can connect to my wg server on my Mac with this config
> 
> [Interface]
> Address = 10.0.0.2
> DNS = 8.8.8.8
> PrivateKey = <value>
> 
> [Peer]
> Endpoint = <ip>:<port>
> PublicKey = <value>
> AllowedIPs = 0.0.0.0/0, ::/0
> 
> But once upload it as qr code to my iPhone, I can establish the vpn connection, but can not access any websites.
> 
> From the General VPN info, it says the server address is 127.0.0.1, which doesn’t sound right.
> 
> One strange thing is that if I change the endpoint’s ip to a couple arbitrary ones, I can still establish vpn connections, but can not access any websites and server address is 127.0.0.1, same result as my config.
> 
> Also after I scan the qr code and the VPN profile is added, iPhone will alert an error saying the vpn server could not be found, but if I dismiss I can establish the connection (and couldn’t access any site).
> 
> I wonder what I might have done wrong?
> 
> Thanks.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

             reply	other threads:[~2019-04-06 11:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  8:46 Roopesh Chander S [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-20 13:26 iOS connection issue Glen Huang
2019-03-20 13:24 Glen Huang

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=B83487AC-E545-443A-9879-28058C1B5E10@roopc.net \
    --to=roop@roopc.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.