How to access a device connected to a different computer using the IP Address












0
















  • I have a device connected via ethernet cable to one computer (PC-1).


  • I know the IP Address of the device.


  • I know the IP Address of the computer (PC-1) also and I can ssh into that computer (PC-1) from my computer (PC-2) without a problem.


  • The problem is, the Firefox version on that computer (PC-1) is too old, to configure the device.


  • How can I access from my firefox on (PC-2), the device connected to that other computer (PC-1)?


  • And this computer (PC-2) does not have the correct cabling that would allow me to connect the device directly to it.



Firefox on PC-2 ----> PC-1 (IP known) ----> device (IP known)









share|improve this question

























  • Welcome to SuperUser. What have you tried so far?

    – Doug Deden
    Feb 28 at 15:30











  • If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

    – Joey Mallone
    Feb 28 at 15:33













  • Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

    – Doug Deden
    Feb 28 at 15:49






  • 1





    Why can't you update Firefox on PC1, or install another browser?

    – harrymc
    Feb 28 at 15:54











  • @DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

    – Joey Mallone
    Feb 28 at 16:24
















0
















  • I have a device connected via ethernet cable to one computer (PC-1).


  • I know the IP Address of the device.


  • I know the IP Address of the computer (PC-1) also and I can ssh into that computer (PC-1) from my computer (PC-2) without a problem.


  • The problem is, the Firefox version on that computer (PC-1) is too old, to configure the device.


  • How can I access from my firefox on (PC-2), the device connected to that other computer (PC-1)?


  • And this computer (PC-2) does not have the correct cabling that would allow me to connect the device directly to it.



Firefox on PC-2 ----> PC-1 (IP known) ----> device (IP known)









share|improve this question

























  • Welcome to SuperUser. What have you tried so far?

    – Doug Deden
    Feb 28 at 15:30











  • If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

    – Joey Mallone
    Feb 28 at 15:33













  • Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

    – Doug Deden
    Feb 28 at 15:49






  • 1





    Why can't you update Firefox on PC1, or install another browser?

    – harrymc
    Feb 28 at 15:54











  • @DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

    – Joey Mallone
    Feb 28 at 16:24














0












0








0









  • I have a device connected via ethernet cable to one computer (PC-1).


  • I know the IP Address of the device.


  • I know the IP Address of the computer (PC-1) also and I can ssh into that computer (PC-1) from my computer (PC-2) without a problem.


  • The problem is, the Firefox version on that computer (PC-1) is too old, to configure the device.


  • How can I access from my firefox on (PC-2), the device connected to that other computer (PC-1)?


  • And this computer (PC-2) does not have the correct cabling that would allow me to connect the device directly to it.



Firefox on PC-2 ----> PC-1 (IP known) ----> device (IP known)









share|improve this question

















  • I have a device connected via ethernet cable to one computer (PC-1).


  • I know the IP Address of the device.


  • I know the IP Address of the computer (PC-1) also and I can ssh into that computer (PC-1) from my computer (PC-2) without a problem.


  • The problem is, the Firefox version on that computer (PC-1) is too old, to configure the device.


  • How can I access from my firefox on (PC-2), the device connected to that other computer (PC-1)?


  • And this computer (PC-2) does not have the correct cabling that would allow me to connect the device directly to it.



Firefox on PC-2 ----> PC-1 (IP known) ----> device (IP known)






linux networking firefox ssh-tunnel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 1 at 11:12







Joey Mallone

















asked Feb 28 at 15:24









Joey MalloneJoey Mallone

1064




1064













  • Welcome to SuperUser. What have you tried so far?

    – Doug Deden
    Feb 28 at 15:30











  • If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

    – Joey Mallone
    Feb 28 at 15:33













  • Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

    – Doug Deden
    Feb 28 at 15:49






  • 1





    Why can't you update Firefox on PC1, or install another browser?

    – harrymc
    Feb 28 at 15:54











  • @DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

    – Joey Mallone
    Feb 28 at 16:24



















  • Welcome to SuperUser. What have you tried so far?

    – Doug Deden
    Feb 28 at 15:30











  • If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

    – Joey Mallone
    Feb 28 at 15:33













  • Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

    – Doug Deden
    Feb 28 at 15:49






  • 1





    Why can't you update Firefox on PC1, or install another browser?

    – harrymc
    Feb 28 at 15:54











  • @DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

    – Joey Mallone
    Feb 28 at 16:24

















Welcome to SuperUser. What have you tried so far?

– Doug Deden
Feb 28 at 15:30





Welcome to SuperUser. What have you tried so far?

– Doug Deden
Feb 28 at 15:30













If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

– Joey Mallone
Feb 28 at 15:33







If I knew what to try, I would've tried it already. "What have you tried so far?" is an oft repeated comment on SO. I understand the frustration of contributors when being overburdened by school-assignment posts. But sometimes you don't know even where to start. So yes, @DougDeden, I've tried till now nothing. And this is my first shot in dark to see what comes up.

