Jump to content

Recommended Posts

Posted

I'm looking to set up a reverse_tcp tunnel between two separate home environments. Currently I'm thinking NAT may be an issue. I'm currently thinking I just need to set up port-forwarding to my pentesting laptop. Am I missing anything else?

Posted

Is there not a solution that doesn't requireme to configure something like that? This exercise is supposed to simulate an actual attack not a staged play. lol

Posted

Ah, I didn't understand it was for pentesting purposes. I thought you just wanted to connect the networks. Port forwarding the ports the tunnel uses should work in theory. It all depends if you have a direct IP to the internet or if you get internet that is behind another NAT that is sub leased in a way.

I have seen people that live in apartments behind a NAT they do not control that plugs in as the internet source for their NAT Router. In that situation, forwarding the ports on your router would not work since there is another NAT layer preventing incoming connections.

A simple way to check is to pick your favorite show your IP website and see if that matches the external IP address your router is detecting.

Posted

Looks like they match. When I set up the meterpreter to listen on port 443, my port-forwarding needs to direct all incoming traffic on port 443 to my laptop. Am I missing anything?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...