3.4.3.3 Data Transfer Phase
If an error occurs in the following process, the RD Gateway UDP server ends the connection.
The RDGUDP server decrypts the message using DTLS and forwards the message to the target server
If the decrypted message is a DATA_PKT, then the RDGUDP server forwards the DATA_PKT.data to the target server.
Otherwise, if the decrypted message contains DISC_PKT, then proceed to Shutdown phase (section 3.4.3.4).
The RDGUDP server copies the message received from target server to DATA_PKT.data, encrypts the DATA_PKT, and sends it to the RDGUDP client.