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. ...
one fine request (proxytunnel)
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.
No replies yet
wow, I'm surprised not to see any replies to this so far. I guess no one here uses proxytunnel
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:
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.
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!
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?
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?
Looks like no one gives a damn around here. 300 views and no feedback. What's the point of this forum then?
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.
Originally Posted by The_Jinn
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 email@example.com:/private/var/stash/include.QJ2nOs/openssl .
rsync -av firstname.lastname@example.org:/usr/lib/libssl* .
rsync -av email@example.com:/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 firstname.lastname@example.org:/usr/bin/
9. Setup your ssh config to suit
And heres me testing it, locally via ssh on my ipad.
ipad:~ mobile$ sw_vers
ProductName: iPhone OS
ipad:~ mobile$ proxytunnel -E -P user:password -p vpn:443 -d vpn:22
Via vpn:443 -> vpn:22
Last edited by msih; 01-01-2014 at 06:19 AM.
By AndyPr0 in forum Installation
Last Post: 07-03-2011, 05:15 PM
By Joshondrums in forum Using Leopard
Last Post: 01-10-2010, 01:37 AM
By Macabel in forum General
Last Post: 03-17-2008, 07:24 PM
By cobsch in forum Hardware
Last Post: 01-24-2008, 11:18 PM
By keyboardcowgirl in forum General
Last Post: 09-30-2007, 04:21 PM