SimpleTunnel "tunnelPacketProvider" connection to "tunner_server" Question

I developed a per-app VPN client for MacOS using the almost exact same code as the SimpleTunnel example for the packetTunnelProvider extension app (Swift 4) and the tunnel_server (updated to Swift 3) in my app. When I run the tunnel_server and connect the per-app vpn client to it (use mac ip addess and port), the server accepts the connection successfully.


I then used WireShark to check the connection between the client and server on the "utun2" interface that it creates and see that packages are being sent across. However, I am confused about the Destination source and protocol in which it happens. WireShark states that the Source IP is 192.168.2.2 which is correct, but states that the destination ip is 10.50.10.50 which should be 192.168.2.1 on port #5555 instead, (States protocol is DNS).


The packages seem to be sent accross from the client to the server accordingly to when I connect and disconnect the client, so I am confused as to why my client/server is doing this and still seems to work fine. If this is incorrect, how can I send it through the correct Destination ip and port #?

SimpleTunnel "tunnelPacketProvider" connection to "tunner_server" Question
 
 
Q