Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPod Touch > iPod Touch "2G" > General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2009, 07:32 AM
iSecks
Status: Offline
Junior Member
 
Join Date: Jul 2008
Posts: 13
Rep Power: 0
iSecks is on a distinguished road
Default [Question] SSH Tunnel to proxy Safari?

I've been trying to help my friend set up his iPod to tunnel through his home SSH server, but I can't quite figure out how to set up everything EXCEPT the ssh connection to proxy. If I open the tunnel and then change the wifi proxy, the tunnel will be sent through the proxy, and then it will close [since it can't go anywhere.] I'm wondering if there's a way to proxy everything but the ssh tunnel, or maybe only safari or to only proxy <insert app here>? Any help would be appreciated.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-05-2009, 08:01 PM
Malb
Status: Offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Rep Power: 0
Malb is on a distinguished road
Default

I'm guessing this answer isnt going to be much use to you this late, but maybe someone else can find what they're looking here instead. Here's what I've done:

1. Set up Squid (proxy) on server.
2. Make sure SSH-port is forwarded correctly
3. a) Start MobileTerminal on the iPhone
b) Type "ssh -fNL 8080:localhost:3128 username@address.com -p 443"
4. Go to settings and configure the wifi to use manual HTTP-proxy. Enter localhost, port 8080.
5. Surf safely

The flag "f" makes the connection go to the background as soon as you've logged on. As I recall, the N flag is required for this operation. If you want to access the shell as well as establish a tunnel, just leave these two out.
The last flag, "L", creates a port-specific tunnel between yourself and the server.
8080 is the port opened on your iPod. Localhost is your iPod. 3128 is the default port of squid.

Edit: -p indicates which port to connect to. I've set SSH to port 443 as this allows me to get past certain restrictive firewalls.

Last edited by Malb; 09-05-2009 at 08:37 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[1.1.4] iPhone Safari Proxy howe Free Toolchain Software 0 03-10-2008 01:31 PM
Is there way to set a proxy for safari? Pablo Diablo Free Toolchain Software 2 02-09-2008 04:39 PM
[question] Quicktime plugin for Safari: does it manage m3u files? bombjack Free Toolchain Software 0 01-22-2008 11:05 PM
Wifi & Proxy....web only?? I need email over proxy as well. Pyrofallout General 15 12-07-2007 12:57 AM
Possible to specify a proxy server in Safari? geuis dassin General 2 10-16-2007 06:11 PM



All times are GMT +2. The time now is 09:33 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105