Activesync over GPRS - A fix remapping ip ports - Networking

I've been trying to get activesync to work with my desktop pc (which is on the net) for a few days now and it seems the main problem is that vodafone (and the others) block the required ip ports. The only reason they seem to do this is to force people to use other software or hardware (ie intellisync which uses other ports). This seems a bit unfair to me so I got to thinking. Move the ports that activesync uses to others which are not blocked. On the pc end this is easy (I used portmap - free software). Hoever, movi the port used by activesync on my xda2 hasn't been so easy.
Does anyone know how to either change the port activesync uses on the xda (either in a config file, hex edit???) Or does anyone know of a portmap type app that will run on the xda2? This way I can get this going (and vodafone can go to hell).
Regards,
Lyndon.

VPN?
You can easily by-pass the problem by using VPN. Give it a try...

cool - never thought of that. I'll give it a go.
Thanks

Related

Using MSN Messenger using ActiveSync PassThrough

I've searched through the forums but can't find anyone with a similar issue so here goes...
I want to use my bluetooth connection to ActiveSync and use the pass through to the internet to use MSN Messenger but every time I try the XDA II wants to connect via GPRS.
I can access the internet through the pass through so I know it works I just can't use the pass through to get MSN working.
I've also tried using the USB link but again the XDA II wants to connect via GPRS, this leads me to believe that either it isn't impossible or there is a setting somewhere that I need to alter (but can't find) :?
Can anyone help?
Hello,
I can't tell you why yours isn't working, but I can assure you it CAN be done - Mine works, and I haven't had to change anything.
I'm using a proxy server, not that this should matter. Theoretically, if you can browse the net from the XDA via ActiveSync (USB or Bluetooth, either really), then Messenger should connect too.
Are you able to connect using messenger on the PC (not the XDA through the PC)? I'd start by confirming that you can run Messenger from the PC on your network, in case there's a firewall on your network which is blocking the Messenger Ports.
This article here details what ports must be available from behind a firewall.
http://asia.cnet.com/itmanager/tech/0,39006407,39092525-2,00.htm
Hope that helps.
Thanks for your reply.
I can happily run MSN Messenger on the PC without any problems (it is not usually connected to an LAN.
I did think it might be something to do with my software firewall. I have both the standard windows one (with XP Pro) running and Norton Personal Firewall 2003. So I tried stopping Norton and I still couldn't get Messengar to work on the XDA II, admitedly I forgot to stop the windows firewall as well, although I doubt that's the issue having read the first page of the link you posted, it appears that the standard IM messages will be unlikely to be stopped by a firewall as it just "rides on the TCP connection" and is infact using HTTP.
This leads me more to think that there is a setting somewhere either XDA II side or PC Activesync side (v 3.7 btw) that's causing the problem. Either that or the mobile MSN Messenger uses a different type of comms from the desktop version and uses a different port number, most unlikely?.
Any one any clues? I am starting to get very confused :?
P.S. - I've also tried a trial copy of IM+ to see if this would fix the problem but unfortunately I still can't use the MSN Messenger serivces through Activesync Pass Through.

PC<->PPC application comms concurrently with GPRS conn

Hi,
I am trying to develop an application with both PC and Pocket PC components.
The PC and PPC need to exchange data whilst the PPC (eg XDA) has an active GPRS connection.
I first tried using evc and RAPI to allow the PC and PPC components to talk to each other. However RAPI relies on ActiveSync and it seems you cant have an ActiveSync connection to the PC (eg over USB) at the same time as a GPRS connection.
So
1)Am I right that ActiveSync at same time as GPRS is impossible? (And hence RAPI...)
2)What is the easiest way to do PC<->PPC comms without ActiveSync, on the widest variety of PPC devices?
3)Is there a way to do this without writing PC and PPC sides for all of
i) Bluetooth
ii) USB
iii) Serial
It seems like a lot of hardwork to reimplement all these, but some models have BT, some only USB etc etc
Any help appreciated...
Regards,
Giles.
hey,
im also trying to write some client -> server software for my mda/pc. Ive managed to narrow it down to two technologies (excluding activesync cos it needs to be portable)
- Web Services
- Client Server Model (tcpclient and tcplistener)
webservices are good as they will run on any net connection with port80 open, pretty fast and versetile but have some bad flaws. u need some back end data store (like a mysql database) as data is not persistant on then... also u cannot "push" from the server to the device (this may or may not be an issue)
the tcpclient model is starting to appeal to me in a number of ways. u can define your own light-weight protol (SOAP has a nasty habbit of bulking the objects out and GPRS costs!)... i started to write some little test apps and so far its looking good. Ive wrote a very tiny server that runs on windows and has a thin client running a threaded tcplistener and a mysql backend datastore. The test mobie simply constructs a tcpclient object and writes a string "hello world" to the port, which the server picks up and displays in a messagebox... so far this concept is working really well, and i have more control over the serialisation and communication of the objects and types.
i hope ive helped u in some way hehe
Will

i've looked everywhere, seriously. -remote desktop

any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
ok i got it going.
first go to the computer you want to connect to and go to control panel / system
click on remote, enable remote users
go to start menu, run. type cmd
in command write "ipconfig /all"
take note of your ip address
on your phone go to remote desktop,
computer = your ip address
username = (go to startmenu, control panel, user accounts) use one of those names.
password = blank unless you have a password.
domain = i left blank.
connect full color unless it doesnt work for you
if you can connect and you get a password error
type the error you get inot google and you should get a fix as your first link.
try that.
blam, remote desktop, it's awesome.
Nice how-to...
this is the most succinct tutorial on how to do this that I've seen. I'm still having trouble, though. I get the "Cannot connect. Likely reason are: 1 the remote comupter is not set up for this. 2. Reached the maximum number of connections. 3. A network error occurred while connecting."
I have set up the XP PC, & taken down all firewalls. I only have one user account and it has a password. I've even tried using Hamachi with one of their VPN ip addresses (awesome and free for pc2pc). I 've combed trhough my router settings too, and tried to clear everything there, too. I can RD from an XP laptop, so ti seems to be something on the unit, to me. I've also setup file sharing w/ Total Commander (it's served my purposes amply).
I really have googled & googled & googled. If anyone has any idea what is going on, I'd be grateful for some ideas.
Have you enabled the RDP on the host computer?
Right click my computer
Properties
Remote
Then enable allow user to connect remotely.
Will only work on XP Pro, or Vista if you choose to allow older clients which they scaremonger you against by saying it's less secure.
Danke!
I've been scared away from Vista for the usual "new" OS reasons, but perhaps it's getting to be time for me to haul my old conservative back-end into the modern world.
Thanks so much for taking the time!
(and to Biohead: yes, I followed the instructions I lauded so vehemently.... ???)
you're running vista?
and you haven't been able to connect still, right?
sorry i could walk you through xp, but man vista sucks, i wouldn't touch it with a 10 foot pole.
i'm setting up remote desktop on my iphone
hahaha totally referred to this guide
and it sucks, so i'm sticking with vnc
man, i miss my exec/universal
dutchschultz said:
any detailed how to guide?, i can do it, i'm fairly tech savvy, so i just need to kneed out a few things. maybe if you caould start from the beginning and i can see where i went wrong.
logmein.com works, but i want something more personal, just bewtween the computer and my phone. somerthing that looks good and scales full screen preferably.
please guys?, point me in the right direction.. all the posts just keep saying to search and there's lots of info, but there's no step by step guide.
thanks guys!
Click to expand...
Click to collapse
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
orb3000 said:
Hope this helps
http://forum.xda-developers.com/showthread.php?t=366312
http://forum.xda-developers.com/showthread.php?t=294524
Click to expand...
Click to collapse
you, my friend, are awesome
A possible solution for those of us on T-Mobile's standard web n walk
Sorry to resurrect this thread, but I thought I'd post my experiences here in case anyone else (like me) searches for a solution to enabling RDP on T-Mobile (UK at least).
I was having the same problem with remote desktop, it saying that the server was not available. I phoned up T-Mobile's helpdesk as recommended here and after getting past first line support (who didn't know what remote desktop was, and tried sending new connection settings to my phone to resolve the issue) I got through to someone who knew what they were talking about. Turns out that I'm on T-Mobile's "basic" or "handset-only" web-n-walk package, and it's not possible to use RDP on this. I assume they block the relevant ports. They told me that I could pay an extra fiver a month to upgrade to a version of web-n-walk which can handle RDP.
Well I told them I would think about it, but instead tried to find a way around it as the one or two times I need to use RDP are certainly not worth a fiver a month. My solution is probably only suitable for the more techy of us, but without much work and with no prior experience I managed to set up a SSH tunnel using FreeSSHd as a server running on my windows server (although a normal windows box should work fine - http://www.freesshd.com/) and zaTunnel as a client on my phone (http://www.zatelnet.com/zatunnel/main.php). Both programs are free.
Basically my phone takes all RDP connections and tunnels them over SSH to my windows server, which then turns them back into RDP connections. T-Mobile have no idea I'm using RDP, and if they block the SSH port in the future I can always change FreeSSHd to run on port 80 (for web). This will also work for other protocols T-Mobile might be blocking (FTP springs to mind).
Just thought I'd post this in case anyone was in my situation of needing RDP on their standard web'n'walk.
Edit Sorry posted this in the wrong thread! Will leave this post up however just in case someone finds it useful
echolock
Many thanks for the above have been searching everywhere for a fix to this. I am the same as you T Mobile (UK) and can't connect.
Could you give some additional advice as how you got the RDP to work.
For the record I can connect by Wi-Fi and by using a PAYG sim from a different carrier. However, I am on a contract with T Mobile and don't want to carry a different sim just to use the RDP.
I have installed both apps. I can make a connection from zaTunnel on Port SSH:24 to the freeSSHD server (SSH - listening on port 24). Other than adding a User and changing the default port to 24 there are no other changes I have made in freeSSHD.
Under the connections tab in zaTunnel I have left Network: Automatic with the other settings relevant to make a connection.
Under the ports tab of zaTunnel I have
LP> 3389,
IP/URL . IP of the desktop I want to connect to of 192.168.1.10
>RP 3389
When I the start the Remote Desktop app under my Windows Mobile 6.1 it indicates connecting the fails as before.
Also forgot to mention freeSSHD is running on the desktop I want to connect to.
Sure thing.
When you run Remote Desktop under Windows Mobile, make sure you connect to "localhost" NOT to the IP of the desktop you want to connect to.
Your other settings seem correct to me.
To attempt to explain a little, basically what happens is as follows. For simplicity's sake I will have three machines, your phone, your SSH server and your RDP server (although the latter two can be the same).
On your phone:
1) Remote Desktop connects to localhost on port 3389.
2) zaTunnel is listening on localhost on port 3389. It echos all commands sent to this port out on port 22 over your cellular connection to your SSH server, also providing details of your RDP server and port.
On your SSH server:
3) FreeSSHd receives the commands sent over port 22 and is told by zaTunnel to convert them to commands sent to your RDP server using port 3389.
On your RDP server:
4) Remote Desktop receives a normal RDP request over the normal port from your SSH server.
5) Responses are sent to your SSH server.
On your SSH server:
6) FreeSSHd receives the RDP responses, and sends them back to your phone over port 22.
On your phone:
7) zaTunnel converts the commands sent over port 22 back into RDP commands sent over port 3389.
8) Remote desktop receives a response from zaTunnel and thinks it's connected directly to an RDP server on localhost. In actuality it's connected to your RDP server using an SSH tunnel provided by zaTunnel and FreeSSHd.
Hope this makes sense, I'm not very good at explaining this!
Ah found another problem. The IP of your desktop you say is 192.168.1.10 - this is a local IP address so will only work on your local network.
Go to a website like http://whatismyipaddress.com/ from the machine you run SSHd on to find out what your current "external" IP address is. Bear in mind that most home broadband connections have a "dynamic" address which is allocated to you and might change from time to time - you can always use something like http://www.dyndns.com/services/dns/dyndns/ to set yourself up with a static hostname, and run a program on your machine which updates your hostname with the correct IP address every time it changes. Some routers have this functionality built in.
Thanks for the quick response and explanation.
Between posting and reading your reply I had worked out the RDP app needs the localhost or the IP 127.0.0.1.
I had come back here to post, so others would know in future.
Your other point you raised about the desktop IP. I have used this only in the ports tab on zaTunnel. The connection tab has a proper mydomainname.com address. (Provides email and a webmail interface).
Anyway, can connect now and thank you again in solving this for me. (If your in Leeds I will buy you a beer).
Ah yeah the 192.* address would work on the ports tab, fair enough. Might be worth pointing out if others read this that this is only the case if the machine you're trying to RDP to is on the same local network (or the same machine) as the machine you have FreeSSHd running on.
But good to hear you got it working Now hopefully T-Mobile won't cotton-on and decide to block port 22 too...

