Forum Thread: How Do You Use Msfconsole for WAN

How Do You Use Msfconsole for WAN

I have been wondering how to use msfconsole for WAN (not on you LAN)
I have got the payload to work on LAN, I have port forwarded and everything seems fine.

I just need to know how to set up a metasploit listener which listens for things on WAN. When I try setting the LHOST as my external ip metasploit cannot do that, it has to be internal so how would I get it to work.

Thanks James

1 Response

Your listener will be your local IP. Ex. 192.168.x.x. or simply 0.0.0.0.
Your payload will be your external IP address. http://icanhazip.com

As long as you correctly have a port forwarded in your router, it should connect back.

Share Your Thoughts

  • Hot
  • Active