OpenVPN is an open-source VPN (virtual private network) product. OpenVPN allows users to create a secure connection to another network or node. It can traverse firewalls and NAT's (network address translators), which makes it especially useful in corporate environments where these technologies are employed. Secure connections use either TLS (transport layer security) or its predecessor SSL (secure sockets layer) encryption protocols to ensure no eavesdropping can occur. Custom authentication can also be implemented to further validate the identity of the connecting user.
- Skill level:
Other People Are Reading
Navigate to the OpenVPN configuration file on the client side computer ("client.conf" on Linux/BSD/Unix or "client.opvn" on Windows.)
Open the configuration file with a text editor, ensuring that the file is not read-only.
Enter a new line into the configuration file, and then type "auth-user-pass."
Save the configuration file. The client will now be able to accept username and password requests from OpenVPN servers.
Open the configuration file on the OpenVPN server's machine.
Insert "auth-user-pass-verify" on a new line followed by a space and the Perl script used to authenticate connecting clients. This line should then end with "via-file." Using a sample script called "auth-pam.pl," for example, the line would read: "auth-user-pass-verify auth-pam.pl via-file."
Tips and warnings
- To force the server to only use accept username/password authentication, type "client-cert-not-required" into the server's OpenVPN configuration file.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for