First of all I want to configure the use of port sharing. This config should be applyed to all three web.configs:
<!-- In all three web.configs -->
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="RemoteEventsBinding"
portSharingEnabled="true">
<security mode="None" />
</binding>
</netTcpBinding>
</bindings>
Then I want to configure the site used by the editors ie. the site that should publish events of updates to the other server:
<!-- web.config of the publisher site -->
<system.serviceModel>
<client>
<endpoint name="WEBFRONT1"
contract="EPiServer.Events.ServiceModel.IEventReplication"
bindingConfiguration="RemoteEventsBinding"
address="net.tcp://[SERVER1]/RemoteEventService1"
binding="netTcpBinding" />
<endpoint name="WEBFRONT2"
contract="EPiServer.Events.ServiceModel.IEventReplication"
bindingConfiguration="RemoteEventsBinding"
address="net.tcp://[SERVER2]/RemoteEventService2"
binding="netTcpBinding" />
</client>
The other two servers do not need any client configuration for the cache invalidation to work. They however needs some endpoints:
<!-- web.config of WEBFRONT1 (subscriber) -->
<services>
<service name="[EPiServerSiteIdWebFront1]/EPiServer.Events.Remote.EventReplication"
behaviorConfiguration="DebugServiceBehaviour">
<endpoint name="RemoteEventServiceEndPoint"
contract="EPiServer.Events.ServiceModel.IEventReplication"
bindingConfiguration="RemoteEventsBinding"
address="net.tcp://localhost/RemoteEventService1"
binding="netTcpBinding" />
</service>
and:
<!-- web.config of WEBFRONT2 (subscriber) -->
<services>
<service name="[EPiServerSiteIdWebFront2]/EPiServer.Events.Remote.EventReplication"
behaviorConfiguration="DebugServiceBehaviour">
<endpoint name="RemoteEventServiceEndPoint"
contract="EPiServer.Events.ServiceModel.IEventReplication"
bindingConfiguration="RemoteEventsBinding"
address="net.tcp://localhost/RemoteEventService2"
binding="netTcpBinding" />
</service>
[UPDATE: THIS IIS SECTION IS NOT NEEDED!]
And that's the only web.config needed! You do need to set two settings in the IIS of the to subscriber sites:
Site > Bindings...

Right-click the site in IIS > Manage Web Site > Advanced Settings...

[END UPDATE]