Questions

Port Forwarding

Tags:
+
0 Votes
Locked

Port Forwarding

pinnakavamsi
Hello Guys,

I need some help regarding port forwarding,

before i was using DSL internet connection, so i use to forward telnet and SSH ports in modem. currently i am using LAN based internet. i don't have dedicated public IP for me. and i don't have any access to gateway.

my question is: is there any way to forward my PC port over internet. is there any tunneling software like TeamViewer to forward ports.
  • +
    0 Votes
    Dedlbug

    From you are saying, you are behind a router and/or firewall and you do not have access to the device to configure port forwarding. Is this correct? If you do not have permissions to change port forwarding in the router/firewall, then we can't use port forwarding. The Dynamic IP doesn't matter in this case anyway.

    You mention TeamViewer...do you need access to your computer remotely? I would talk to whomever setup the router first, but LogMeIn is web-based...no port forwarding needed.

    +
    0 Votes
    seanferd

    If it is yours, you configure ports in the router/gateway. You'll have to do this at the router unless the router has remote config capabilities, they are turned on, and you have the correct information with you.

    If this is on another party's LAN, say, at work, you'll need to talk to the network admins.

    If the problem is that you have a dynamic IP, and don't know when it changes - hence rendering you incapable of connecting - this has nothing to do with ports. You can use a service like http://www.dyndns.com/ to map a domain name to your dynamic IP, so you only need to remember that domain name to connect to your router/home LAN.

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)

    +
    0 Votes
    seanferd

    a bit of a diagram might help. If I understand correctly, you are on a LAN at the office end, yes?

    Workstation - Office LAN - Internet - Home network

    Is that correct? And you used to have a personal DSL connection from the office?

    If so, it may indeed be the case that you cannot receive data back from the Home Lab. The network admins for the office LAN would need to allow that traffic. It may be that ports are open to SSH, but telnet is so insecure I'd imagine standard telnet would be blocked. Have you tried SSH over commonly open ports (assuming this is allowed on the LAN)?

    I think I initially had your question mostly backwards - I thought you were asking about the ports on your home end.

    +
    0 Votes
    pinnakavamsi

    Hi, thx for your reply..

    forget about my office network and router. Lets assume that.. i have two workstation (name them X ad Y) in two different cities. and those PC's are in home not in office. PC 'X' have DSL internet connection, so i forwarded telnet port of PC 'X' in DSL modem. now i can telnet to PC 'X' over internet.


    when it comes to PC 'Y', i have shared internet. i dont have any DSL modem. my ISP provided one switch in my building and every one in my bulding is connected to that switch. and every one will use same public IP. my pc configured with private IP. in this case how can i telnet to PC 'Y' over internet. i dont have access to router to forward ports.

    +
    0 Votes
    seanferd

    you'll need to see whomever is in charge of that device in order that the proper ports be opened for the specific applications and protocols.

    If the switch is "dumb", or doesn't block anything, you'll need to check your local firewall to ensure the ports are open. The switch would need to properly send incoming traffic to your computer. If your computer only has a private IP on the LAN, you'll need to speak with whomever is in charge of that switch about configuring the connection.

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)

  • +
    0 Votes
    Dedlbug

    From you are saying, you are behind a router and/or firewall and you do not have access to the device to configure port forwarding. Is this correct? If you do not have permissions to change port forwarding in the router/firewall, then we can't use port forwarding. The Dynamic IP doesn't matter in this case anyway.

    You mention TeamViewer...do you need access to your computer remotely? I would talk to whomever setup the router first, but LogMeIn is web-based...no port forwarding needed.

    +
    0 Votes
    seanferd

    If it is yours, you configure ports in the router/gateway. You'll have to do this at the router unless the router has remote config capabilities, they are turned on, and you have the correct information with you.

    If this is on another party's LAN, say, at work, you'll need to talk to the network admins.

    If the problem is that you have a dynamic IP, and don't know when it changes - hence rendering you incapable of connecting - this has nothing to do with ports. You can use a service like http://www.dyndns.com/ to map a domain name to your dynamic IP, so you only need to remember that domain name to connect to your router/home LAN.

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)

    +
    0 Votes
    seanferd

    a bit of a diagram might help. If I understand correctly, you are on a LAN at the office end, yes?

    Workstation - Office LAN - Internet - Home network

    Is that correct? And you used to have a personal DSL connection from the office?

    If so, it may indeed be the case that you cannot receive data back from the Home Lab. The network admins for the office LAN would need to allow that traffic. It may be that ports are open to SSH, but telnet is so insecure I'd imagine standard telnet would be blocked. Have you tried SSH over commonly open ports (assuming this is allowed on the LAN)?

    I think I initially had your question mostly backwards - I thought you were asking about the ports on your home end.

    +
    0 Votes
    pinnakavamsi

    Hi, thx for your reply..

    forget about my office network and router. Lets assume that.. i have two workstation (name them X ad Y) in two different cities. and those PC's are in home not in office. PC 'X' have DSL internet connection, so i forwarded telnet port of PC 'X' in DSL modem. now i can telnet to PC 'X' over internet.


    when it comes to PC 'Y', i have shared internet. i dont have any DSL modem. my ISP provided one switch in my building and every one in my bulding is connected to that switch. and every one will use same public IP. my pc configured with private IP. in this case how can i telnet to PC 'Y' over internet. i dont have access to router to forward ports.

    +
    0 Votes
    seanferd

    you'll need to see whomever is in charge of that device in order that the proper ports be opened for the specific applications and protocols.

    If the switch is "dumb", or doesn't block anything, you'll need to check your local firewall to ensure the ports are open. The switch would need to properly send incoming traffic to your computer. If your computer only has a private IP on the LAN, you'll need to speak with whomever is in charge of that switch about configuring the connection.

    +
    0 Votes
    pinnakavamsi

    Hi, Thx for your reply

    My requirement is, i have Lab setup with cisco routers in my home. when i was using DSL Modem, i use to forward Telnet and SSH ports to access my rouetrs from my office. but now i am not using DSL modem. its a LAN connecion. it is like a shared internet. And my ISP is not providing any public IP for me. Every one in that LAN network will use same public IP.

    My question is.. is there any way to access my router over internet..

    If it is not possible.. i will go for DSL connection.. :)