logo elektroda
logo elektroda
X
logo elektroda

Determine & Set Up an External IP Address on Laptop with UPC Modem/Router Connection

mnd017 43064 25
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 10002823
    mnd017
    Level 11  
    The question as in the subject seems to be mega-banal.

    My situation looks like this:
    I have internet with UPC. they gave me a modem, router ... I have a laptop connected to the router wirelessly.

    I want to have an external ip address in my laptop. How to do it and how to check if it was successful?
  • ADVERTISEMENT
  • #3 10002858
    piterus99
    Level 43  
    If you have a wireless router, you have an internal IP in your laptop, you need to forward ports to expose certain services to the outside.
  • #4 10002882
    mnd017
    Level 11  
    Not. I have a normal wired router. That is, a modem is attached to the antenna. a router is connected to the modem.
    The laptop has an internal IP assigned to it by the router. that is 192.168.1.3. And I want my laptop to have an external IP, like in the link provided by @Zygaqra.

    Port forwarding, could you tell me exactly how to do it ... because I have been working on it all day and maybe I'm doing something wrong myself. What exactly to do and how, so that my address is not 192.168.1.3, but as shown on this page? To put certain services externally, do I also have to do something with the firewall?

    I would like you to write me exactly like you idiot :)
  • ADVERTISEMENT
  • #5 10003558
    jimasek
    VIP Meritorious for electroda.pl
    mnd017 wrote:
    That is, a modem is attached to the antenna. a router is connected to the modem.

    Maybe more precisely what are these devices, because it is possible that you and the provider are behind a double NAT. Which causes your redirect to get nothing.
  • ADVERTISEMENT
  • #6 10003623
    piterus99
    Level 43  
    When you write the antenna, you mean the cable concentrator, right?

    You need to provide the model of the connected router to the modem then, so that we can help you.
  • #7 10003781
    kleer94
    Level 11  
    If you have windows, type in the console:
    ipconfig / all
    And show you what you got into the IPv4 address.
    If this address is the same as the one given on this page: http://www.whatismyip.com/ then you have an external ip.
    On Linux, you give "ip a" to the console and check "inet" with "eth0" allbo "eth1".
    If the address is the same as on the other side, you also have an external ip.
  • #8 10003850
    salmon
    Moderator of Networks, Internet
    kleer94 wrote:
    If this address is the same as the one given on this page: http://www.whatismyip.com/ then you have an external ip.

    Well, not necessarily, maybe (and even has, as already written :P ) have an address in the private scope, and all ports redirected by the provider from the public IP.
    Go to the router settings and see what IP you have assigned (in the status) on the WAN port.
  • #9 10003872
    mnd017
    Level 11  
    @jimasek
    I wrote that I have internet with UPC. So a normal antenna - the cable that goes to the TV, you split it into two and one goes to the TV, the other to the modem. This is probably a standard UPC solution with wired internet? I thought so ..

    @ piterus99
    as above + router: Netgear WPN824 RangeMax

    @ kleer94
    After all, I wrote: "The laptop has an internal IP assigned to it by the router. That is 192.168.1.3. And I want my laptop to have an external IP, such as in the link provided by @Zygaqra."
    I mean, I know how to check what ip I have with ipconfig. I know that since the laptop uses a router, it must have an internal IP that it got from the router. My question is, since I have an external IP from UPC (theoretically that's what I read on the Internet), how can I use it? How to have an external IP on my laptop, the particular one that got the address from the router 192.168.1.3?

    Thanks in advance for your help.
  • #10 10003894
    salmon
    Moderator of Networks, Internet
    mnd017 wrote:
    (theoretically that's what I read on the internet

    As I already wrote (but you may not have noticed my post, judging by the time difference of subsequent posts), check what you get on the router WAN, then we will think what to do with it.

    mnd017 wrote:
    How to have an external IP on my laptop, the particular one that got the address from the router 192.168.1.3?

    Specifically, it is by directly connecting the laptop to the modem (wired or wireless) without routing, but then you can only use 1 computer ... And to have only publicly visible services, just like piterus99 wrote.
  • #11 10003993
    mnd017
    Level 11  
    In fact, I did not catch your post: / But I am answering, basically I will throw a screen so that there are no understatements.

    But before that, I want to point out my first question "How to do it and how to check if it was successful?". I also meant, in case I managed to redirect the ports so that I had a router and an external ip on the laptop - how to check if the ports are really well redirected? Is it working?

    And another screen from the router settings, maybe you need to set something here:

    Determine & Set Up an External IP Address on Laptop with UPC Modem/Router Connection
  • #12 10004073
    kleer94
    Level 11  
    You probably don't know what you are writing. If you have a router that is assigned 1 IP address, you cannot have an external ip on a laptop that is connected to the net through that router.
    If you want to have a service on a connected laptop available from the Internet, you need to redirect the port to it, which was already mentioned by pietrus at the beginning.
    If you don't want to mess with ports, your lapek must be connected to the net not via a router, but indirectly, and possibly it can be a router.
    But it's best to redirect the ports, and yes, it works ;)
    You have to play in the "Port forwarding" tab. How to set it depends on what you want to achieve.
    If you don't know what to type, give screenshots.
  • #13 10004091
    mnd017
    Level 11  
    @ kleer94, I wrote that I mean port forwarding: /
    Anyway, I will add a redirect screen: (I will add that 192.168.1.3 - this is the internal ip of my laptop, which was assigned to me by the router).

    Determine & Set Up an External IP Address on Laptop with UPC Modem/Router Connection

    You can now see my settings in this and the previous post. Is the port forwarded well, that I can figuratively say that my laptop now has an external IP? And how can you check it?
  • #14 10004120
    kleer94
    Level 11  
    Your laptop still doesn't have an external IP, but is now port forwarded to it.
    Yes, the port should now be correctly forwarded.
    It's best to download a http server, e.g. Apache, which is free, the most popular, etc.
    When you have already unplugged this server, after typing in the browser "127.0.0.1" on this laptop should display "It works!" or something like that. The same should be displayed if you type in the browser the address from this page: http://www.whatismyip.com/. You type in the address bar eg 83.21.41.234 and it should show the same page as when you typed 127.0.0.1. If this is the case, you have port 80 redirected to your paw and you can, for example, build a website ;)
  • ADVERTISEMENT
  • #15 10004122
    piterus99
    Level 43  
    Set up a proxy in your browser and try to enter your IP address. You will enter as if "from the outside" and if you have a web server set up, the page should appear.

    From netgear we would like the status tab screen.
    In the screen two posts above there is a DMZ option - if you enter the laptop's IP there, all ports will be redirected.
  • #16 10004760
    kleer94
    Level 11  
    With the DMZ, I would be careful.
    Besides, you just need to enter your external IP in the browser and you don't have to do it through a proxy.
  • #17 10004821
    salmon
    Moderator of Networks, Internet
    kleer94 wrote:
    Besides, you just need to enter your external IP in the browser and you don't have to do it through a proxy.


    Doing this from the same local network doesn't have to work without a proxy.
  • #18 10005173
    mnd017
    Level 11  
    @ kleer94
    After I set up Forwarding and did nothing DMZ or proxy. After typing ext. Ip the page "does not answer too long". At the same time, I do not have any http server set up yet. What should show up then?

    @ piterus99
    How to set ? Manual proxy configuration-> HTTP proxy and give my ext ip and port 80 there?

    After all, I don't know what about this DMZ? Type something in there?

    Determine & Set Up an External IP Address on Laptop with UPC Modem/Router Connection
  • #19 10006011
    salmon
    Moderator of Networks, Internet
    Finally, now we know you have a public address on the router's WAN.

    First of all - do you have a web server running on the 80 / tcp port on your laptop during the tests? Secondly, you can confirm the open port, correctly redirected to the listening service, on http://canyouseeme.org/ . You have a redirection set up, leave the DMZ alone for now.
  • #20 10007193
    piterus99
    Level 43  
    Quote:
    At the same time, I do not have any http server set up yet.

    Yes, but it must be added that apart from the redirected port on the router, there must also be some program listening for connections on a given port for the message to show up.

    And with a proxy server, I advise you to read on Wikipedia, for example, because you want to enter something by force and you do not know what and why.
  • #21 10011602
    mnd017
    Level 11  
    @ piterus99
    Exactly this listening program. Thought that was what this WCF service would be? So a network service, made available in Windows Service.

    salmon wrote:

    First of all - do you have a web server running on the 80 / tcp port on your laptop during the tests?


    Exactly .. is it necessary to run this server .. is it enough to make the WCF network service available in windows service?
  • #22 10011868
    salmon
    Moderator of Networks, Internet
    WCF, if it works, of course, will be i.a. www server. If, after entering the IP address of the network, some "unknown" page opens in the browser, it means that the server / service is working.
  • Helpful post
    #23 10012036
    piterus99
    Level 43  
    Enter http: // localhost / on this computer - if something opens, the service is operational and should be available from the Internet. If it says "Server cannot be found" it is a sign that it is not strictly an http server and you need to install IIS, for example.
  • #24 10017991
    mnd017
    Level 11  
    I have the main IIS website on localhost (because I installed this service on windows, I don't have a website - but I don't want to use IIS) - I don't want anything to do with IIS, I don't want any web servers on my laptop.

    I would like my IP on a specific port to be available to the world. For example, will it be visible on the site "http://canyouseeme.org/" previously mentioned?

    UPDATE
    Approx. I will say differently in the Forwarding section, how to set a specific port? Because for HTTP I can't change from 80. The choice is as shown in the screenshot. I would like to open one port to the world.

    Determine & Set Up an External IP Address on Laptop with UPC Modem/Router Connection
  • Helpful post
    #25 10018282
    salmon
    Moderator of Networks, Internet
    You have the "Add Custom Service" button at the bottom
  • #26 10018475
    mnd017
    Level 11  
    Approx. Thanks a lot. Looks like it seems to be working in the end .. Just a few more things I need to test

Topic summary

The discussion revolves around configuring an external IP address for a laptop connected to a UPC modem/router. The user seeks guidance on how to achieve this, as their laptop currently has an internal IP (192.168.1.3). Responses highlight the necessity of port forwarding to expose services externally, as having a router typically means the device will not have a direct external IP. Users suggest checking the WAN IP on the router, setting up port forwarding, and using tools like "canyouseeme.org" to verify if the ports are correctly redirected. The conversation also touches on the importance of having a listening service (like a web server) on the laptop to confirm successful port forwarding.
Summary generated by the language model.
ADVERTISEMENT