Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: nald on March 19, 2005, 05:25:28 AM

Title: pptpd connection
Post by: nald on March 19, 2005, 05:25:28 AM
Hi,

I do have a Windows 2000 Pro and it is behind SME 6.0 (server&gateway).

Im just confuse how come i can't connect VPN remotely.  This is the error will appear in my screen.  
'Error 619: The specified port is not connected'

My current configuration of my Windows 2000 is:

ip address: 192.168.xx.xx
subnet mask: 255.255.255.0
gateway: 192.168.xx.xx (from my SME box)

If i change my configuration into a public ip address which would not anymore pass to my SME box then i could connect VPN remotely.

ip address: 203.167.xx.xx
subnet mask: 255.255.255.224
gateway: 203.167.xx.xx (directly from our ISP)

I checked the pptpd status and it is running fine.

[root@f1ls root]# service pptpd status
pptpd (pid 21448) is running...
[root@f1ls root]#

Is there anything i need to configure inside my SME box?

Thanks...

Nald
Title: pptpd connection
Post by: irian on March 19, 2005, 08:54:09 AM
How do you connect to the internet?
If you have the server in Gateway mode then the server does NAT.
If you have the gateway hooked up to a router that also does NAT then you can only have one PPTP connection at a time.
That is because you use double NAT.
To solve this you need to to disable nat on one of the them: SME or router.

Martijn
Title: pptpd connection
Post by: whistleruk on March 19, 2005, 07:24:21 PM
Your not alone on this one, if you search the forum you will find this issue has came up many times, I ended up scrubbing the bundled VPN and installed OpenVPN, after all my attempts failed with SME PPTP, OpenVPN can be setup Easily following this.....
http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_30.htm

Best of luck  :-D
Title: pptpd connection
Post by: soprom on March 22, 2005, 01:17:17 AM
I had a problem with pptp refusing connexions because the server was not the DHCP on the LAN and it was issueing an IP address that was already used, provided by the DHCP server (ipcop). So I patched pptp configuration on the server to use a range of IP addresses assigned for that only.