Results 1 to 2 of 2
Discuss [Question] SSH Tunnel to proxy Safari? at the iPod Touch 2G - Hackint0sh.org; I've been trying to help my friend set up his iPod to tunnel through his ...
  1. #1
    Rookie Array

    Join Date
    Jul 2008
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    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!


  2. #2
    Newbie Array

    Join Date
    Sep 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    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.

 

 

Similar Threads

  1. MacNN: MacProxy 2.0 adds SSH tunnel, proxy protocol support
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 06-01-2011, 07:10 AM
  2. SSH Tunnel + Safari
    By spitphire in forum Free Toolchain Software
    Replies: 2
    Last Post: 10-04-2009, 09:56 PM
  3. [1.1.4] iPhone Safari Proxy
    By howe in forum Free Toolchain Software
    Replies: 0
    Last Post: 03-10-2008, 01:31 PM
  4. Is there way to set a proxy for safari?
    By Pablo Diablo in forum Free Toolchain Software
    Replies: 2
    Last Post: 02-09-2008, 04:39 PM
  5. Possible to specify a proxy server in Safari?
    By geuis dassin in forum General
    Replies: 2
    Last Post: 10-16-2007, 06:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 05:15 AM.
twitter, follow us!