[Bug 876] ssh needs to support a way to allow any host to contact a remotely forwarded port

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Jun 6 09:28:18 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=876

           Summary: ssh needs to support a way to allow any host to contact
                    a remotely forwarded port
           Product: Portable OpenSSH
           Version: 3.8.1p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: mohit_aron at hotmail.com


Consider the following command:
       foo% ssh -R 8080:localhost:80 bar
The above would forward the port 8080 on bar to port 80 on machine foo. However,
this only permits applications running on bar to connect to its 8080 port. 
An application running on a third machine (say baz) cannot connect to bar:8080.
ssh needs to support a way to allow this.

Note that the '-g' option with ssh only works for the ports forwarded with the
'-L' option. Thus, if I had instead used:
       foo% ssh -g -L 8080:localhost:80 bar
The above forwards port 8080 on foo to port 80 on bar. It also permits a 3rd
machine baz to connect to foo:8080.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list