Author Topic: Port Forwarding  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

Offline MrExplorer

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Port Forwarding
« on: February 26, 2015, 05:26:24 pm »
I am having two router, The is Nanostation v5, Which is placed as tariff for catching up the Internet Connection & That router is connected to my Wifi Device of TP-Link. I want to Port Forward for Pentesting purpose.

I am confused which one i have to port forward the Nanostation or TP-Link.
« Last Edit: February 26, 2015, 05:27:12 pm by MrExplorer »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Port Forwarding
« Reply #1 on: February 26, 2015, 07:01:44 pm »
                              12.34.56.78                   10.0.0.1                     192.168.0.1
[INTERWEBS]-------[ROUTER1]-------------[ROUTER2]----------------[PC]
                             |               |                  |             |                       |
                         port1   ---   port1           port1  --  port1                  port1
                                       IP ROUTER2                  IP PC
                                          (10.0.0.1)                (192.168.0.1)
« Last Edit: February 26, 2015, 07:03:12 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline MrExplorer

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Port Forwarding
« Reply #2 on: February 27, 2015, 03:34:06 am »
First of all thanks, at last someone repliead, but i am not able to able to understand what are you trying to explain to me.
are you saying that i should port forward both of the modem.

Offline MrExplorer

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Port Forwarding
« Reply #3 on: February 27, 2015, 06:28:16 am »
Sir, I port forwarded the TP-Link Modem, & then i check if the port is forwarded or not.
This video helped me out, In the video there is command "nc -lvp 4545" which is need to run to listen to the port.
Is there any similar command for Windows as i want to check, i tried to check without that command it does show it to be closed.
https://www.youtube.com/watch?v=ISYKA40V_hQ

Offline MrExplorer

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Port Forwarding
« Reply #4 on: February 27, 2015, 07:35:56 am »

I also wanted to Port Forward for my Kali Linux installed in VMWare, So change these setting, After setting this up, I tested again if the Port Forwarded or not in Kali Linux & it was & then i tried it in my Real System if the port forwarded or not, It was, I want to know what the hell is happening here.


Please help me out.




Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Port Forwarding
« Reply #5 on: February 27, 2015, 08:06:43 am »
First of all DO NOT double or tripple post shit, if you have more to add to you shit use the modify button located above a post, not spam the board with crap.

I don't know why you would ever need 2 routers on a soho (small office / home office) setup. Really, why do you equire two routers? I would like to know.

In any case the second router is just in the way, judging by your set up there is no reason for it evn being there. So, in the case you want to keep it attached to our network this is how it should go:

personal computer -> router 1 (full bridge mode) -> router 2 (half bridge/none bridge mode. DHCP unless you need something else) -> modem (the box your isp gave you, it holds WAN can not change).

Bt this setup is stupid on a home network unless you want to dmz shit or something. It should be, if at home, pc -> router -> modem. Or  if your isp bundles pc ->router/modem.

If you want to play around and experiment with I.T. stuff, download and fuck arounnd with PacketTracer. Cisco even uses it for training and even production shit.

Port forwarding happens at the access point, you will need to loginto said accesses point and open ports from there. Unless you can set up said server to run on port 80 or another port that is open enough for you.

Your own some school network aren't you? Or a bisnuess network at your job?
« Last Edit: February 27, 2015, 08:10:52 am by techb »
>>>import this
-----------------------------

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Port Forwarding
« Reply #6 on: February 27, 2015, 09:25:55 am »
Besides if you are talking about pentesting and dont grasp basic network concepts I think you are doing it wrong.
Agreed?
Don't run if you can't walk.
« Last Edit: February 27, 2015, 09:26:33 am by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Port Forwarding
« Reply #7 on: February 27, 2015, 11:06:17 am »
Besides if you are talking about pentesting and dont grasp basic network concepts I think you are doing it wrong.
Agreed?
Don't run if you can't walk.

This too,

and oh god the repost. use the modifybutton or you willl br banned.
>>>import this
-----------------------------