You must give your TUN device an IP address and mask. To do that, change your code:
let networkSettings = NEPacketTunnelNetworkSettings(addresses: ["***.***.***.***"], subnetMasks: ["yyy.yyy.yyy.yyy"] )
where ... the IP address you want to give to your interface, and yyy.yyy.yyy.yyy subnet mask