Re: [users@httpd] Can apache and ssh share port 80?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,
I, personally, run Apache on 80, SSH on 443... Works well and keeps
worms off my back.  Your problem DOES remind me of something I
stumbled across a little while ago.  Here it is:
http://dag.wieers.com/howto/ssh-http-tunneling/
Tunneling SSH over HTTP
"This document explains how to set up an Apache server and SSH client
to allow tunneling SSH over HTTP(S). This can be useful on restricted
networks that either firewall everything except HTTP traffic
(tcp/80,tcp/443) or require users to use a local (HTTP) proxy."
May not be perfect though... as it requires some tweaking and proxies
and stuff.  May help though.

David

On 3/31/06, nolty@xxxxxxxxxxxxxxx <nolty@xxxxxxxxxxxxxxx> wrote:
> Hi all --
>
> I have a linux box running several websites using apache.  Elsewhere,
> I have a client on a military base.  When I am at the client's site
> using their network, their paranoid firewall drops just about
> everything in the world except port 80.  This means I can show them
> their website when I am there, but I can't log on and make changes to
> the website.  Obviously, this makes development very cumbersome,
> especially since they are 60 miles from my office.
>
> I would be interested in any ideas about how I could use port 80 to
> log on to the machine.  Currently, I only allow logins via ssh on port
> 22.
>
> Ideally, I wish there were some kind of apache directives I could use
> so that httpd would continue to monitor port 80, and if it gets a
> connection that does not look like http or https, it would forward the
> bits to port 22.  But I doubt that is possible.
>
> Alternatively, I wondered if I could write a simple Perl program that
> would monitor port 80; if it got a connection that looked like http or
> https it would forward it to apache (perhaps on port 81) and otherwise
> it would forward it to ssh (perhaps on port 22).
>
> Any ideas?
>
> Thanks,
> Bob
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux