LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2005, 03:41 AM   #1
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
Using Apache to relay service


Hi,

I need to resolve following settings, I got a client (C) at a remote site which only allows a proxied http connection on port 80 to the rest of the world.
From C I need to get a SSH tunnel to our homenetwork (K).
This would be no problem if I could run SSHd on port80, only Apache is on 80

I have tried using Apaches ProxyPass function to relay any incoming connection from
http://our.domain.net/ssh-proxy to localhost:22

I get a 200 and a debug message saying
Code:
start relaying ...
followed by a timeout on client side.

My entry in apache2.conf is
Code:
<Location /ssh-proxy>
Order deny,allow
Allow from all
</Location>

ProxyPass /ssh-proxy localhost:22
There are no entries in apaches error.log or access.log for this event.

I sniffed the traffic and it appears that Apache does not attempt to connect to the SSH at all.

I would be grateful for any suggestions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Apache Service BizHat.com *BSD 7 02-09-2005 11:36 AM
apache service wont start tenmiles Linux - General 3 11-26-2004 12:45 AM
Apache Proxy Relay vwhk Linux - Software 1 05-27-2003 08:07 AM
apache service precioso77 Linux - Software 6 04-21-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration