Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

Is port forwarding dangerous inherently?

Asked by Ankesh Kumar Dec 3, 2021 1.2K views 1 answer
Share

About this question

I had an argument with a person a while back when I proposed we forward port 12xyz to an internal SSH server.


The target server was tied down in a manner similar to the one recommended by @stribika at https://stribika.github.io/2015/01/04/secure-secure-shell.html. Specifically, no root access, public key authentication only, non-standard ssh port, high-quality ciphers, kex, and, macs.


I was arguing that the forwarded port was not inherently dangerous in itself, and that the safety was dependant on the service at the target port. I maintained my method was a perfectly secure way to gain remote access. He vehemently argued that it was not, stating that a VPN tunnel is the only safe way to achieve remote access. So i want to confirm here. Is port forwarding dangerous? 


Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.