Use an ESP8266 to redirect to an IP of another ESP8266

Thanks for you hint, I tried to implement but for some reason if used with ESPUI Captive Portal stop working