A site-to-site VPN allows two networks to communicate with each other by establishing a secure connection between them. Traffic is then transmitted over an encrypted tunnel protocol so that communication remains secure and private.