Need Help with WLAN Metasploit, LAN Works Fine
I want to use a metasploit payload I made via WLAN instead of LAN. I got lan working fine using my local ip and port 4444.
However, when I create the payload using LHOST = myPubIp, and using ports 443, 80, 8080, 4444(tried all these) it does not connect, rather it just says failed to bind. When creating the payload do I have to set LHOST as my local IP and set RHOST as my public IP? Or do I need to just use a specific port, like 91 and forward all traffic to my local IP?