add internal_peer to configuration