You can secure the pathway between RepAgent and Replication Server using network-based security features. Using sp_config_rep_agent, you can change settings for:
The active security mechanism
Unified login
Mutual authentication
Message confidentiality
Message integrity
Message replay detection
Message origin check
Message out of sequence check
Refer to “Managing network-based security” for a complete description of network security and instructions for setting parameters for RepAgent.