Results 1 to 10 of 10
Discuss one fine request (proxytunnel) at the Genuine Mac Support - Hackint0sh.org; Hey guys, I'm new to this forum and I'm a big fan of you guys. ...
  1. #1
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default one fine request (proxytunnel)

    Hey guys,

    I'm new to this forum and I'm a big fan of you guys. My technical background is relatively strong so I'll just jump right into it. I'm really surprised that I haven't found a port for "proxytunnel" in any of the respected repos out there. For those of you that don't know proxytunnel, it would allow you to tunnel your ssh connections over a proxy, multiple proxies that is . One guy took the initiative and compiled "corkscrew" which I curruntly run on my ipod touch and it works great. Corkscrew's only problem is that it only support one proxy and no way for proxy chaining. That's where proxytunnel really shines. The question here is, for those of you who have the toolchain fired up and running, would it be possible to build proxytunnel for iOS? I really believe in not re-inventing the wheel and you guys could then have it on your repo which lots of people make use of.

    The_Jinn



  2. #2
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default No replies yet

    wow, I'm surprised not to see any replies to this so far. I guess no one here uses proxytunnel

  3. #3
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default I'll try to explain this further

    I drew a diagram of how you would use proxytunnel to access your ssh server over HTTP. Think of accessing your home computer from work where they block all ports except port 80. I for example have an MP3 server at home that I can only access once I'm authenticated through SSH. Then using SSH as a port forwarder, I can access my MP3 server like this: 127.0.0.1:8080, which would then get forwarded through the SSH client on the iPhone/iTouch through proxytunnel, to the forward proxy at home, then through the SSH server at home, then the MP3 server. Check out the below diagram:


  4. #4
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default The diagram explained even further

    The diagram in particular allows you to use a decent monitor (say 23") to access your iDevice and then your iDevice would handle the SSH tunneling to your services behind your SSH Server (say at home). I've tested this and it works (using corkscrew that is). Your iDevice has a smaller LCD screen and not very handy when wanting to for example Remote Desktop to home. Using your iDevice as a gateway, you would remote desktop from a desktop computer which would access your iDevice LAN IP address. Your iDevice would then take care of forwarding your connection. This is usually done by using putty but instead your iDevice is acting as putty and this has many benefits. I hope this would shine some light into the Hackintosh team and would allow them to build proxytunnel and stick it in their repository.

  5. #5
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    I get your point, have used similar solutions before. It's a good request. I'd also love to see someone compile and offer this.
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!


  6. #6
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default What is needed to get it compiled

    To start off, here is a link to the tool's website: Proxytunnel Project Homepage

    I've used proxytunnel with putty and cygwin. It's comes in handy in places where you need to use a proxy to access the internet (work for example). The thing with ssh is that it does not support proxies and so these tools come in to help. What is required to have this tool compiled and uploaded to the Hackintosh repository?

  7. #7
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default can you please let me know if this is doable?

    Can you please let me know if this is doable on your side? Are you able to compile it and let us make use of it? Isn't convincing enough for you the goodness that it can bring?

  8. #8
    Newbie Array

    Join Date
    Oct 2010
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    interesting, thanks!

  9. #9
    Newbie Array

    Join Date
    Oct 2010
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default ?????

    Looks like no one gives a damn around here. 300 views and no feedback. What's the point of this forum then?

  10. #10
    Newbie Array

    Join Date
    Jan 2014
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by The_Jinn View Post
    Hey guys,

    I'm new to this forum and I'm a big fan of you guys. My technical background is relatively strong so I'll just jump right into it. I'm really surprised that I haven't found a port for "proxytunnel" in any of the respected repos out there. For those of you that don't know proxytunnel, it would allow you to tunnel your ssh connections over a proxy, multiple proxies that is . One guy took the initiative and compiled "corkscrew" which I curruntly run on my ipod touch and it works great. Corkscrew's only problem is that it only support one proxy and no way for proxy chaining. That's where proxytunnel really shines. The question here is, for those of you who have the toolchain fired up and running, would it be possible to build proxytunnel for iOS? I really believe in not re-inventing the wheel and you guys could then have it on your repo which lots of people make use of.

    The_Jinn
    I know this is an old thread (i even signed up just to reply), but recently i wanted proxytunnel for IOS7 i couldnt find it maybe we are both just bad at searching... i ended up just compiling my own, took me 30 minutes to figure it out and i took notes. Heres the steps i used.

    0. Starting on OSX, i used 10.9, but earlier versions should be fine. You also need a IOS7 device to get the openssl/crypto libs/headers off.

    1. Get Xcode

    2. Install macports

    3. sudo port -s -k install proxytunnel (this command will download, patch and configure proxytunnel for your osx x86 system, now we just need to 'tweak' that next, fyi the -k stands for keep so for the source remained on my system drive here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_net_proxytunnel/proxytunnel/work/proxytunnel-1.9.0/ )

    4. Open the make file with a text editor /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_net_proxytunnel/proxytunnel/work/proxytunnel-1.9.0/Makefile

    4a. Goto line 6 and update the flags command. ie (yes its 1 long line)
    Orig: CFLAGS ?= -Wall -O2 -ggdb

    Updated: CFLAGS ?= -Wall -O2 -ggdb -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_net_proxytunnel/proxytunnel/work/proxytunnel-1.9.0/ -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_net_proxytunnel/proxytunnel/work/proxytunnel-1.9.0/usr/lib/

    4b. save and exit.

    5. open terminal cd into the source dir pilfer some files from IOS7 dirs for compile. 192.168.1.2 is the ip of my jb'd phone.

    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_net_proxytunnel/proxytunnel/work/proxytunnel-1.9.0/
    mkdir -p /usr/lib/
    rsync -av mobile@192.168.1.2:/private/var/stash/include.QJ2nOs/openssl .
    rsync -av mobile@192.168.1.2:/usr/lib/libssl* .
    rsync -av mobile@192.168.1.2:/usr/lib/libcrypto* usr/lib/

    Note: i found the openssl files by running 'find / -name e_os2.h' and waiting, the path kinda looks random im not sure if thats the same on every device.

    7. run make in the same dir. Hopefully without errors that will give you proxytunnel that works on your idevice.

    8. scp proxytunnel root@192.168.1.2:/usr/bin/

    9. Setup your ssh config to suit

    And heres me testing it, locally via ssh on my ipad.
    Code:
    ipad:~ mobile$ sw_vers 
    ProductName:    iPhone OS
    ProductVersion: 7.0.4
    BuildVersion:   11B554a
    ipad:~ mobile$ proxytunnel -E -P user:password -p vpn:443 -d vpn:22           
    Via vpn:443 -> vpn:22
    SSH-2.0-OpenSSH_6.0p1 Debian-4
    ^C
    Last edited by msih; 01-01-2014 at 06:19 AM.


 

 

Similar Threads

  1. [HELP] My hardware is fine?
    By AndyPr0 in forum Installation
    Replies: 0
    Last Post: 07-03-2011, 05:15 PM
  2. Replies: 1
    Last Post: 01-10-2010, 01:37 AM
  3. Replies: 1
    Last Post: 03-17-2008, 07:24 PM
  4. no wi-fi but everything else is fine
    By cobsch in forum Hardware
    Replies: 3
    Last Post: 01-24-2008, 11:18 PM
  5. Everything works fine but No SMS, help!
    By keyboardcowgirl in forum General
    Replies: 5
    Last Post: 09-30-2007, 04:21 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 © 2014 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 10:43 AM.
twitter, follow us!