LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2003, 02:15 PM   #1
farzadb
LQ Newbie
 
Registered: Jul 2003
Distribution: Suse 8.2
Posts: 13

Rep: Reputation: 0
Setting up a Linux PPTP client


I have a Suse Linux 8.2 machine setup and home and need to connect to my works' Windows Server using a VPN.

My system at home connects through a Netgear MR814 Cable/DSL router to a cable network.

I have tried to configure and setup one PPTP client that I found on the web (pptpclient.sourceforge.net) using their online documentation, without success. Everytime I try to start the PPTP connection, all I get is a series of attempts to connect and then a time-out error. I followed the instructions which mentioned to use TCPDump to find the source of the problem (since according the the documentation the GRE packets weren't being correctly transferred), however, I am not 100% sure what it is that I am looking for.

If anyone can help out, or point me in the direction of a better tool, preferably one that is easier to setup/configure (Why does this have to be so damn complex ?) - btw, I have already tried the GTK UI for pptpclient, without success, I would greatly appreciate it.


-- Farzad.

Edit: Moved to the Networking foum

Last edited by mcleodnine; 08-22-2003 at 05:12 PM.
 
Old 08-28-2003, 05:38 PM   #2
gbj
Member
 
Registered: Jul 2003
Posts: 142

Rep: Reputation: 15
Hi I might be able to assist as I was having similar problems not so long ago
First off check if you have the pptp package installed(it comes with the distro)..
As for managing the pptp client i would strongly recommend webmin, it contains a pptp module that is quite transparent and easy to use..

Best of Luck
 
Old 08-28-2003, 08:29 PM   #3
farzadb
LQ Newbie
 
Registered: Jul 2003
Distribution: Suse 8.2
Posts: 13

Original Poster
Rep: Reputation: 0
gbj,

Thanks for the tip. I managed to get it working after few frustrating nights. It turns out that the Suse firewall was blocking all incoming packets and that's why I couldn't connect. I found a script, by accident, that opens the firewall for the GRE packets. However, I couldn't get it to automatically run on startup of the PPTP connection. For now, I have turned off the firewall, I know its probably not the wisest of things to do, however, I already have a firewall at my internet connection and I figured that this will be secure enough until I can work out a proper solution.

One question I do have though is how does one get various scripts to work on startup of the PPTP client ? - According to an article that I read, it mentioned to place the script in the /etc/ppp/ip-up directory, however, it still didn't work when the script was placed there. I had to run teh script manually! - even my routing script I have to run by hand after teh connection is estabilished. It works for now... I will look for a better way when I get more time.


-- Farzad.
 
Old 08-30-2003, 04:40 PM   #4
docv
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat
Posts: 16

Rep: Reputation: 0
You can start any service you want or any scripts you'd like to be executed each time the system starts up by puting them in the file;

/etc/rc.d/rc.local
 
Old 08-31-2003, 06:34 AM   #5
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Quote:
Originally posted by farzadb
gbj,


One question I do have though is how does one get various scripts to work on startup of the PPTP client ? - According to an article that I read, it mentioned to place the script in the /etc/ppp/ip-up directory, however, it still didn't work when the script was placed there. I had to run teh script manually! - even my routing script I have to run by hand after teh connection is estabilished. It works for now... I will look for a better way when I get more time.


-- Farzad.
ip-up is a script (not a dir). in most distros u need to use /etc/ppp/ip-up.local as your 'customized' script w/c is ran by /etc/ppp/ip-up whenever a successfull dialup is made.
 
Old 08-31-2003, 02:22 PM   #6
farzadb
LQ Newbie
 
Registered: Jul 2003
Distribution: Suse 8.2
Posts: 13

Original Poster
Rep: Reputation: 0
Actually, on my Suse 8.2 distribution, ip-up is both a script and a directory! - I will, however, take your suggestion and try ip-up.local.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux distro with PPTP client pre-installed? valnar Linux - Distributions 5 02-07-2006 12:22 PM
PPTP Client fayax Linux - Software 0 11-09-2005 01:57 PM
How to install vpn - client (pptp) for Suse Linux. vadimkovalev Linux - Newbie 2 10-01-2005 01:27 PM
How to install vpn - client (pptp) for Linux. vadimkovalev Linux - Networking 1 09-30-2005 01:42 AM
pptp client KeithKessler Linux - Networking 0 05-04-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration