Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-24-2002, 12:27 AM   #1
LQ Newbie
Registered: Dec 2002
Distribution: Mandrake 9.0
Posts: 1

Rep: Reputation: 0
Question pptp-command tunnel configuration

Trying to connect to my Windows 2000 VPN server that sits behind an IP tables firewall (redhat 7.x). I am using pptp client, with mppe. I always time out. Pretty sure I've got the Chap secrets configured right, but I think, I'm configuring the tunnel wrong. I'm on a lan at home with a dsl connection. The given instructions are vague to me (see below)

(is an example, not my settings)

Add a NEW PPTP Tunnel.

1.) Other
Which configuration would you like to use?: 1
Tunnel Name: FIUSCS
Server IP:
What route(s) would you like to add when the tunnel comes up?
This is usually a route to your internal network behind the PPTP server.
You can use TUNNEL_DEV and DEF_GW as in /etc/pptp.d/ config file
TUNNEL_DEV is replaced by the device of the tunnel interface.
DEF_GW is replaced by the existing default gateway.
The syntax to use is the same as the route(8) command.
Enter a blank line to stop.
route: add -host gw DEF_GW NOTE: replace DEF_GW above with the ip address of your local gateway
route: add -net netmask ppp0
Local Name and Remote Name should match a configured CHAP or PAP secret.
Local Name is probably your NT domain\username.
NOTE: Any backslashes (\) must be doubled (\\).

I think I'm screwing up when I do the (route: add ) commands when configuring the tunnel. Have no idea what a route(8) command syntax is supposed to look like. I know what the default gateway of my local lan is as well as the gw to the vpn. What exactly do I need to put in the route: add -host and route: add - net lines? I'm assuming that instead of ppp0 I should use eth0, but other than that, I'm clueless.

I am completely new to Linux, been a point and click weenie for a long time now. It is so easy to connect to my VPN server using windows, why am I having so much trouble using linux? A good gui for pptp-command would probably help, but can't find one.

Old 12-26-2002, 07:42 PM   #2
Registered: Dec 2002
Location: London / Paris
Distribution: Debian / OpenBsd
Posts: 74

Rep: Reputation: 15
Are you able to access you pptp server with a windows machine ?

If not it might be your fw, 1723/tcp and protocol gre should be opened

If yes, i don't think it's a routing problem cause pptp should add you're machine an new virutal ip @.

Look at your logs anyway.



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
VPN configuration pptp ssfrstlstnm Linux - Networking 5 05-02-2005 03:53 AM
I need to tunnel X via ssh... is there a command? Thaidog Linux - Newbie 1 09-29-2004 01:58 PM
activating pptp tunnel at boot time gbj Linux - Networking 0 05-11-2004 05:30 AM
pptp tunnel at boot gbj Linux - Networking 0 07-21-2003 01:30 PM
pptp vpn configuration question agoltz Linux - Networking 0 03-29-2003 02:32 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:23 PM.

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