VPN PPP-SSH Mini-HOWTO

Scott Bronson

bronson@trestle.com

2001-07-29

Revision History
Revision v1.002002-01-16Revised by: sb
Initial (public) release.

A PPP-SSH VPN is probably the easiest type of VPN to set up. It uses nothing more than the very common PPP and SSH utilities to form an encrypted network tunnel between two hosts.


Table of Contents
1. Introduction
1.1. Copyright
1.2. Disclaimer
1.3. Credits
2. Introduction
2.1. PPP-SSH Benefits
2.2. PPP-SSH Drawbacks
2.3. Suggested Reading
2.4. Alternatives
3. Software Installation
3.1. Terminology
3.2. Requirements
3.3. Planning
3.4. Set Up PPP
3.5. Allow SSH Through the Firewall
4. Configure the Server
4.1. Create a VPN User
4.2. Set up Authenticated Login
4.3. Set Up sudo
5. Configure the Client
5.1. Install the Script
5.2. The vpn-pppssh Script
6. Bring up the Link
6.1. Troubleshooting
7. Integrating the VPN into your system
7.1. Connecting at Boot Time
7.2. Connecting via Dial-Up
8. Forwarding Between Subnets
8.1. Forwarding
8.2. Gatewaying
8.3. Routing
8.4. Masquerading
8.5. Now try it