New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
NielDK
Old
#1  
NielDK's Avatar
Retired Forum Modertor / Recognized Developer - OP
Thanks Meter 93
Posts: 462
Join Date: Jul 2008
Location: Farum

 
DONATE TO ME
Default [Q] OSX lion l2tp VPN server connection

Posted here, since I believe this is a general and not device specific issue.

So, I have set up a VPN server on OSX Lion Server edition.

It is using l2tp with preshared key and username/password for login.

i(beep) works fine and connects. Laptop works fine and can connect.

But...

1. When Iam on local network (same IP segment) I can connect using Android native l2tp VPN connection setup with PSK and user/pass.
2. When I try to connect from external (3G or other WiFi net) I am unable to connect.
3. When I enabe native tether on Android device, and connect i(beep) to the Android AP, I still am able to connect from i(beep).

These three steps tells me it is not a carrier issue, and possibly an Android issue.

Did anyone experience this (and even better.....did you find a solution)?

Kinda like the l2tp connection for security, and also Lion natively does not supply pptp connection.

/Niel
 
acameron22
Old
#2  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2009
I am trying to do the same thing, I havent got the VPN to function yet though but I think its a router issue among other things. I bought a domain name and I am using that with dyndns to help simplify the ip change issues... I am getting a new router to test here next week so hopefully I'll have a better idea.

However now I am worried I'll run into the same issue as you!! lol... Its been a while since you posted, have you found a solution yet?
 
NielDK
Old
#3  
NielDK's Avatar
Retired Forum Modertor / Recognized Developer - OP
Thanks Meter 93
Posts: 462
Join Date: Jul 2008
Location: Farum

 
DONATE TO ME
No. Didn't find a solution, but you might be correct in assuming its a router issue. Have a Netgear myself, and those have had quite a few issues.

Sent from my GT-I9100 using xda premium
 
acameron22
Old
#4  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2009
I ended up getting a new Airport and it has pretty cool setup integration with the Server / Airport Utility, however I still cannot connect with the VPN connection.

My initial reason to set this up was to use PLEX... AND this actually works very well if I setup my connection through the PLEX connection settings.. but I still can't get it to work with the Android VPN setup.... (tested 3G and WiFi)

..also I cannot get the VPN to work with a Windows PC... tested a Mac (hackintosh) and it worked instantly...

so I think its a Mac thing maybe... Since PLEX is working... I am happy but would still like to get the VPN connection working properly. I suspect I'll need to call Apple about it though
 
Flyinace2000
Old
#5  
Member
Thanks Meter 3
Posts: 36
Join Date: Apr 2012
I am also have a similar issue.

OSX Server running 10.6.8
L2TP VPN and PPTP services running

My iPhone and laptop can connect just fine. My HTC One X and HP Touchpad (CM9) can not. Both say the address can not be resolved. The server is sitting in the DMZ and if I enable the web server both devices can resolve to the default welcome page just fine.

1. It isn't a DNS issues since they can connect via the web
2. It isn't a port issue since other clients can connect

Is there some dumb setting i am missing in the VPN setup?

Thanks
Will
 
rickysquared
Old
#6  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Dec 2010
Location: Austin
Default OSX Lion Server L2TP VPN and ICS not working

Hey guys.. I got PPTP to work to OSX Lion Server by making sure PPTP, L2TP, and IPSec forwarding were enabled through my router.

Also, make sure to check the VPN logs in /var/log/ppp/vpnd.log to see why it's not connecting..
Tags
l2tp, osx lion, psk, vpn

XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more