Chapter 5. Implementation

Table of Contents

1. Planning
2. Gather the tools
2.1. For the Server:
2.2. For the Client:
3. Server: Build the kernel
4. Server: Configure Networking
4.1. Configuring the interfaces
4.2. Setting routes
4.3. Making filter rules
4.4. Routing
5. Server: Configure pppd
5.1. /etc/ppp/
5.2. /etc/ppp/options
5.3. Avoiding conflicts
6. Server: Configure sshd
7. Server: Set up user accounts
8. Add vpn-users group
9. create the vpn-users home directory
10. The .ssh directory
11. Adding users
12. Server: Administration
13. Client: Build the kernel
14. Client: Configure Networking
14.1. Interface
14.2. Filter rules
14.3. Routing
15. Client: Configure pppd
16. Client: Configure ssh
17. Client: Bring up the connection
18. Client: Set the routes
19. Client: Scripting
19.1. Keeping it running

In this section, I explain step by step how to set up your VPN system. I'll start with the server, and then move on to the client. For the purposes of an example, I will invent a situation that would require a couple of different kinds of VPN set up.