Remote connection to Arduino boards

I am looking for a general way to be able to connect to Arduino boards, eg Mini Pro, or Nano, using an appropriate module, eg some sort of ESP8266 variant, so that for example I might be able to "connect" to the remote Arduino as if it were connected to my laptop via a USB cable (FTDI serial or whatever).

This would allow me to even upload code to the Arduino module, and/or do Serial debugging and everything else.

I prefer wireless from bluetooth because it allows the Arduino module to connect to the LAN and be accessed from anywhere, even outside the house.

That means that the "wireless module" should connect to the Arduino on its Serial connection, eg RxD, TxD, and the RESET line so we can upload code to it. On the Nano we might need to bypass the on-board USB and use again, the serial pins and the reset pin.

All this is in theory. In practice I am not sure if there exists such a module available for the Arduino, if it is the ESP8266 (and which variant) ?