how to setup port for rat