– Joey Mallone
Feb 28 at 15:33















Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

– Doug Deden
Feb 28 at 15:49





Can you ping Device from PC-2? Have you tried entering the IP address of Device into Firefox on PC-2? Have you tried updating Firefox on PC-1?

– Doug Deden
Feb 28 at 15:49




1




1





Why can't you update Firefox on PC1, or install another browser?

– harrymc
Feb 28 at 15:54





Why can't you update Firefox on PC1, or install another browser?

– harrymc
Feb 28 at 15:54













@DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

– Joey Mallone
Feb 28 at 16:24





@DougDeden, I cannot ping device from PC-2. How should it even understand the IP address of that? I did try entering the IP address of the device into firefox on PC-2 and it gave up after a certain time. I cannot update the Firefox. I am not the administrator on PC-1.

– Joey Mallone
Feb 28 at 16:24










2 Answers
2






active

oldest

votes


















2














The best way to do it is to connect to the device via an SSH tunnel trough PC-1. So, on PC-2, you can make the tunnel with :



# SSH -L <inPort>:<deviceIP>:<outPort> <userPC-1>@<IP-PC-1>


with :




  • inPort : a random free port on PC-2 (80 or 8080 for example)

  • deviceIp : IP address of the device, this address need to be reachable by PC-1

  • outPort : The port to connect to the device (80 i guess)

  • userPC-1 : A user on PC-1 to connect via SSH (the one you used)

  • IP-PC-1 : IP address of PC-1n this address need to be reachable by PC-2


After you established this tunnel, you will be able to connect to the device on PC-2 wia the URL



http://localhost:<inPort>/


for example, if the service you want to contact on device is on port 80 and have the address of 192.168.1.10, PC-1 have address of 192.168.2.10 (PC-2 network) and 192.168.1.11 (Device network) and can be accessed with the login marcus. You can enter the following command on PC-2



# SSH -L 8080:192.168.1.10:80 marcus@192.168.2.10


and access the service by entering the following URL on PC-2
http://localhost:80






