now creating auto port mapping