Jump to content

HTTP Tunneling


Recommended Posts

Let me start off by stating that I am trying to use HTTP Tunneling and not SSH tunneling. WHat I want is to be able to surf with traffic directed through port 80, so it does not get filtered by network filtering or firewalls, since 99% of all networks allow traffic through poert 80. The problem I have is that some sites are blocked for content. A work around is to SSH to your box and forward through there, but wehre I am they filter this through their proxy and I cannot connet to my box on port 22. So, the other option is to use HTTP Tunneling.

I am trying to configure the win32 binaries from: http://www.nocrew.org/software/httptunnel.html to tunnel my traffic, but have had no lcuk so far. Has anyone eve rsued an HTTP Tunneling program or setup? IF anyoen has used this(http://www.nocrew.org/software/httptunnel.html) before, please post a small tutorial or setup of how you use it to connect to your box from remote locations. (I would use VPN but they block it as well, so if I can send all data across port 80, then in theory, I should be able to connect to my box at home).

Where I am they use a proxy on the local netowrk with firewall and content filters in place, so they block a lot of things like VPN, VNC, and SSH Tunneling. I am hoping someone here has knowledge on HTTP Tunneling or can point me to some good resources. I searched the forums and google, and they all point to scenarios I cannot get to work, inclusing RDP through HTTP Tunneling.

Link to comment
Share on other sites

@ digip,

not sure if this will help, but I found this while researching SOCKS


That is cool and I have seen other services, but you can do it for free. I have tried it but haven't gotten all the settings correctly working, or maybe I am missing a key file, etc.

I instead have been using a PHP Proxy with Apache and SSL per Sparda's suggestion(Thanks Sparda). Works nicely and is password protected so only I can use it. If you wanted to set it up, the easiest way is grab a prebuilt package like xampp on windows or lamp for linux. Then grab PHP Proxy off source forge and setup to your needs. The only thing it does not do well is flash videos and will not play YouTube at all, but most other sites work fine.

Link to comment
Share on other sites

The only thing it does not do well is flash videos and will not play YouTube at all, but most other sites work fine.

This is because the flashplayer your web browser downloads off your proxy server will want to connect to youtubes server directly (or as directly as an TCP connection can be). The only way to fix this is with proper traffic proxying (OpenVPN would do this, but you need to have admin access on the computer you are using to install it). If you did (some how*) manage to get the flashplayer to 'want' to connect to your proxy server instead of youtube's your still in trouble becasue the flas player wouldn't call the proxy script, it will just ask for a file that dosn't exsist on your server. So you would have to write a seperate proxy script that emulated a youtube server and proxyed all the content.

* 'some how' would probably be to have your proxy script relies there is a youtube flash player in the page you are wanting to load, so it would replace it with your own modified version (if it's at all possible to change the server it wants to connect to).

The answer (basically) is it's allot of effort to get flash based video sites to work with a simple proxy script, and you have to have to do it one at a time, each site will probably have to be done in a slightly different way.

Link to comment
Share on other sites

@ digip, Sparda

Thanks i'm gonna mess around with Sparda's suggestion also. Speaking of tunneling/proxying I'm wondering about something. I remember years ago when my friend had a service call to his home for a "no route" issue. The modem was online (cable modem) but basically I think the net stack just needed rebuilt I can't remember exactly, but the tech that came ( I didn't want to seem nosey ) but I watched as best as I could and it appeared he entered the gateway address from the ISP in the proxy section of IE and was able to access the internet? Any idea what he might have done? I think after that he just rebuilt the netstack and it was good to go.

Reason I asked is I've been running into alot of issue's helping people with their routing issue's where their able to ping, but as far as IE, FF, etc. they have no route. Usually it's just been something related it internet security, mcafee or norton expired and it's like it defaults to maximum security and blocks all ports from any web browser. The only way I found a solution so far is to uninstall/reinstall their internet security. Sorry for the blabble, but I figured I'd askedĀ  :-?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...