(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >


Scott Bronson



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