problem with vpn, strange behaviour, xperia

Hi there!
I'm using a xperia X1 with the latest firmware version installed which SE released.
I also use spb mobileshell 3.0 ; active sync via exchange(over SSL, not VPN); palringo; Xperiatweak; TaskFacade; G-Alarm; Skype;WM6 Remote Desktop;.net vnc viewer;
My provider is o2 and I live in germany.
I'd like to use a pptp vpn connection to get connection to several services in my network. I already used it with my xda-mini-s and my orbit2, never had serious problems. Sometimes it took a few soft-resets until i got it working... but now...
I set up my connection as I always did,
@preferences->connections->add vpn-server ;
after adding the server i specified a couple of exeptions for my network-> reboot. -done-
But this time it won't connect automatically, it doesn't react when i type in a ip/name which is defined in the exeptions. (usually it is attempting to connect to my vpn server...)
I can navigate to the preferences->connections-> edit vpn-server and connect manually. It establishes a connection successfully and i can use e.g. rdp.
PLEASE HELP!
I can't figure out why its not connecting automatically.
I entered the exeptions like I always did.
(e.g. 192.168.14.200 or domaincontroller.domain.local -> a wildcard is added automatically to the entrys -> listed like this: 192.168.14.200/*)
I would be very happy if anybody could help!
Best regards, and have a nice day.
Win****
found out something new
Hi there!
Today I found out something new. IT DOES AUTOMATICALLY CONNECT, FOR SOME PROGRAMS...
It's just a question which Software I use.
For example, I always used rdp over vpn.
So I tested if its opening the tunnel if i try to connect to one of my desktops via remotedesktop, and its not.
(on the "old" phone, rdp was included from stock, on xperia i had to install it)
I tested connecting over a java irc app, which is also not working.
If I use e.g. Opera to connect to a website (e.g. owa) over a local ip, its successfully establishing the connection and i could log in.
DAMN!
I need it to work with, rdp, vnc and irc!
Shouldn't the phone recognize that I try to connect to a url/ip wich is located in my LAN whatever wich software is used?
PLEASE HELP
Have a nice sunday.
Win****
Win**** -- Did you ever find a solution/explanation for this?
I used to use a vpn for activesync, and activesync always automatically invoked the vpn connection...so I took that for granted...but today I've been using the WM6 Remote Desktop client, and like you, I can't believe that the recognition of url "exceptions" is useless for this app.
BTW, I would have been happy if I could just create a convenient shortcut to start the connection manually, but I've been all up and down the Web, and apparently there's no way to do that, either. mad, indeed.
i have a similar issue, my phone connets and after 20 secs it drops the VPN

Remote desktop control with Diamond 2

Hi Guys,
After wasting a complete day on all of the different vnc and rdp programmes, trying to control my desktop computer THROUGH the internet WITH my pocket pc (HTC Diamond 2) I thought i'd just ask:
I won't get it to work, and I can't help but think that it's just a lame little thing I've forgotten. Nothing will connect. Logmein and other server services show me nothing. Logmein in particular only shows me a white screen when I try to login to my computer, nothing else...reloading the page doesn't help. The external desktop controller that came with my phone won't connect, due to reasons (the computer is not on for instance) I'm sure are not true.
I have a HTC diamond 2 pocket pc running WM6.1 and network compact frame (latest update) installed (3.5 I think it was.)
My computer runs vista 32bits and I've tried numerous servers and clients but nothing seems to work...
Just a few hours ago I though it might be the fact that my ip ain't static. So I've made a static IP using the portforward.com description for my thomson speedtouch 780 router modem. Tried everything again. nothing...
the only thing I can think of is that my proxy is screwing up all my attempts to connect my two most precious devices through the internet...but shouldn't logmein have passed those settings? (i remember pressing the "don't block" button when windows firewall asked me)
Top of that I've googled my *ss of searching for different kinds of clients, software, programmes and others, usualy being redirected to this forum. I even tried the bible thread about networking and everything, though my mind refused to read the whole thing extremely thoroughly...
To make my request and question very clear:
I want a program that can remotely access my desktop pc through my diamond 2 ppc, mainly for accesing and downloading files and folders I might need for school. Ofcourse full control for audio (so I can start music from my living room) would be nice, but it's not mandatory...
I'm running wm6.1 and have jbed installed on my ppc, and running windows vista 32bits on my desktop computer. I have a static IP and a port setup through my router modem on port 1986.
I've been searching for almost 20 hours with 1 lunchbreak in between....can anyone help me to an easy solution (including a step to step guide)?
thx in advance...
oh yeah, I think i've enabled the "Let other users control my pc" button in the external dekstop control options for vista, but most of the guides and FAQ's say there's another button. -one saying "let other people help me solve issues with my computer by controlling my desktop"
-one saying "let other people connect to my computer, doing whatever the hell they want" (not the actual sentence btw )
vista only shows me the first one, and I have it checked.....
Noone knows anything about this?
I'm also trying to look for a rdp server for vista, but for now it seems non-existent...tried ultravnc, and allthough it works when my diamond2 is connected through USB, as soon as I disconnect my ppc from the PC, it freezes. I did a reboot and tried without usb connected.....nothing....couldnt connect.
the only vnc viewer working on my ppc right now is the one from mocha or mochia.....but it's a trial version. other viewers won't work....
anyone?
LogMeIn with Diamond2 - problem
Hi, I used to be able to use LogMeIn in my old PDA running on WM5. But now after i've gotten HTC Diamond2, I'm unable use my remote access software anymore...
I've gotten my friend to try using his HTC Touch HD and it work too for LogMeIn.
A quick check reveal that our IE could be slightly different version.
Did you have any solution yet?
"Vista 32 bits" is unfortunately not very descriptive. What version is it? Not all versions include Terminal Services.
By static ip, do you mean that your external interface IP is static or that the IP your PC might have on an internal network is static? There's a HUGE difference!
You need port 3389 forwarded to your PC from your router. Enter your external IP address in the RDP client and it will get forwarded properly. Hell, I've got 3389 forwarded to a VM I'm running on my PC and it works great.
Diamond 2 can use LogMeIn
Finally got my HTC Touch Diamond 2 (Topaz) to use LogMeIn. My friend who uses Touch HD and can use LogMeIn easily...
I guess the IE in Diamond 2 is not Pocket IE (PIE).
Procedure:
1) I use this software to toggle IE6 to PIE.
http://discussion.treocentral.com/treo-pro/177752-toggle-between-pie-ie6-free-app-cab-file.html
2) Login to LogMeIn PDA
https://secure.logmein.com/pda
3) Follow normal LogMeIn procedures...
Happy LogMeIn!!!
I use Logmein's Hamachi (that is a VPN software) that give me a direct p2p connection between my HTC fuze any my computer. Then i use remote desktop and use the ip hamachi provides and it work excellent.
PS you need at add you PPC hamachi ip in you firewall
vnc is what I would use it's a good general solution to connect
anything with anything mac, linux , windows you name it and it's free

Categories

Resources