The basic configuration of a VPN is relatively simple but integrating that VPN with the rest of the network is a much more difficult task. In this chapter, we will explore some advanced deployment scenarios for OpenVPN, which goes beyond the basic installation and configuration of a VPN. Some of these scenarios are based on actual questions from users on the OpenVPN mailing lists, forum, and IRC channel. We will cover the following topics:
Enabling (Windows) file sharing over the VPN
Integration with backend authentication mechanisms such as PAM and LDAP
Filtering VPN traffic (firewall)
Policy-based routing for enhanced security
Dealing with public versus private network adapters in Windows 7
Using OpenVPN with HTTP or SOCKS proxies
The examples presented throughout this chapter rely on the examples from the previous chapter, Chapter 4, Client/Server Mode with tun Devices. Most notably, the Basic production-level configuration files and Adding...