ProxyCap - does wm6.5 have a concept of localhost?!?! - General Questions and Answers

Hey guys,
Proxycap is a "socksify" program that works on windows mobile.
Im using htc hd2 on wm6.5
I need proxycap to 'socksify' a mobile browser.
Ive successfully done this on windows XP:
I run putty, dynamically forward port 1080 from a ssh server to my localhost. Then I used proxycap to "socksify" opera.
Proxy servers
type: socks v4
hosts: localhost or 127.0.0.1
port: 1080
Tunneling Rules:
type: tunnel through proxy
proxy: localhost:1080
Program: opera.exe
I hit "OK"
Then I run my putty, log into my ssh server, I run opera. Proxycap socksifies opera, so that opera goes through my ssh server. This all works in windows xp.
Windows mobile 6.5
I want to apply the above to my windows mobile 6.5 device using pocket putty, proxycap and any browser.
Pocketputty seems to be working. I tell it to dynamically forward port 1080 just like in putty. I can log into my ssh server on it. This all works.
Proxycap settings:
Proxy servers:
type: socks v4
HOST!?!?!?!: I dont think wm6.5 has a concept of localhost or 127.0.01, I read this somewhere, Ive tried putting my device ID name in this field but that may or may not work
Tunneling rules
Name: internet explorer mobile
Type: tunnel through proxy
proxy: "deviceID name":1080
PROGRAM?!?!?!: iexplorer.exe is the executable file for windows xp for internet explorer. But does wm6.5 execute files differently? Does internet explorer mobile have an executable? whats it called? How do I search for executable files for other browsers that ive installed on my htc hd2
Thats where im stuck. Pocket putty seems to work but im not sure about the proxycap settings.

When I try the above on my htc hd2 on wm6.5
I set pocket putty to dynamically forward port 1080.
I run pocket putty, I log into my ssh server. I run proxycap, I tell it to 'socksify' skyfire.
I run skyfire.
Pocketputty gives me this error:
"Putty Fatal error
WSAEventSelect():
SOCKET_ERROR"

ok not getting this error anymore
but the connection is timing out
I log into the ssh server with pocket putty, i tell it to dynamically port forward port 1080 back to my device. Then I run proxycaps, and tell it to 'sockify' my mobile internet explorer.
Then I run internet explorer it says it couldnt find a server
When i click 'last error' in proxycaps
"Connection timed out (10060)"
Any ideas?

bump !

Related

WM5 Terminal Services Client

I am using the O2 Atom and would like to use the built in TS client to connect to some servers. Unfortunately, for security reasons, the TS port numbers are non standard.
How do I change the default TSC port numbers?
The servers use FIPS but I can lower this requirement if the WM5 client can't handle it.
Finally, currently Terminal services is allowed only through a VPN can I use VPN with the built-in client?
I've configured VPN for POP3 but don't seem to be able to get it to work with the TS client.
default port is 3389, if for example you connect to 192.168.1.1, in terminal server client you just add the ip address 192.168.1.1 and click connect, if the default port has changed to for example 7878, you would now type in the server address 192.168.1.1:7878
hth
Thanks for the reply ... but I think it doesn't work like XP or any of the other Desktop Terminal Services Client.
If I type 10.1.1.1:1234 for example to connect to port 1234 on Terminal server 10.1.1.1 I will get a server not found error .... seems the Built-in Terminal services client doesn't understand the "ort" syntax.
This is infact the syntax I have been using from my XP but Can't use ip on the Atom.
Anyone done this before ?
Thanks for the reply ... but I think it doesn't work like XP or any of the other Desktop Terminal Services Client.
If I type 10.1.1.1:1234 for example to connect to port 1234 on Terminal server 10.1.1.1 I will get a server not found error .... seems the Built-in Terminal services client doesn't understand the "ort" syntax.
This is infact the syntax I have been using from my XP but Can't use ip on the Atom.
Anyone done this before ?

Need WM mobile browser with SOCKS proxy support or workaround

Hello,
Im using a htc hd2 with WM6.5
Does anyone know of a mobile browser in which I can change SOCKS proxy settings - just like mozilla firefox? (ive tried minimo and fennec a3, but no good, unless I could use some addon in fennec).
I want to tell my browser to listen on port 1080 for a SOCKS connection (im port forwarding with pocketputty).
Alternatively, does a program like 'tsocks' exist for windows mobile, in which I can socksify for my mobile browser? I havent used tsocks before btw.
Or finally, is there a way to edit the registry in WM6.5 so that the browser does listen on port 1080 for SOCKS?
Thankyou,
Will
yeah...bro..i need sm workaround as well !! please read my thread if it relates !!!
Summary:
I am attempting to use a remote SSH server as a proxy for browsing the web on my htc hd2.
This is called a "Poor man's VPN" - If you have never heard of this, please read this: http ://wiki.freaks-unidos.net/ssh-port-forwarding
I'm currently using pocket putty with dynamic port forwarding to forward port 1080 on a remote SSH server back to my localhost on my device.
I cannot seem to find a mobile browser that has the ability to configure SOCKS proxy settings. I need to be able to tell the browser to use a SOCKS proxy, to listen to localhost on port 1080 which is being forwarded.
Since I havent found a browser to do this, I have tried to use proxycap to sockify a browser. I basically want to redirect the traffic coming from the ssh tunnel with proxycap to the browser even though the browser has no SOCKS support.
I dont have a technical background.
I dont know if this actually works
Is it possible to do the above? If so, how do I configure proxycap to act between the SSH tunnel and the mobile browser...
well I found a way to configure proxy settings on minimo
you type into the URL "about:config".
Then you change some entries
network.proxy.socks......
however, I ran into another problem...does wm6.5 have a problem with with localhost or 127.0.0.1???
Because i read that localhost doesnt work on wm past version 5...
how else can get a loopback address??
bumpwwwwwww

Connecting to localhost

I've got a problem while connecting to HTTP server running on my PDA. If I use Internet Explorer to access it everything is ok. Problem is that other browsers work only if active network connection is available (Wifi or ActiveSync).
Server is my own implementation of simple HTTP 1.1 server (using Winsocks).
Please can somebody help me?
I tested it on my pda,HP Ipaq 214 running WM6.0 standard, and on MS DeviceEmulator running WM6.0 professional image both with same result.

Android inTRAnet only - DNS suffix to 'com' with NO servers

Hi all,
is there a place on our Android phones where I can set the DNS suffixes to change 'pc' and 'm' to 'pc.com' and 'm.com' for my inTRAnet only?
I've setup an inTRAnet at home using IIS 5.1 on Windows XP sp3.
I have NO server OSs available.
So NO DNS nor WINS server are avaialble.
All three of us at home have pcs. With a few more around the house.
I've setup each pc to use Simple DNS server to redirect 'pc.com' to my IIS 5.1 server. (via Preferred DNS server in Tcp/IP settings on each PC)
I also had to set the 'Append these DNS suffixes' in Advanced TCP/IP setting | DNS by adding 'com' on each PC to suffix
pc.com is where I have a web page for family notes, schedules, reminders, etc.
All three of us at home have Android phones.
I've setup each pc to use Simple DNS server to redirect 'm.com' to my IIS5.1 server. (again via Preferred DNS server in Tcp/IP settings on each PC)
My pcs take Advantage of the previously setup TCP/IP setting | DNS | 'com' to change 'm' to 'm.com.
m.com is where I have mobile formatted web pages for the same type of info.
I've set each mobile to use the Simple DNS Server using Wi-Fi Settings | advanced | DNS 1.
both pc.com and m.com work on all our mobiles.
is there a place on our Android phones where I can set the DNS suffixes to change 'pc' and 'm' to 'pc.com' and 'm.com' for my inTRAnet only?
Like I did on our PCs?
A hyperlink to a step-by-step process would be preferred as I have no experience in command level settings etc. on androids.
Or perhaps an Android app?
Thanks for your time reading this post.
And thanks in advance for any positive constructive and verbose assistance.
All my best,
Barry G. Sumpter
I'm not sure i understand your problem?
You could edit
"/system/etc/hosts"
to change what the addresses get resolved too.
Could set m and pc to be resolved to your servers intranet ip.
Thanks for the reply.
I've already changed the Hosts file on the android using the Android app:
Hosts Edit
But neither m nor pc are getting resolved to 192.168.1.6
Unless I'm not getting the entries correct:
Ip Address: 192.168.1.6
Host Entries: m
Ip Address: 192.168.1.6
Host Entries: pc
All android browser are just searching google for m or pc.
Any other suggestions from anyone?
Also, that list is absolutely huge!
about 10,000 entries. Exagerated.
I was trying to find my entries but gave up since there is no search on that app.

