Linux PPP protocol development
 help / color / mirror / Atom feed
From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: Re:  pptponfig centos 5.4
Date: Mon, 14 Mar 2011 13:05:26 +0000	[thread overview]
Message-ID: <W769127617248921300107926@webmail37> (raw)
In-Reply-To: <W6630510430284451299766958@webmail23>

Using the Windows pptp when I connect it allows the remote host to set
my routes for the PPTP vpn.  Is there a way to do this in Linux too?
If I want to make a general tool to connect I would like to use it in
/etc/ppp/ip-up.local.  For instance, in one connection I want to do

     ip route replace 10.0.0.0/8 dev ppp0

but in another connection I want to do

     ip route replace 192.168.0.0/24 dev ppp0

I'd like to make a generic thing that would always set the correct route
(best thing to let the VPN server set my routes).  I suppose I could make
an interface and look up the tunnel in a text file and return the routes
but that is an extra step.

Tony


-----Original Message-----
From: James Cameron [mailto:quozl@laptop.org]
Sent: Thursday, March 10, 2011 04:19 PM
To: linux-ppp@vger.kernel.org
Subject: Re: pptponfig centos 5.4

On Thu, Mar 10, 2011 at 02:22:38PM +0000, tony.chamberlain@lemko.com wrote:
> I remember one of the James's wrote pptpconfig ;-)

My name is on it.  The regret lingers on.  "PHP-GTK, why?", I ask
myself.

> I guess my main questions about centos 5.4 vs. 4.5
> 
>   1. Is there a different install method?
>   2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
> 
> or a different location to get the repository?

I don't know.

Alternatives, should you still require them ...

1.  pptpsetup is included in pptp, and is a non-GUI for achieving the
same thing as pptpconfig,

2.  Network Manager has a pptp plugin which does the same and more.

-- 
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




  parent reply	other threads:[~2011-03-14 13:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
2011-03-10 14:38 ` Jan Just Keijser
2011-03-10 14:49 ` tony.chamberlain
2011-03-10 15:19 ` tony.chamberlain
2011-03-10 21:19 ` James Cameron
2011-03-11  3:09 ` tony.chamberlain
2011-03-11  3:45 ` James Cameron
2011-03-14 13:05 ` tony.chamberlain [this message]
2011-03-14 21:46 ` James Cameron
2011-03-15  0:21 ` tony.chamberlain
2011-03-15 11:03 ` James Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=W769127617248921300107926@webmail37 \
    --to=tony.chamberlain@lemko.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox