Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH from behind a firewall to a server

Reply
Thread Tools Display Modes

SSH from behind a firewall to a server

 
 
alex.colic@rbc.com
Guest
Posts: n/a

 
      05-29-2006, 05:50 PM
Hi,

My company firewall blocks everything except port 80.

I have successfully used a SSH client from a non work machine to access
my home server on port 22.

Is there a way to use SSH from behind my company firewall to access my
home server?

Thanks

Alex

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      05-29-2006, 08:55 PM
(E-Mail Removed) wrote:
> Hi,
>
> My company firewall blocks everything except port 80.
>
> I have successfully used a SSH client from a non work machine to access
> my home server on port 22.
>
> Is there a way to use SSH from behind my company firewall to access my
> home server?
>
> Thanks
>
> Alex
>

Configure your home server to listen for ssh connections on port 80.

Robert
 
Reply With Quote
 
alex.colic@rbc.com
Guest
Posts: n/a

 
      05-30-2006, 04:32 PM
Hi,

should have pointed out that I have apache running on port 80. Can I
have both of them running on port 80?

Alex

 
Reply With Quote
 
Andrew Schulman
Guest
Posts: n/a

 
      05-30-2006, 05:16 PM
> should have pointed out that I have apache running on port 80. Can I
> have both of them running on port 80?


Only one server can listen on port 80 at a time. You could install a
front-end script with nc to listen on port 80, and hand off the connection
to either httpd or sshd depending on the source IP address. Kludgy, but it
would probably work.

Have you tried port 443? Most firewalls allow outgoing connections to port
443, for https. Another advantage of 443 is that while firewalls may filter
port 80 at the protocol level to be sure you're talking HTTP (and close the
connection if you're not), they generally give up on port 443 since that
usually carries encrypted traffic. I know of at least one firewall where
this is the case.

Good luck,
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server 2008 with Hyper-V - domain controller - Firewall GUI's show firewall ON, but netsh reports firewall OFF Bruce Sanderson Windows Networking 7 10-07-2008 09:57 AM
Regarding Proxy server & firewall Rakesh Roy Windows Networking 0 09-07-2004 02:04 PM
ftp server & firewall Perry Diels Windows Networking 1 01-19-2004 03:03 AM
Using a linux server as a firewall Lyle H. Gray Linux Networking 12 12-12-2003 02:20 AM
web server must be outside the firewall? Matthew Louden Windows Networking 4 12-02-2003 07:53 PM



1 2 3 4 5 6 7 8 9 10 11