Configure proxy settings (applied globally to both stages), APT repository mirrors, and port mappings for network connectivity.