Wireguard not working on iOS 13 Beta

David Lane david at davidlane.io
Tue Aug 6 17:17:03 CEST 2019


Hi everyone,

Wireguard hasn't worked since I installed the iOS 13 beta on my iPad (2017 Pro, 12.9").

Here's the log from connecting and disconnecting from my iPad:
> 2019-08-06 17:54:15.049477: [NET] App version: 0.0.20190609 (11); Go backend version: 0.0.20190517
> 2019-08-06 17:54:15.302984: [NET] Starting tunnel from the OS directly, rather than the app
> 2019-08-06 17:54:15.446345: [NET] Tunnel interface is utun2
> 2019-08-06 17:54:15.448677: [NET] DNS64: mapped XXX.XX.XXX.226 to itself.
> 2019-08-06 17:54:15.449795: [NET] Attaching to interface
> 2019-08-06 17:54:15.451205: [NET] Routine: encryption worker - started
> 2019-08-06 17:54:15.451266: [NET] Routine: encryption worker - started
> 2019-08-06 17:54:15.452843: [NET] Routine: decryption worker - started
> 2019-08-06 17:54:15.454801: [NET] Routine: handshake worker - started
> 2019-08-06 17:54:15.457725: [NET] Routine: handshake worker - started
> 2019-08-06 17:54:15.462804: [NET] Routine: decryption worker - started
> 2019-08-06 17:54:15.464045: [NET] Routine: TUN reader - started
> 2019-08-06 17:54:15.467474: [NET] Routine: event worker - started
> 2019-08-06 17:54:15.482796: [NET] UAPI: Updating private key
> 2019-08-06 17:54:15.483184: [NET] UAPI: Removing all peers
> 2019-08-06 17:54:15.483958: [NET] UAPI: Transition to peer configuration
> 2019-08-06 17:54:15.486004: [NET] peer(AAAA…AAAA) - UAPI: Updating endpoint
> 2019-08-06 17:54:15.489483: [NET] peer(AAAA…AAAA) - UAPI: Updating persistent keepalive interval
> 2019-08-06 17:54:15.489962: [NET] peer(AAAA…AAAA) - UAPI: Removing all allowedips
> 2019-08-06 17:54:15.490576: [NET] peer(AAAA…AAAA) - UAPI: Adding allowedip
> 2019-08-06 17:54:15.491876: [NET] peer(AAAA…AAAA) - UAPI: Adding allowedip
> 2019-08-06 17:54:15.494557: [NET] Routine: receive incoming IPv4 - started
> 2019-08-06 17:54:15.496397: [NET] Routine: receive incoming IPv6 - started
> 2019-08-06 17:54:15.498000: [NET] UDP bind has been updated
> 2019-08-06 17:54:15.499974: [NET] Device started
> 2019-08-06 17:54:16.336298: [NET] Network change detected with satisfied route and interface order [en0, utun2]
> 2019-08-06 17:54:16.337103: [NET] DNS64: mapped XXX.XX.XXX.226 to itself.
> 2019-08-06 17:54:16.338292: [NET] UAPI: Transition to peer configuration
> 2019-08-06 17:54:16.340842: [NET] peer(AAAA…AAAA) - UAPI: Updating endpoint
> 2019-08-06 17:54:16.341986: [NET] Routine: receive incoming IPv4 - stopped
> 2019-08-06 17:54:16.343980: [NET] Routine: receive incoming IPv6 - stopped
> 2019-08-06 17:54:16.346084: [NET] Routine: receive incoming IPv4 - started
> 2019-08-06 17:54:16.347850: [NET] Routine: receive incoming IPv6 - started
> 2019-08-06 17:54:16.353403: [NET] UDP bind has been updated
> 2019-08-06 17:54:34.766801: [NET] Network change detected with satisfied route and interface order [en0]
> 2019-08-06 17:54:34.767356: [NET] DNS64: mapped XXX.XX.XXX.226 to itself.
> 2019-08-06 17:54:34.768554: [NET] UAPI: Transition to peer configuration
> 2019-08-06 17:54:34.770471: [NET] peer(AAAA…AAAA) - UAPI: Updating endpoint
> 2019-08-06 17:54:34.772981: [NET] Routine: receive incoming IPv4 - stopped
> 2019-08-06 17:54:34.774542: [NET] Routine: receive incoming IPv6 - stopped
> 2019-08-06 17:54:34.778504: [NET] Routine: receive incoming IPv4 - started
> 2019-08-06 17:54:34.778712: [NET] Routine: receive incoming IPv6 - started
> 2019-08-06 17:54:34.780584: [NET] UDP bind has been updated
> 2019-08-06 17:54:35.076369: [NET] Stopping tunnel
> 2019-08-06 17:54:35.076479: [NET] Device closing
> 2019-08-06 17:54:35.079087: [NET] Routine: TUN reader - stopped


I ran tcpdump on my Ubuntu VPS, but it didn't see any packets.
On my Android phone, everything works fine.

For what it's worth, I've got both IPv4 & IPv6 setup in my configs:
> [Peer]
> PublicKey = [redacted]
> AllowedIPs = 10.0.0.2/32, fddc:86e7:d33:9765::2/128
> Endpoint = XX.XXX.XXX.XX:15685

Thanks in advance for any help!

Best,

David


More information about the WireGuard mailing list