added config to accept foreign connections