VPN - P3600 ROM Development

Can anyone tell me step by step how to setup a PPTP vpn to use with the 3G line, just to connect to shared folder of my remote lan?

Related

Connectivity VPN problems with WM6

I have been testing most of the WM6 version but impossible to stablish a connection using VPN. I create it but Activesync doesn't connect it. Do you have some problems?
I'm not sure exactly what you are asking but if you are trying to establish a VPN connection to a server through an activesync connection then it isn't a WM6 issue, WM5 won't allow a VPN connection through activesync either.
WM6's VPN does work, you'll need to connect through a wifi or 3G/GPRS connection to use a VPN as activesync won't allow VPN passthrough.
Taz69 said:
I'm not sure exactly what you are asking but if you are trying to establish a VPN connection to a server through an activesync connection then it isn't a WM6 issue, WM5 won't allow a VPN connection through activesync either.
WM6's VPN does work, you'll need to connect through a wifi or 3G/GPRS connection to use a VPN as activesync won't allow VPN passthrough.
Click to expand...
Click to collapse
I didn't explain correctly, sorry. Previously I define at My ISP the gprs connection of my operator, and in My Work Network only the vpn details. Just when activate activesync, the system connect first to the isp and later the vpn.
did you check on wm6 with a vpn connection? what steps to define please?
To use your VPN you'll have to disconnect from activesync and use either your GPRS connection or a wifi connection to connect to your VPN server.
The exceptions only work for specific WM application, for 3rd party applications and (inc the Remote Desktop Mobile app) you'll have to connect manually by navigatinging to your work's settings VPN tab and selecting Connect.
Taz69 said:
To use your VPN you'll have to disconnect from activesync and use either your GPRS connection or a wifi connection to connect to your VPN server.
The exceptions only work for specific WM application, for 3rd party applications and (inc the Remote Desktop Mobile app) you'll have to connect manually by navigatinging to your work's settings VPN tab and selecting Connect.
Click to expand...
Click to collapse
I mentioned Activesync because my corporate mail, based on exchange, uses VPN to autent.
Sorry wasn't quite sure how you were connecting, think I have the icture now.
IT sounds as though your VPN is working okay if You get a connection to GPRS followed by VPN connection.
In that case does your exchange server require SSL for the activesync connection?
If it does then you'll need to use the same name within your activesync configuration as the name entered on the SSL certificate.
Could you please give some more details such as any errors that are generated by activesync and also confirm that you do get a VPN connection during the connection process.

VPN and Remote Desktop

Hi Guys,
either I dont know how to search or there is no info on VPN on the forum(I probably dont know how to search) In any case. I need assistance. How do I setup a VPN on my TyTn running WM6 and also how do I get remote desktop client? I am sure this was around previously. Did MS remove it from WM6? Or was it HTC? It this is the case.. how can one get it back?
thanks!
here's remote desktop. How do you use it? I don't know how to set it up.
thanks!!!!
now for VPN....
cheers!
The remote desktop client is available in several places in this forum for download.
To set up a VPN:
add a new VPN server connection
enter the name / ip of the server you want to connect to
select the vpn type -- ipsec or pptp
next
enter your user name and password
finish
The only way I have found to connect to the von is to goto
Start-Settings-connections-connections-edit my vpn servers- -- tap & hold MY VPN
select connect
you must be using a plan that assigns you a public IP (not WAP)
hope this helps
JTK said:
Hi Guys,
either I dont know how to search or there is no info on VPN on the forum(I probably dont know how to search) In any case. I need assistance. How do I setup a VPN on my TyTn running WM6 and also how do I get remote desktop client? I am sure this was around previously. Did MS remove it from WM6? Or was it HTC? It this is the case.. how can one get it back?
thanks!
Click to expand...
Click to collapse
Thanks cmccarter, done it but how will I know I am connected.. It does not say connected anywhere that I can see and when clicking/hold on the item it gives me the option to connect again, not disconnect as I would have thought The other thing is terminal server does not connect. It connects fine on USB. VPN/Remote desktop connects fine using normal internet on pc from outside the network. So I believe the network settings are fine.. How would I know though if I am on WAP or get an IP. Also ow would I know if the VPN is connected?
thanks
fyi
i also have struggled getting rdp to work over a vpn, in particular over 3+/hsdpa
the only i found in wm5 was to add the vpn connect to the exceptions list of the connection manager, so that it didnt disconnect the vpn whem connecting the rdp.
this occurs more when u use an ip address to connect to a work intranet.
suppose if u use the dns name of the machine and not the ip address then it isnt that much of an issue. in wm5 when u put the ip address in it assumes a an internet rather than intranet connection so it disconnects the vpn to look for the ip over the internet
putting the ip into exceptions forced wm5 to not disconnect it when rdp was looking for it.
i cudnt get it to work this way in wm6 so i am also looking for an answer on this.
rdp to my servers when they have crashed and i am on the road wud b wonderful....
Hi,
I've a similar problem.
I use a VPN-1 SecuRemote that normally connect my PC directly to the company network.
Well, using the share modem tool, I'm not able to reach the gateway.
the share modem system give me a private IP that establish a connection between PC and TYTN.
This connection use the Tytn like a gateway to navigate in internet.
Someone know to solve this issue?
Tanks a lot
if i select start the vpn connection, nothing happens - and i can`t ping the IP`s in the VPN. so i think the vpn ist not open - OR the routing entrie is missing....
is there some shiny "pptp - standalone" client?
greets, Nik
for some reason i dont think the vpn option works over 3g/hsdpa, atleast not on my device using t-mob web and walk.
if i connect the vpn when using wifi it connects and everything is fine, if i try and connect when i'm already running a 3g connection it doesn't work.
i dont think the radio stack is capible of handling a 3g connection and a vpn connection. we might need to go down the route of getting a seprate wm vpn client.

creating a vpn connection on a dash/wm6.1

i noticed under connections a VPN area. i added my pptp connection for my work server but how do i dial it so i have a connection? ideally, i'd like to dial the vpn then use tsmobile to connect to my pc's local ip. is this possible? i can connect to the server via tsmobile but that has static outside ip.
i would also like to know how to do this!

Desire share LAN internet access in office

Below is my experience. I hope this can help you.
WiFi LAN
phone<------------------> laptop <-------> Proxy<----->Internet
10.1.1.10 10.1.1.1 NATed
Prerequisite:
1. laptop or pc has wireless adapter that support configured as AP.
2. OS that support NAT (LAN as public network, wifi as private network).
My laptop is Windows XP SP3
3. A DHCP/DNS server. I use DualServer
Steps:
1. Configure wireless adapter as AP mode and give a static IP. (10.1.1.1, netmask is 255.255.255.0
2. Configure DualServer in laptop.
I just modified DualServer.ini with following line based on defalut installation.
[LISTEN-ON]
10.1.1.1 # only listen this interface, not affect office network
[DHCP-RANGE]
DHCP_Range=10.1.1.100-10.1.1.119
DNS_Server=10.1.1.1 # all phone's DNS query request will be forwarded to latptop
Router=10.1.1.1 # all phone's traffic will be routed to laptop
[xx:xx:xx:ea:a5:8d] # phone's wifi interface MAC Address, in order to given fixed IP.
IP_Addr=10.1.1.10
DNS_Server=10.1.1.1
Router=10.1.1.1
3. Configure NAT on XP laptop
In command window:
a). net stop remoteaccess
b). netsh routing ip nat install
c). netsh routing ip nat delete interface "Local Area Connection" full
d). netsh routing ip nat add interface "Wireless Network Connection 5" private
e). netsh routing ip nat add interface Internal private
f). net start remoteaccess
Please replace your interface name on step c) and d).
4. Start wireless AP on laptop. Make sure laptop can access internet.
Open wifi on phone, find laptop's AP and link to. Then phone will be allocated a IP (10.1.1.10).
You can configure some security protocol on phone and laptop.
5. In most case, Your office internet access is via proxy.
You should also install a proxy app called TransProxy in phone.
Then configure your proxy info to TransProxy.
6. Does not work?
Install Android SDK if not. run "abd shell"
ping 10.1.1.1, It should be OK, other You have wireless configuration error.
ping address1 is OK (address1 is IP address of your LAN interface),
Other Your NAT configuration contains error.
Now you can surf internet on phone now.
If your wireless adapter does not support AP mode.
Please refer to another thread, (forum.xda-developers.com/showpost.php?p=8686601&postcount=17)
It still can share laptop's internet.
How does DNS work?
I am trying to use transproxy but I have not idea how the DNS could work. My understanding is all the traffic will go through transproxy. But my phone doesn't know anything about it, right? The iptables redirects the traffic from port 80, 443, etc. to redsocks. If my phone's applications don't know the proxy, how can they use GET http instead of DNS query?

[Q] Has anyone tunneled PPTP VPN connections over a SSH connection?

I'm using CM9 on my galaxy nexus.
I can connect to my PPTP VPN server (my router running tomato) fine without tunneling, both inside my lan, and outside it.
I can connect to my SSH server (again my router), both inside my lan and outside it. And have successfuly forwarded ports before w/ connect bot and remote desktop apps.
But everything I try results in my VPN connection timing out when I try to do it over the SSH tunnel. I have it connecting to localhost on the VPN settings side. And on the connect bot side i am forwarding port 1723 to 192.168.1.1:1723 (which is my routers lan IP).... but it still times out.
Does anyone have any ideas? is this even possible?
bump - so no one has tried to do this?
edit: nevermind, not possible with PPTP http://www.webhostingtalk.com/showthread.php?t=666728
PPTP requires the GRE protocol, which you can't tunnel over SSH. I've googled this extensively and have tried it repeatedly without any success. You could do PPP over SSH, but it's not very easy to set up, and depending on what OSes you're running, it might be out of your reach.
Check out OpenVPN; it runs on both Windows and Linux, uses a single configurable port for communications, and does everything over that port; as long as you can find an unblocked port on your network to use it on, you should be fine.
Click to expand...
Click to collapse

Categories

Resources