A Virtual Private Network (VPN) encrypts internet traffic and masks the user's real IP address. When torrenting, a VPN ensures that copyright trolls and malicious peers in the swarm see the VPN server's IP address rather than the user's home location.

