How can i configure a router

Configure a router in Home on iPhone. With iOS 13.2 or later, you can use the Home app to make your smart home more secure by allowing a compatible router to control which services your HomeKit accessories can communicate with on your home Wi-Fi network and on the Internet.