You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Directly connect in LAN without TCP port forwarding #661
Thanks for the awesome work! As in current release it relies on TCP Forwarding, use of the extension in environments where port forwarding has been disabled for security reason is impossible. (#92 )
However, I wonder if the remote machine is under the same LAN, could we connect it directly without port forwarding? (by adding an option)
To clarify, assume local host has IP 10.19.0.1, remote host has IP 10.19.0.101
Instead of forwarding port from 10.19.0.101:25001 -> localhost:10095 and using localhost:10095 to transmit, it is possible to use 10.19.0.101:25001 to transmit directly without TCP forwarding?
If that's possible, then it would be a quick workaround in such scenario, for remote server in the same LAN (or with a public IP such that direct connection is possible) with AllowTCPForwarding=No.
Reacted by Lars The, Fadi H. Rezq, zirui, Nguyen Thanh Nguyen, Jonathan Visbecq, digitalbadger-uk, pbderr, Miguel Del-Agua and electrovir
It's interesting that tcp forwarding in ssh would be disabled, but any port can be exposed? That seems like a contradiction to me. This would be easy but I have no clue how common this would be.
I don't really know how common it is, but at least it's the case in my currect company (not sure whether any port is exposed, but at least some ports are exposed).
roblourens Thanks for your work on #15 Our Linux development servers are not able to connect outside our network, so not needing to connect externally is a good first step.
We have the same kind of scenario as the commenter above in our corporate environment. Our processes on development servers can all open ports > 1024 but the ssh configuration is set by system policy to AllowTCPForwarding=no. We aren't able to get an exception internally, so unable to use the Remote - SSH Extension.
I have a feeling other corporate environments will be similar regardless of the efficacy of marking AllowTCPForwarding=no as explained in #92 (Security teams prefer to be safe and overzealous).
Since you suggested this would be easy, can we get it prioritized?
Reacted by Kai, Mark Southern, Aalok Shah, Jonathan Visbecq, pbderr and Miguel Del-Agua
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
Activity
lars18th commentedon Jun 12, 2019
Hi,
I agree for this solution in scenarios where:
roblourens commentedon Jun 12, 2019
It's interesting that tcp forwarding in ssh would be disabled, but any port can be exposed? That seems like a contradiction to me. This would be easy but I have no clue how common this would be.
hiiwave commentedon Jun 13, 2019
I don't really know how common it is, but at least it's the case in my currect company (not sure whether any port is exposed, but at least some ports are exposed).
pomack commentedon Oct 16, 2019
roblourens Thanks for your work on #15 Our Linux development servers are not able to connect outside our network, so not needing to connect externally is a good first step.
We have the same kind of scenario as the commenter above in our corporate environment. Our processes on development servers can all open ports > 1024 but the ssh configuration is set by system policy to
AllowTCPForwarding=no. We aren't able to get an exception internally, so unable to use the Remote - SSH Extension.I have a feeling other corporate environments will be similar regardless of the efficacy of marking
AllowTCPForwarding=noas explained in #92 (Security teams prefer to be safe and overzealous).Since you suggested this would be easy, can we get it prioritized?
Mark-Southern commentedon Nov 11, 2019
Same here. AllowTcpForwarding=no and no exception, can open all ports > 1024. Could a connection port be specified in the config?
vscodenpa commentedon Dec 17, 2022
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!