share|improve this answer































    1














    You want to use SSH and port forwarding



    Computer 1- old machine w/ device attached
    Computer 2 - your desktop etc



    ssh -L9090:ip.of.device:port_device_listens_on user@computer1


    So if the Device is at 10.0.2.15 and listening on port 7000 it would bea



    ssh -L9090:10.0.2.15:7000 user@computer1


    Log in and authenticate, then simply open a browser on your local machine and go to http://localhost:9090






    share|improve this answer
























    • +1 upvote. Thanks for the answer.

      – Joey Mallone
      Mar 1 at 11:09












    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410227%2fhow-to-access-a-device-connected-to-a-different-computer-using-the-ip-address%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    The best way to do it is to connect to the device via an SSH tunnel trough PC-1. So, on PC-2, you can make the tunnel with :



    # SSH -L <inPort>:<deviceIP>:<outPort> <userPC-1>@<IP-PC-1>


    with :




    • inPort : a random free port on PC-2 (80 or 8080 for example)

    • deviceIp : IP address of the device, this address need to be reachable by PC-1

    • outPort : The port to connect to the device (80 i guess)

    • userPC-1 : A user on PC-1 to connect via SSH (the one you used)

    • IP-PC-1 : IP address of PC-1n this address need to be reachable by PC-2


    After you established this tunnel, you will be able to connect to the device on PC-2 wia the URL



    http://localhost:<inPort>/


    for example, if the service you want to contact on device is on port 80 and have the address of 192.168.1.10, PC-1 have address of 192.168.2.10 (PC-2 network) and 192.168.1.11 (Device network) and can be accessed with the login marcus. You can enter the following command on PC-2



    # SSH -L 8080:192.168.1.10:80 marcus@192.168.2.10


    and access the service by entering the following URL on PC-2
    http://localhost:80






    share|improve this answer




























      2














      The best way to do it is to connect to the device via an SSH tunnel trough PC-1. So, on PC-2, you can make the tunnel with :



      # SSH -L <inPort>:<deviceIP>:<outPort> <userPC-1>@<IP-PC-1>


      with :




      • inPort : a random free port on PC-2 (80 or 8080 for example)

      • deviceIp : IP address of the device, this address need to be reachable by PC-1

      • outPort : The port to connect to the device (80 i guess)

      • userPC-1 : A user on PC-1 to connect via SSH (the one you used)

      • IP-PC-1 : IP address of PC-1n this address need to be reachable by PC-2


      After you established this tunnel, you will be able to connect to the device on PC-2 wia the URL



      http://localhost:<inPort>/


      for example, if the service you want to contact on device is on port 80 and have the address of 192.168.1.10, PC-1 have address of 192.168.2.10 (PC-2 network) and 192.168.1.11 (Device network) and can be accessed with the login marcus. You can enter the following command on PC-2



      # SSH -L 8080:192.168.1.10:80 marcus@192.168.2.10


      and access the service by entering the following URL on PC-2
      http://localhost:80






      share|improve this answer


























        2












        2








        2







        The best way to do it is to connect to the device via an SSH tunnel trough PC-1. So, on PC-2, you can make the tunnel with :



        # SSH -L <inPort>:<deviceIP>:<outPort> <userPC-1>@<IP-PC-1>


        with :




        • inPort : a random free port on PC-2 (80 or 8080 for example)

        • deviceIp : IP address of the device, this address need to be reachable by PC-1

        • outPort : The port to connect to the device (80 i guess)

        • userPC-1 : A user on PC-1 to connect via SSH (the one you used)

        • IP-PC-1 : IP address of PC-1n this address need to be reachable by PC-2


        After you established this tunnel, you will be able to connect to the device on PC-2 wia the URL



        http://localhost:<inPort>/


        for example, if the service you want to contact on device is on port 80 and have the address of 192.168.1.10, PC-1 have address of 192.168.2.10 (PC-2 network) and 192.168.1.11 (Device network) and can be accessed with the login marcus. You can enter the following command on PC-2



        # SSH -L 8080:192.168.1.10:80 marcus@192.168.2.10


        and access the service by entering the following URL on PC-2
        http://localhost:80






        share|improve this answer













        The best way to do it is to connect to the device via an SSH tunnel trough PC-1. So, on PC-2, you can make the tunnel with :



        # SSH -L <inPort>:<deviceIP>:<outPort> <userPC-1>@<IP-PC-1>


        with :




        • inPort : a random free port on PC-2 (80 or 8080 for example)

        • deviceIp : IP address of the device, this address need to be reachable by PC-1

        • outPort : The port to connect to the device (80 i guess)

        • userPC-1 : A user on PC-1 to connect via SSH (the one you used)

        • IP-PC-1 : IP address of PC-1n this address need to be reachable by PC-2


        After you established this tunnel, you will be able to connect to the device on PC-2 wia the URL



        http://localhost:<inPort>/


        for example, if the service you want to contact on device is on port 80 and have the address of 192.168.1.10, PC-1 have address of 192.168.2.10 (PC-2 network) and 192.168.1.11 (Device network) and can be accessed with the login marcus. You can enter the following command on PC-2



        # SSH -L 8080:192.168.1.10:80 marcus@192.168.2.10


        and access the service by entering the following URL on PC-2
        http://localhost:80







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 28 at 16:10









        redhenessredheness

        367




        367

























            1














            You want to use SSH and port forwarding



            Computer 1- old machine w/ device attached
            Computer 2 - your desktop etc



            ssh -L9090:ip.of.device:port_device_listens_on user@computer1


            So if the Device is at 10.0.2.15 and listening on port 7000 it would bea



            ssh -L9090:10.0.2.15:7000 user@computer1


            Log in and authenticate, then simply open a browser on your local machine and go to http://localhost:9090






            share|improve this answer
























            • +1 upvote. Thanks for the answer.

              – Joey Mallone
              Mar 1 at 11:09
















            1














            You want to use SSH and port forwarding



            Computer 1- old machine w/ device attached
            Computer 2 - your desktop etc



            ssh -L9090:ip.of.device:port_device_listens_on user@computer1


            So if the Device is at 10.0.2.15 and listening on port 7000 it would bea



            ssh -L9090:10.0.2.15:7000 user@computer1


            Log in and authenticate, then simply open a browser on your local machine and go to http://localhost:9090






            share|improve this answer
























            • +1 upvote. Thanks for the answer.

              – Joey Mallone
              Mar 1 at 11:09














            1












            1








            1







            You want to use SSH and port forwarding



            Computer 1- old machine w/ device attached
            Computer 2 - your desktop etc



            ssh -L9090:ip.of.device:port_device_listens_on user@computer1


            So if the Device is at 10.0.2.15 and listening on port 7000 it would bea



            ssh -L9090:10.0.2.15:7000 user@computer1


            Log in and authenticate, then simply open a browser on your local machine and go to http://localhost:9090






            share|improve this answer













            You want to use SSH and port forwarding



            Computer 1- old machine w/ device attached
            Computer 2 - your desktop etc



            ssh -L9090:ip.of.device:port_device_listens_on user@computer1


            So if the Device is at 10.0.2.15 and listening on port 7000 it would bea



            ssh -L9090:10.0.2.15:7000 user@computer1


            Log in and authenticate, then simply open a browser on your local machine and go to http://localhost:9090







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 28 at 16:06









            ivanivanivanivan

            1,27427




            1,27427













            • +1 upvote. Thanks for the answer.

              – Joey Mallone
              Mar 1 at 11:09



















            • +1 upvote. Thanks for the answer.

              – Joey Mallone
              Mar 1 at 11:09

















            +1 upvote. Thanks for the answer.

            – Joey Mallone
            Mar 1 at 11:09





            +1 upvote. Thanks for the answer.

            – Joey Mallone
            Mar 1 at 11:09


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410227%2fhow-to-access-a-device-connected-to-a-different-computer-using-the-ip-address%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!