LinuxQuestions.org
Review your favorite Linux distribution.
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 03-02-2004, 11:50 AM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
PPTP VPN Setup Question


I'm trying to set up a VPN between my laptop on my school's wireless network and my Linux server at home. The Linux server is the router for my home network. Here is a diagram of the situation...

LAPTOP <------> (School Network) <----> ((Internet)) <----> Linux Server <---> (Home Network)

I have set up a PPTP server at home (http://www.poptop.org) and have turned on Dial-Up Networking and the VPN Adapter on Windows ME on the Laptop. I've set up a connection to home, and I believe it's all right. However, I get no response when trying to connect.

These are the only two lines in my pptpd.conf file:

localip 192.168.1.11 # The IP I want the laptop to get on the home network
remoteip xxx.xxx.xxx.xxx # My cable modem's IP address

Should I be allowing some more ports on the firewall on the Linux machine to allow a connection??


Thanks in advance for any help.
 
Old 03-03-2004, 10:41 AM   #2
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I found the ports necessary to get connected and opened them on the firewall. I was able to "connect" but it died while "verifying the username and password." So, I looked around a bit and decided to try messing with my configuration files for poptop. I took a suggestion off the internet (which didn't explain what the lines of this config file meant) and got a ton of errors. Here is the suggested /etc/ppp/options.pptpd file I used:

name *
lock
noauth
proxyarp
+chap
+chapms-v2
mppe-40
mppe-128
mppe-stateless

Then, when trying to connect I got an error (via SSH) from the Linux machine saying that +chapms-v2 was an unrecognized option. After commenting that out it was mppe-40, then mppe-128, so I finally got sick of it and commented out the entire file. So, I turned off all encryption on the Win ME laptop and connected. It worked, sort of. I was able to connect, but I couldn't do anything with the connection. I tried to SSH to 192.168.1.1 (which is the Linux machine's internal IP address) and it didn't work. I'm not on a reserved subnet (i.e. 192.168.0.0/16) here at school, so I know it wasn't a conflict of IPs between the VPN and the local network I'm on.

I'm totally lost here, guys. TOTALLY lost, but I want to learn how all this works. Can someone please help me? :/

Last edited by gauge73; 03-03-2004 at 10:44 AM.
 
Old 03-03-2004, 01:11 PM   #3
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Perhaps I need to simplify this a bit... Since I _am_ technically connecting to the VPN, what should I be able to do with it? The internal IP of my Linux machine at home is 192.168.1.1. Does this mean that when connected to the VPN I should be able to connect to 192.168.1.1 as if I were on the LAN at home?

I'm thinking I may have a serious misconception about VPNs in general or something.
 
Old 03-04-2004, 09:25 AM   #4
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
*bump*
 
Old 07-06-2004, 10:44 AM   #5
adajun
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
do you have any services running on the linux computer that you want to use? You can connect to them with vpn. Some examples are a samba share if there are files you want to access or VNC if you want to actually login to your linux box remotely and see the gui.



adam
 
Old 07-06-2004, 11:19 AM   #6
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
There are potential issues with the VPN solution that you are trying to implement. The first one, however, is that PPTP cannot perform NAT traversal, to the best of my knowledge.
Second, I think that it's port 1723 or something similar for PPTP traffic to configure port forwarding on your firewall.
 
  


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
VPN pptp Connection GroverB Linux - Networking 1 10-29-2005 03:13 PM
VPN configuration pptp ssfrstlstnm Linux - Networking 5 05-02-2005 03:53 AM
Vpn, Pptp???? ABL Linux - Networking 3 03-11-2005 04:54 PM
pptp VPN setup vadirajcs Linux - Networking 0 10-26-2004 01:20 AM
pptp vpn configuration question agoltz Linux - Networking 0 03-29-2003 02:32 PM

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

All times are GMT -5. The time now is 05:08 AM.

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