Forum Thread: Metasploit - RHOST & LHOST

Hi Folks, i have a few questions about metasploit, you see all the tutorials on using your home network but nothing on the real world.

learning on your home network is good but building your own house doesnt make you a builder.
I have the opportunity to try and gain access into a remote computer with permission of the owner and now im stuck,

So when using metaspoit, you put in a RHOST & LHOST, when i connect to a computer within my network the RHOST is my private ip address within that network, 192.168.0.# and so on, easy peasy - But what about when i connect to a different computer on a different network, the remote host i think would become my public ip address which leads back to myself obviously,

So here are my questions.

  1. When connecting to a remote computer i will be using my public ip address which is traced back to me, how do people prevent this?
  2. i think but not 100% but when using a VPN or proxy the ip address is dynamic so the RHOST would need to change, so how do you connect back to that machine?
  3. Or i am completely missing the point?

Join the Next Reality AR Community

Get the latest in AR — delivered straight to your inbox.

2 Responses

A VPN should work, but if you're using reverse connection proxies won't work.


Share Your Thoughts

  • Hot
  • Active