Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
PacketTunnelProvider - Packetflow
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