Add a config file and update port redirection configuration