While installing Replication Agent, use the following guidelines:
Install Replication Agent on a server where it can directly access the Microsoft SQL Server online transaction logs.
Create a Replication Agent instance and configure it for the Microsoft SQL Server database from which you want to replicate.