[Andrei] better config for setting the host file, port forward for slave