[Q] Putty on Windows RT and SSH port forwarding

I am wondering if the version of putty published by Netham45:
http://forum.xda-developers.com/showthread.php?t=2092348&highlight=putty
Has the port forwarding capability enabled
I tried doing the following:
Jailbreaked my tablet
Ran Putty
configured port forwarding: added port 3128 to forward to webproxy.myemployer.org (it's just an example), following the instructions here
Used putty confugured as indicated to connect to the remote server
Configured proxy options in Internet Explorer to localhost and port 3128
Followed the instructions here (do not use the square brackets in the key names, or the batch will fail) to create a batch file that copies the proxy settings from internet explorer and activates it system-wide
Ran the batch as admin
Verified through regedit that the settings have been copied and ProxyEnable was = 1
Tried to connect to my intranet using the desktop and metro versions of Internet Explorer 10
However, the connection was unsuccessful
I use ConnectBot in Android to do the port forwarding and it works without any issue
So, I was thinking that:
Maybe Putty RT was compiled without port forwarding support (which would make it almost useless given that the SSH in the store can do most of what Putty can)
I have made a mistake along the way
Since I am a new user I cannot ask in the Putty thread. Of course, this is not a general putty question. It is very specific to Windows RT and the only place to ask is at xda-developers.com
Thanks
someniceguy said:
I am wondering if the version of putty published by Netham45:
http://forum.xda-developers.com/showthread.php?t=2092348&highlight=putty
Has the port forwarding capability enabled
Click to expand...
Click to collapse
The port forwarding seems to work for me. I tested it by setting up a tunnel to another SSH server, and then opening another instance of PuTTY connecting to the first tunnel, which came out on the host I expected it to. I did explicitly configure it by IP address since I've never bothered testing whether the hostname for the endpoint of a local tunnel is resolved by the local system or the remote system (which might have different results based on the nameservers on either end).
Putty Tunneling Works, Windows Proxy settings don't
I tested that the tunneling is working :
First, I configured Putty with port forwarding as described above (port 3128)
Then I opened an SSH connection with Putty to the remote service
Configured the Desktop version of IE 10 to use as proxy localhost, and as port 3128
Accessed the Intranet with Desktop IE 10
The issue is really that I do not know how to force the Metro Apps to use the proxy. I tried following the suggestions
at the URL below, but it didn't work.
ht tp://fo rums.wpcentral.com/surface-windows-rt/203989-proxy-use-surface-rt.html
To test, open cmd.exe as Administrator, then type the following:
Code:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d "1" /f
Then
Code:
netsh winhttp import proxy source=ie
Then tried to access the Intranet with the Metro IE 10, but I could not.
I even tried configuring the proxy directly, without IE:
Code:
netsh winhttp set proxy localhost:3128
But it does not work either (not even for IE 10 Desktop, with proxy turned off in Internet Options)
I also followed Method 2 in the page below, and use as Domain Proxy: localhost:3128. Still cannot access the Intranet in IE10 (both Metro and Desktop)
ht tp://ww w.c-sharpcorner.com/UploadFile/7e39ca/how-to-configure-proxy-for-metro-apps-in-windows-8
Any clue on how to force Metro Apps to use putty as proxy?
It might be a problem with the Metro environment not allowing connections back to localhost for whatever reason... that's the only thing I can think of.
I just tried again, with putty configured to run a SOCKS proxy on localhost:1234.
Added the proxy to the IE settings
netsh winhttp...: got the message that a global SOCKS proxy had been configured:
Current WinHTTP proxy settings:
Proxy Server(s) : socks=localhost:1234
Bypass List : none
Loaded stuff in desktop IE10 - worked without issues.
Went to Metro - opened a few things. Mail didn't seem out of the ordinary, but then again, I don't get mail all that frequently. Weather looked about right. IE in Metro refused to open Google or Facebook.
Closed IE completely. Tried again: no dice. Neither site opened, even though I just had Google open in Desktop IE10.
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer is DWORD:1, as set by the IE "Internet Settings" panel...
It looks like it's ignoring connections to the local PuTTY instance - setting the proxy settings, going to Metro IE, and reloading is getting me SYN_SENT as the state in "netstat /n"... looks like the Windows Firewall configuration.
Sounds like the next place to look is the Windows Firewall configuration, which on RT looks to only be available through WF.msc.
Chris
someniceguy said:
I tested that the tunneling is working :
First, I configured Putty with port forwarding as described above (port 3128)
Then I opened an SSH connection with Putty to the remote service
Configured the Desktop version of IE 10 to use as proxy localhost, and as port 3128
Accessed the Intranet with Desktop IE 10
The issue is really that I do not know how to force the Metro Apps to use the proxy. I tried following the suggestions
at the URL below, but it didn't work.
ht tp://fo rums.wpcentral.com/surface-windows-rt/203989-proxy-use-surface-rt.html
To test, open cmd.exe as Administrator, then type the following:
Code:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d "1" /f
Then
Code:
netsh winhttp import proxy source=ie
Then tried to access the Intranet with the Metro IE 10, but I could not.
I even tried configuring the proxy directly, without IE:
Code:
netsh winhttp set proxy localhost:3128
But it does not work either (not even for IE 10 Desktop, with proxy turned off in Internet Options)
I also followed Method 2 in the page below, and use as Domain Proxy: localhost:3128. Still cannot access the Intranet in IE10 (both Metro and Desktop)
ht tp://ww w.c-sharpcorner.com/UploadFile/7e39ca/how-to-configure-proxy-for-metro-apps-in-windows-8
Any clue on how to force Metro Apps to use putty as proxy?
Click to expand...
Click to collapse
I was able to make Metro Internet Explorer (IE) 10 to work as follows:
Jailbroke my tablet
Ran Putty
Configured port forwarding: added port 3128 to forward to webproxy.myemployer.org (it's just an example), following the instructions here
Used putty configured as indicated in the previous step to connect to the remote server
Configured proxy options in Desktop IE 10:
Address: localhost
Port: 3128
Checked "Use a proxy server for your LAN ..."
Added Metro IE10 an an app exempted of IP loopback restrictions and allowed access to loopback addresses (so that it can connect to localhost):
Code:
CheckNetIsolation.exe loopbackexempt -a -p=S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394
Before exempting Metro IE 10, I also changed the Network Isolation options as follows:
Run “gpedit.msc”
Under Computer Configuration browse the Administrative Templates -> Network -> Network Isolation.
Enable the Proxy definitions are authoritative and Internet proxy servers for apps. I put as proxyort "localhost:3128" (without the quotes)
However, I doubt that made any difference. Unless IE10 Desktop is configured to use the proxy (putty in this case) and Metro IE10 is exempted from loopback restrictions, the latter will not connect to our intranet.

Categories

Resources