Koozali.org: home of the SME Server

how does my daugther at uni to the home net wih PPTP?

pbearne

how does my daugther at uni to the home net wih PPTP?
« on: July 08, 2004, 01:28:07 PM »
hi

My daughter is off the college this spring and I would like her to be able to PPTP back to the home network from her laptop for abackup and email's etc.

O and remote access so I can fix her PC for her!

shanen

how does my daugther at uni to the home net wih PPTP?
« Reply #1 on: July 09, 2004, 12:10:35 PM »
Please explain your current config.
How are you connected to the internet and what sort of router/modem are you using?

Shane

pbearne

set up details
« Reply #2 on: July 09, 2004, 12:55:28 PM »
hi

sme sever conected to a cable modem with 6 way hub/switch inside


to a laptop conrcted to the colege network

both dumb I need to use the sme to handle the VPN

shanen

Re: set up details
« Reply #3 on: July 09, 2004, 02:43:49 PM »
Quote from: "pbearne"
hi

sme sever conected to a cable modem with 6 way hub/switch inside


to a laptop conrcted to the colege network

both dumb I need to use the sme to handle the VPN


Ok... Does your router support VPN passthrough?
PPTP commonly known as tunneling uses GRE Protocol on port 47.
If it doesn't, you can use webmail and IBAY instead so your daughter can check emails etc...

guest

vpn
« Reply #4 on: July 09, 2004, 03:31:14 PM »
Your SME server must have a public aka. static ip so that your daughter can point the vpn connection to your server.  This is your first concern.  If you have a dynamic public ip, then you need something like dynamic dns do that your server is always accessible.  You need to check to see what you have first.

HTH

pbearne

Dyndns.org
« Reply #5 on: July 12, 2004, 09:59:39 AM »
I have no router between the cable modem and the sme box

Already done

shanen

how does my daugther at uni to the home net wih PPTP?
« Reply #6 on: July 12, 2004, 10:15:20 AM »
Ok, do you have static ip?

shanen

Re: Dyndns.org
« Reply #7 on: July 12, 2004, 10:24:04 AM »
Quote from: "pbearne"
I have no router between the cable modem and the sme box

Already done


In order for you to suceed, you need one of the following.
Your external network card needs a public ip address. (great)

or a router/cable modem (whatever) that will allow VPN passthrough (GRE)

Anonymous

Re: Dyndns.org
« Reply #8 on: July 12, 2004, 10:32:58 AM »
Quote from: "shanen

In order for you to suceed, you need one of the following.
Your external network card needs a public ip address. (great)
the sme has a public ip
Quote from: "shanen

or a router/cable modem (whatever) that will allow VPN passthrough (GRE)
I belive the cable modem will allow VPN through

How do I check?

pbearne

Re: Dyndns.org
« Reply #9 on: July 12, 2004, 10:35:10 AM »
Quote from: "shanen"

In order for you to suceed, you need one of the following.
Your external network card needs a public ip address. (great)
the sme has a public ip
Quote from: "shanen"

or a router/cable modem (whatever) that will allow VPN passthrough (GRE)
I belive the cable modem will allow VPN through

How do I check?

shanen

how does my daugther at uni to the home net wih PPTP?
« Reply #10 on: July 12, 2004, 10:45:58 AM »
If SME has a public ip, then you are laffin...
Create a userid for your daughter in server manager and give her VPN client access. Then still in server manager, go to security, remote access and change the
Number of PPTP clients to 1.

Use another computer at a friends house or whatever and create a VPN connection using your public ip as the destination and the userid/password combination you created before.

pbearne

Ok done
« Reply #11 on: July 12, 2004, 11:38:03 AM »
but I get this error

Error 789: the l2tp connection attempt faided because layer encountered a processing error during intial negotiations with remote computer.

fixed that I hadn't set the user up I was try!!

now getting a time out "Error 678: There was no Answer"

shanen

how does my daugther at uni to the home net wih PPTP?
« Reply #12 on: July 12, 2004, 12:08:26 PM »
Hmmm...
What is the client operating system?
Had a quick goole around and found this.

Troubleshooting: "Error 789 processing error"
You may get the following error:

"Error 789: The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer."
This error may occur in the following cases:
The certificate (plus private key) has not been installed correctly.
Windows 2000/XP's built-in IPsec stack has been disabled, e.g. when a third-party IPsec client (e.g. SSH Sentinel) was installed and then removed.
You are connected to a Windows 2000 Server through a Terminal Server (RDP) session. On that Windows 2000 Server you have configured a VPN connection to an L2TP/IPsec server. You attempt to bring up this connection but you get the Error 789 (see also MS KB Q326751).

In the first case, try to import the certificate again following the instructions. Verify in MMC that certificates actually have been installed for both the CA and for the user, including the private key. When you view the details of your certificate, you should see the message "This certificate has a corresponding private key". When MMC asks where you want to store the certificate, be sure to select "Local Computer", and not "My user account". Verify that the certificates are valid (check the start and end dates) and issued by the same CA as used on your FreeS/WAN box. Check the internal clock of your computer: if it is set to a strange date (say, 1970 or so), your computer will think that the certificate is not (yet) valid.
In the second case, you can re-enable the Windows IPsec service as follows. Click Start -> Programs -> Administrative Tools -> Services. Select "IPSec Policy Agent" from the list and check if the Startup type is set to "Automatic". If it is not, this is the problem. Set Startup type to "Automatic", click Apply and then Start.

Microsoft's error message is misleading. The user may easily get the impression that the Linux server is at fault. However, the error pops up immediately after clicking "Dial". I also sniffed the network communication between the client and the server: there was none. If there are no packets exchanged between Windows 2000/XP and the Linux server then it is impossible that the server is to blame. It seems to me that other error messages would have been more appropriate, for instance the error 781 mentioned above.


Removing SSH Sentinel is described here (unfortunately these instructions have not been updated for version 1.4 but you'll get the idea).


The third case is a bit atypical and I am only mentioning it for completeness. Q326751 says this is a known problem in Windows 2000 Server. According to Oleksander Darchuk the problem does not occur if you use VNC or any other remote administration tool, as long as it is not RDP. Alternatively, you could make a VPN connection from the client itself, bypasssing Windows 2000 Server. Or perhaps the problem has been fixed in Windows 2003. Either way, the L2TP/IPsec VPN server is not to blame.


Time for me to spend some time with my family so see you tomorow.

Shane

pbearne

how does my daugther at uni to the home net wih PPTP?
« Reply #13 on: July 12, 2004, 12:57:02 PM »
I am testing on 2k at work ( I am hopping the fire wall here is not causing problem's)

my ipsec wasn't started so have started but this hasn't solved the time out's !

whte_rbt

how does my daugther at uni to the home net wih PPTP?
« Reply #14 on: July 12, 2004, 02:54:21 PM »
In W2k there are pretty many ways to configure vpn access: pptp or l2tp (- two different things, sme works with pptp), way of pwd encryption and finally what kind of authentication your server wants you to use.

You have to negotiate how SME operates on that points before you order the client to connect.

Another issue is, if there are any firewalls blocking vpn connections in your daughters college network?

pbearne

how does my daugther at uni to the home net wih PPTP?
« Reply #15 on: July 12, 2004, 03:40:41 PM »
Quote from: "whte_rbt"
In W2k there are pretty many ways to configure vpn access: pptp or l2tp (- two different things, sme works with pptp), way of pwd encryption and finally what kind of authentication your server wants you to use.

You have to negotiate how SME operates on that points before you order the client to connect.

Another issue is, if there are any firewalls blocking vpn connections in your daughters college network?


is it the same for XP ( as daughter thats what is on the laptop)

do you know what the default setting are and how to change them

Guest

PPTP access
« Reply #16 on: July 13, 2004, 01:45:31 PM »
Speaking from experience at my college, they are pretty heavily firewalled, and (generally) managed by some adept people.

I also found that "anonymous" surfing wasn't happening, you needed to use your logon ID and connect to the domain, also our user priveleges were pretty few and far between.

Would be interested in getting this to work though.