plink.exe remote port forwarding to local machine for dynamic port forwarding The 2019 Stack...

Likelihood that a superbug or lethal virus could come from a landfill

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

What is this business jet?

Kerning for subscripts of sigma?

How to charge AirPods to keep battery healthy?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Finding the area between two curves with Integrate

Why does the nucleus not repel itself?

What is preventing me from simply constructing a hash that's lower than the current target?

How to support a colleague who finds meetings extremely tiring?

What do hard-Brexiteers want with respect to the Irish border?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What does もの mean in this sentence?

Loose spokes after only a few rides

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

I am an eight letter word. What am I?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Why couldn't they take pictures of a closer black hole?

How can I define good in a religion that claims no moral authority?

Worn-tile Scrabble

What is this sharp, curved notch on my knife for?

Can an undergraduate be advised by a professor who is very far away?

writing variables above the numbers in tikz picture

What is the meaning of Triage in Cybersec world?



plink.exe remote port forwarding to local machine for dynamic port forwarding



The 2019 Stack Overflow Developer Survey Results Are Infwbuilder: port forwarding incoming 222 port requests to a local machine 22 portcisco 1800 series NAT port forwarding for mail sendingHow to allow remote connections from non localhost clients with ssh remote port forwarding?Putty alternative for windows with support to remote port forwardinghow to solve the error: “ssh_exchange_identification: connection closed by remote host”Could not open port for activeMQ broker on CentOSForwarding of a specific portforwarding connections from firewalled local machine to firewalled remote machineAccessing to a remote PostgreSQL server using port forwarding to another machineSSH Remote Port Forwarding to specific user





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have been trying since 2 days to do the following:



I have a windows machine, let's call it A, and a Linux machine called B.



There is a firewall between A and B. I want to connect remotely from the windows machine A to my Linux machine (remote port forwarding to B), and once this is done I want to dynamically port forward connections from Linux machine B to Windows machine A.



I have been doing the following on the Windows machine A:



plink.exe -v -ssh -C -T -N -R 3310:127.0.0.1:22 root@LinuxMachine -pw MyPassword


And on the Linux machine B:



ssh -v -N -D 127.0.0.1:8080 -p 3310 root@127.0.0.1


The goal is to redirect all my traffic through this Windows machine including my browser (using socks4 proxy parameters). I have also changed my proxychain configuration file to point to 127.0.0.1 and port 3310.



When I validate the command on B, I got the following on Windows A machine:



Remote port forwarding from 3310 enabled
Attempting to forward remote port to 127.0.0.1:22
Forwarded port opened successfully
FOrwarded port closed due to local error


And I got the following on Linux B machine:



ssh_exchange_identification: Connection closed by remote host


I have been troubleshooting it but I think I'm lacking a bit on knowledge of how to perform remote port forwarding combined for dynamic port forwarding. My main idea of the issue is that it looks that packets are not going from Linux B to Windows A.



I have been changing a bit the plink.exe command on Windows A, but without success.



Thanks for your help!










share|improve this question














bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I have been trying since 2 days to do the following:



    I have a windows machine, let's call it A, and a Linux machine called B.



    There is a firewall between A and B. I want to connect remotely from the windows machine A to my Linux machine (remote port forwarding to B), and once this is done I want to dynamically port forward connections from Linux machine B to Windows machine A.



    I have been doing the following on the Windows machine A:



    plink.exe -v -ssh -C -T -N -R 3310:127.0.0.1:22 root@LinuxMachine -pw MyPassword


    And on the Linux machine B:



    ssh -v -N -D 127.0.0.1:8080 -p 3310 root@127.0.0.1


    The goal is to redirect all my traffic through this Windows machine including my browser (using socks4 proxy parameters). I have also changed my proxychain configuration file to point to 127.0.0.1 and port 3310.



    When I validate the command on B, I got the following on Windows A machine:



    Remote port forwarding from 3310 enabled
    Attempting to forward remote port to 127.0.0.1:22
    Forwarded port opened successfully
    FOrwarded port closed due to local error


    And I got the following on Linux B machine:



    ssh_exchange_identification: Connection closed by remote host


    I have been troubleshooting it but I think I'm lacking a bit on knowledge of how to perform remote port forwarding combined for dynamic port forwarding. My main idea of the issue is that it looks that packets are not going from Linux B to Windows A.



    I have been changing a bit the plink.exe command on Windows A, but without success.



    Thanks for your help!










    share|improve this question














    bumped to the homepage by Community 3 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I have been trying since 2 days to do the following:



      I have a windows machine, let's call it A, and a Linux machine called B.



      There is a firewall between A and B. I want to connect remotely from the windows machine A to my Linux machine (remote port forwarding to B), and once this is done I want to dynamically port forward connections from Linux machine B to Windows machine A.



      I have been doing the following on the Windows machine A:



      plink.exe -v -ssh -C -T -N -R 3310:127.0.0.1:22 root@LinuxMachine -pw MyPassword


      And on the Linux machine B:



      ssh -v -N -D 127.0.0.1:8080 -p 3310 root@127.0.0.1


      The goal is to redirect all my traffic through this Windows machine including my browser (using socks4 proxy parameters). I have also changed my proxychain configuration file to point to 127.0.0.1 and port 3310.



      When I validate the command on B, I got the following on Windows A machine:



      Remote port forwarding from 3310 enabled
      Attempting to forward remote port to 127.0.0.1:22
      Forwarded port opened successfully
      FOrwarded port closed due to local error


      And I got the following on Linux B machine:



      ssh_exchange_identification: Connection closed by remote host


      I have been troubleshooting it but I think I'm lacking a bit on knowledge of how to perform remote port forwarding combined for dynamic port forwarding. My main idea of the issue is that it looks that packets are not going from Linux B to Windows A.



      I have been changing a bit the plink.exe command on Windows A, but without success.



      Thanks for your help!










      share|improve this question














      I have been trying since 2 days to do the following:



      I have a windows machine, let's call it A, and a Linux machine called B.



      There is a firewall between A and B. I want to connect remotely from the windows machine A to my Linux machine (remote port forwarding to B), and once this is done I want to dynamically port forward connections from Linux machine B to Windows machine A.



      I have been doing the following on the Windows machine A:



      plink.exe -v -ssh -C -T -N -R 3310:127.0.0.1:22 root@LinuxMachine -pw MyPassword


      And on the Linux machine B:



      ssh -v -N -D 127.0.0.1:8080 -p 3310 root@127.0.0.1


      The goal is to redirect all my traffic through this Windows machine including my browser (using socks4 proxy parameters). I have also changed my proxychain configuration file to point to 127.0.0.1 and port 3310.



      When I validate the command on B, I got the following on Windows A machine:



      Remote port forwarding from 3310 enabled
      Attempting to forward remote port to 127.0.0.1:22
      Forwarded port opened successfully
      FOrwarded port closed due to local error


      And I got the following on Linux B machine:



      ssh_exchange_identification: Connection closed by remote host


      I have been troubleshooting it but I think I'm lacking a bit on knowledge of how to perform remote port forwarding combined for dynamic port forwarding. My main idea of the issue is that it looks that packets are not going from Linux B to Windows A.



      I have been changing a bit the plink.exe command on Windows A, but without success.



      Thanks for your help!







      port remote forwarding dynamic






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 13 '18 at 13:39









      john_vjohn_v

      11




      11





      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          When you are login it using 22 or spesific port which you set, but transfering somethings it is returning different ports for transfer, and range of that transfer port is soo big, so you need to something like VPN






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            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%2fserverfault.com%2fquestions%2f916460%2fplink-exe-remote-port-forwarding-to-local-machine-for-dynamic-port-forwarding%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            When you are login it using 22 or spesific port which you set, but transfering somethings it is returning different ports for transfer, and range of that transfer port is soo big, so you need to something like VPN






            share|improve this answer




























              0














              When you are login it using 22 or spesific port which you set, but transfering somethings it is returning different ports for transfer, and range of that transfer port is soo big, so you need to something like VPN






              share|improve this answer


























                0












                0








                0







                When you are login it using 22 or spesific port which you set, but transfering somethings it is returning different ports for transfer, and range of that transfer port is soo big, so you need to something like VPN






                share|improve this answer













                When you are login it using 22 or spesific port which you set, but transfering somethings it is returning different ports for transfer, and range of that transfer port is soo big, so you need to something like VPN







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 7 '18 at 15:06









                utruccehutrucceh

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • 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%2fserverfault.com%2fquestions%2f916460%2fplink-exe-remote-port-forwarding-to-local-machine-for-dynamic-port-forwarding%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

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Список ссавців Італії Природоохоронні статуси | Список |...

                    Українські прізвища Зміст Історичні відомості |...