Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH through a mean firewall? 2

Status
Not open for further replies.

venkman

Programmer
Oct 9, 2001
467
0
0
US
I work at a company with a mean firewall that only allows http and https connections. I do nothing all day, and would like to be able to ssh or telnet to my web server running at home and do some php coding when I get bored. Is it possible to setup an ssh or telnet connection on port 80 or the https port, whose number is eluding me right now, and trick the firewall into thinking I'm just setting up an HTTP connection? Are firewalls/proxies more complicated than that?

-Venkman
 
If the firewall just filters packets based on IP and PORT, like ipchains you just have to change your port# on your ssh-server to 443 (HTTPS) and use that one..

If the firewall is proxybased you may be in deep $hit.. However ssh uses SSL in the same manner as HTTPS so you may still cheat the it by using port 443.

 
um, shouldn't you be looking for something to do involving work? Ok, now that my consciense is appeased, try
'ssh -L 80:host:22 -R 22:host:80'. I think that should work
 
As for why I do nothing at work... times are tight, and being unable to find SQA work, I had to start temping as an assistant (aka secretary).

Anyway, thanks for the responses, also, how do I start running my ssh server to accept connections on 443? I'm running whatever the default ssh server is that comes with redhat 7.3. I apologize for not even trying to look this up myself, but I figured I'd ask first while I have your attention. ;)

Thanks,
Venkman
 
just edit /etc/ssh/sshd_config and add/change the line with port specs to
Port 443

and then just restart the server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top