Jump to content

Is Port Forwarding Necessary?


Skorpinok Rover
 Share

Recommended Posts

Hello,

In Backtrack 5, if i want to do pentest on external ip address , should i do port forward on my router? iam using a shared internet connection over LAN. let me know if you got any suggestions.

Regards.

Link to comment
Share on other sites

Oh yes, definitely required, if you don't do that, any incoming packets for that specific port will be dropped by the firewall and the connection will never reach the attacker's machine.

Another thing you could look into as well, besides port forwarding is DMZ.

Link to comment
Share on other sites

thank you, but DMZ...? whats it ?

Oh yes, definitely required, if you don't do that, any incoming packets for that specific port will be dropped by the firewall and the connection will never reach the attacker's machine.

Another thing you could look into as well, besides port forwarding is DMZ.

Link to comment
Share on other sites

  • 3 weeks later...

I've never had to forward any ports to port scan an external IP, you shouldn't need to either. Remember, these are outgoing packets, not incoming. You should only need to forward if your gateway/firewall is configured to only allow outgoing packets on certain ports.

Link to comment
Share on other sites

In Backtrack 5, if i want to do pentest on external ip address , should i do port forward on my router?

It all depends on the pentesting activities. Port scanning, as already said, shouldn't require ports to be forwarded on the local NAT. Reverse connecting shell code will require you to forward the ports it wants to connect to.

The easy way to think of it is that if the connection is initiated from your machine then the NAT will handle the connection. If it is initiated from the target machine then you will need to forward any required ports or NAT won't know where to pass the connection onto.

Link to comment
Share on other sites

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.

 Share

  • Recently Browsing   0 members

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