LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2010, 11:34 PM   #1
Wildebeest2010
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Poor Man's VPN on smartphone - Putty Fatal error WSAEventSelect(): SOCKET_ERROR "


hello,
Im new here, any help would be very much appreciated
I dont have a technical background

Im trying to set up a "poor man's vpn" on my htc hd2 running wm6.5
In other words, i want to use a ssh server as a proxy to browse the internet on my mobile phone.

read this if you dont understand
http://fnord.no/sysadmin/security/vpn-with-ssh

The process on Windows XP:
Set putty to dynamically forward port 1080 from your ssh server. Run putty, logging into my ssh server. At this point, if your browser has SOCKS support (firefox does), you can configure it to host a SOCKS connection at 127.0.0.1 or localhost on port 1080. Firefox will now browse the internet whilst using your ssh server as a proxy.

However, if your browser does not have SOCKS support (no mobile web browsers do pretty much...if you know one, do tell ), you can instead use a 'socksify' program such as Proxycap. Proxycap is available on windows mobile 6.5 OS also.


This process works on my desktop machine running windows xp, but it wont work on my htc hd2 on wm6.5 yet.

The process on Windows mobile 6.5

Firstly - pocket putty:
I set pocket putty to dynamically forward port 1080 from my ssh server
I run pocket putty, I log into my ssh server.

Secondly - Proxycap (need this to socksify your mobile phone browser)

Proxycap settings:
Proxy servers:

Type: socks v4
HOST!?!?!?!: In windows XP, you would put localhost here. Heres where we find our first problem.

I dont think wm6.5 has a concept of localhost or 127.0.01 like windows xp does, Ive tried putting my device ID name in this field but that may or may not work - can any1 help me out here?

Port: 1080

Tunneling rules
Name: internet explorer mobile/skyfire
Type: tunnel through proxy
Proxy (uses what you set before): "deviceID name or localhost":1080
program: iexplorer.exe or skyfire.exe...whichever browser you want

I hit "OK" in proxycap

I run skyfire.

Pocketputty gives me this error:

"Putty Fatal error
WSAEventSelect():
SOCKET_ERROR"



In windows xp, when I do the exact same process, it works and I get no such error, even when using proxycap.

but in windows mobile 6.5 on my htc hd2, I get that error from pocket putty.

can anyone help me please?
 
Old 02-15-2010, 01:41 PM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
What does this post have to do with linux or linux software?? It would better fit into a general subforum not in a linux-software forum??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 03:46 PM
Fluxbuntu - "poor man's install" - is it possible uncle-c Ubuntu 5 05-15-2007 08:58 AM
Wanna do a poor man's slacktop... papa0822 Linux - Laptop and Netbook 2 10-12-2004 06:59 PM
Knoppix - "poor man's"/98se ...dualboot? (same hd) OceanDead Linux - Newbie 5 05-01-2004 02:42 PM
Poor man's dual monitor (using two linux boxes)) alexferrer Linux - General 8 05-22-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration