Comment on Connection to VPS only via VPN or SSH

<- View Parent
chiisana@lemmy.chiisana.net ⁨9⁩ ⁨months⁩ ago

Also before diving too deep into firewalls, which is a good idea none the less, just go to SSHd config and set ListenAddress to only listen on the VPN network address instead of public IP, and no one can connect via the public IP.

Keep it simple, and add complexity only as needed.

source
Sort:hotnewtop