Point-to-point tunneling protocol setup
pptpsetup --create <TUNNEL> --server <SERVER> [--domain <DOMAIN>] --username <USERNAME> [--password <PASSWORD>] [--encrypt] [--start] pptpsetup --delete <TUNNEL>
\s-1PPTP\s0 Client is a Linux, FreeBSD, NetBSD and OpenBSD client for the proprietary Microsoft Point-to-Point Tunneling Protocol, \s-1PPTP\s0.
This script configures \s-1PPTP\s0 Client on Linux.
create a tunnel named \s-1TUNNEL\s0
delete the file /etc/ppp/peers/TUNNEL and any lines from /etc/ppp/chap-secrets that contains \*(L"\s-1TUNNEL\s0\*(R" as a single word
the \s-1IP\s0 address or host name of the server
the authentication domain name (optional)
the username you are to use
the password you are to use. If you don't specify a password, pptpsetup will ask for one.
whether encryption is required
whether the connection should be started after configuration.
Nelson Ferraz <nferraz at gmail.com>, based on James Cameron's \s-1PPTP\s0 Client Debian \s-1HOWTO\s0.
http://pptpclient.sourceforge.net/howto-debian.phtml
http://pptpclient.sourceforge.net/howto-diagnosis.phtml
pptpsetup - Point-to-Point Tunneling Protocol setup
Copyright (C) 2006 Nelson Ferraz
This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.
You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, \s-1MA\s0 02110-1301 \s-1USA\s0