← All Kali Issues
Metasploit
LHOST wrong interface
C Configuration
High
🔴 Error Message
LHOST set to wrong network interface IP
📖 What This Means
Metasploit is listening on wrong IP for reverse connections.
🔧 Step-by-Step Fix
- Check IP: ip addr show
- Set correct IP: set LHOST 192.168.1.100
- For tun0 (VPN): set LHOST tun0
- Auto-detect: set LHOST eth0