Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tunnel SSH from mod_proxy

Name: Anonymous 2009-04-27 5:14

httpd mailing list has given no answers AT ALL so i'm starting to suspect it can't be done but i'll give you the rundown of my situation and see if /prog/ can hint a good solution for my problem.

i'm at work, bored as hell, i've played super mario at virtualnes.com a million times already.

i want to putty to my home server from work so i can do something interesting, code, while bored at work.

i have at my disposal three static ips at home, a Dell PowerEdge 2650 with FreeBSD 7.1 and port 80 open to connect to.

so basically i wanted to setup a virtual host proxy with mod_proxy because i already have a web server with sites running so i can't use all of port 80 for another service than httpd.

then somehow tunnel the traffic to ssh, maybe a local ssh proxy listening on localhost and mod_proxy redirecting to it. i'm not sure because i've only setup a completely open proxy with mod_proxy so far, it had simple ip-address rules and let you connect to anything.

so basically i would need some sort of directive that statically links the proxy to a socks proxy that in turn can connect with ssh to my ssh proxy, or something like that. help me out /prog/

Name: Anonymous 2009-04-27 5:41

/prog/: Apache support

Name: Anonymous 2009-04-27 5:57

SSH over HTTP?
IHBT

Name: Anonymous 2009-04-27 6:25

Do you have a free IP on which you could run sshd on port 80? I think you need to be a bit more creative here, there may be a simple clean solution using nginx, but if there isn't you can always just modify the source of your httpd so if it sees you connecting from a certain specific IP, it would just tunnel the connection to port 22(ssh). Using a http proxy to do this is probably a bad idea as you'll be adding a lot of unnecesary overhead.

Name: Anonymous 2009-04-27 6:25

Wait, what?

Name: Anonymous 2009-04-27 6:38

yeah i was totally blind on that one dude, i only have the web server on one of my three ips, the other is to provide name servers with two ips but they're both on the same server. so i could have apache bind to the one ip i use for domains and the ip i could have a ssh proxy on port 80

thread over, thanks number 4

Name: Anonymous 2009-04-27 9:05

Name: Anonymous 2009-04-27 9:44

>>6
Use port 443, it's less likely to be interfered with.

Name: Anonymous 2009-07-12 6:53

type is: of the at the /web/20060212034956//stallmanus/ time." code Convey a) the dont dont dont a You YOUR not YOUR

Name: Anonymous 2011-02-03 5:28

Name: Anonymous 2011-02-17 20:27

check 'em dubz

Name: Anonymous 2013-03-08 13:16

>>11
I don't want to check 'em.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List