this post was submitted on 18 May 2024
19 points (100.0% liked)

linux4noobs

1340 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 1 year ago
MODERATORS
 

Hello I am wondering if there is increased network/packet security by connecting to a server over ssh through a VPN hosted by that same server as opposed to without first tunneling by VPN. I imagine with or without tunneling through a VPN there would be latency/speed differences too?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] orcrist@lemm.ee 1 points 5 months ago (1 children)

Whenever we have a discussion about security, it's generally useful for us to talk about the types of attacks that we are trying to mitigate. What are some examples that you would be concerned about?

If your VPN is reasonably responsive, you probably won't notice a change in the latency. VPNs tend to have maximum top speeds, and if you were doing SFTP, there's a reasonable chance you would find that limit very quickly.

[โ€“] Ponziani@sh.itjust.works 1 points 5 months ago

I am aware that opening / forwarding ports are attack vectors and they become unavoidable though if i need the vpn and ssh capability, however, in theory the ssh port could be closed/not forwarded if traffic/connection was tunneled through the VPN. Those are my thoughts