DML School of Technology
Menu

Open to everyone Reading, lesson 37 of 100, 2 min read

VPNs and remote access

Working from anywhere

Staff need to reach school or company systems from home, on the road and from their phones. Doing that safely is remote access security.

VPNs

A virtual private network (VPN) creates an encrypted tunnel between a device and a trusted network. Traffic inside the tunnel cannot be read by the café Wi-Fi or the mobile network.

  • A remote-access VPN connects one user's device to the office network.
  • A site-to-site VPN joins two offices' networks permanently, for example a main campus and an annexe.

A VPN protects data in transit. It does not make an infected laptop safe; once connected, that laptop is inside the network. That is why VPN access should be combined with MFA, device checks and segmentation.

Commercial VPN apps

Consumer VPN services move your trust from the local network to the VPN company, which can see your traffic's metadata. They help on untrusted Wi-Fi, but "free" VPN apps have been caught selling data or containing malware. Choose carefully, or simply use mobile data.

Safer remote access patterns

PatternNotes
VPN + MFAThe classic approach; limit what VPN users can reach
Zero trust accessEach application checks the user and device on every request; no broad network access
Bastion (jump) hostAdmins connect to one hardened server, and only from there to other servers
Web applications over HTTPSMany services (email, learning platforms) need no VPN at all if they use HTTPS and MFA

Never expose these to the whole internet

Remote Desktop (port 3389), SSH with passwords, database ports and admin panels of routers and cameras are scanned constantly by attackers. Put them behind a VPN or restrict them to known addresses, and use keys or MFA.

Warning

Many ransomware attacks begin with Remote Desktop open to the internet and a guessed or stolen password.