# VPNs and Secure Remote Access

> Learn how site-to-site and remote-access VPNs protect traffic, their limits, and how to run remote access safely. Free notes, key concepts, resources and a...

Canonical: https://www.internhack.in/roadmaps/tracks/cybersecurity/vpn-remote-access
Last updated: 2026-11-28

Learn how site-to-site and remote-access VPNs protect traffic, their limits, and how to run remote access safely.

Intermediate · about 6 hours · difficulty 2/5

Learn first: [TLS and Encryption in Transit](https://www.internhack.in/roadmaps/tracks/cybersecurity/tls), [Firewalls and Network Segmentation](https://www.internhack.in/roadmaps/tracks/cybersecurity/firewalls-segmentation)

A **VPN** creates an encrypted tunnel across an untrusted network. Organisations use **site-to-site** VPNs to join offices and clouds, and **remote-access** VPNs so employees can reach internal systems from home.

### Protocols you will meet

- **IPsec**: the classic standard for site-to-site tunnels, built into most firewalls and cloud gateways.
- **TLS-based VPNs** (OpenVPN, many vendor SSL VPNs): common for remote users.
- **WireGuard**: modern, small and fast, with a minimal configuration surface.

### What a VPN does and does not do

- It protects confidentiality and integrity of traffic in transit.
- It does **not** make the device on the other end trustworthy. A compromised laptop on the VPN is a compromised laptop inside your network.
- Traditional VPNs often grant broad network access once connected, which conflicts with least privilege.

### Running remote access safely

- Require **MFA** on every VPN login, ideally phishing-resistant.
- Patch VPN appliances fast: internet-facing gateways appear often in CISA's Known Exploited Vulnerabilities catalog.
- Restrict what VPN users can reach by group, and log connections to your SIEM.
- Check device posture (patched, EDR running) before granting access where possible.

### Pitfalls

- Shared VPN accounts with no MFA.
- Forgotten old gateways that nobody patches.

Good enough to move on: you can set up WireGuard between two lab VMs, explain split versus full tunnelling, and list the controls a secure remote-access design needs.

## Key concepts

- **Site-to-site vs remote-access VPN**
- **IPsec basics**
- **WireGuard and OpenVPN**
- **Split vs full tunnelling**
- **MFA and device posture**
- **Patching internet-facing gateways**

## Mini project

Build a WireGuard tunnel between two VMs, restrict the peer so it can reach only one internal service, and document how you would add MFA and logging in a real deployment.

## Check yourself

Why does a VPN alone not satisfy the principle of least privilege?

## Free resources

- [WireGuard quick start](https://www.wireguard.com/quickstart/) (WireGuard)
- [NIST SP 800-77 Rev. 1: Guide to IPsec VPNs](https://csrc.nist.gov/pubs/sp/800/77/r1/final) (NIST)
- [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) (CISA)

Previous: [Intrusion Detection and Prevention](https://www.internhack.in/roadmaps/tracks/cybersecurity/ids-ips) · Next: [Zero Trust Architecture](https://www.internhack.in/roadmaps/tracks/cybersecurity/zero-trust)

## More in Network Defense

- [Firewalls and Network Segmentation](https://www.internhack.in/roadmaps/tracks/cybersecurity/firewalls-segmentation)
- [Intrusion Detection and Prevention](https://www.internhack.in/roadmaps/tracks/cybersecurity/ids-ips)
- [VPNs and Secure Remote Access](https://www.internhack.in/roadmaps/tracks/cybersecurity/vpn-remote-access)
- [Zero Trust Architecture](https://www.internhack.in/roadmaps/tracks/cybersecurity/zero-trust)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cybersecurity Roadmap](https://www.internhack.in/roadmaps/tracks/cybersecurity)
