1. A non-transitory machine readable medium storing sets of instructions for processing remote-device data messages entering a network, the sets of instructions for: receiving, at a virtual private network (VPN) gateway executing on a computer, a data message sent by a remote device through a tunnel that connects the remote device to the network; and intercepting the data message from an egress path of the VPN gateway as the VPN gateway forwards the data message to the message's destination within the network; and identifying a set of remote device management (RDM) attributes associated with the received data message by retrieving the RDM attribute set from a data storage on the computer that stores different RDM attribute sets for different data message flows; and based on the RDM attribute set, performing a service operation on the data message; the sets of instructions for execution by a set of processing units of the computer.