fixed replication setup and firewall settings