Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:shellinabox_on_debian [2011/02/01 15:59]
tdobes change default color scheme
computer:shellinabox_on_debian [2011/02/01 16:16] (current)
tdobes lighttpd tunnel
Line 16: Line 16:
 </​code>​ </​code>​
 ...at this point, it's working on port 4200 ...at this point, it's working on port 4200
 +
 +but we want it to tunnel through lighttpd
 +  * ''/​etc/​lighttpd/​conf-enabled/​shellinabox.conf''​
 +<​file>​
 +server.modules += ( "​mod_proxy"​ )
 +
 +$SERVER["​socket"​] == "​0.0.0.0:​443"​ {
 +  proxy.server = ( "/​shellinabox"​ => ( ( "​host"​ => "​127.0.0.1",​ "​port"​ => 4200 ) ) )
 +}
 +</​file>​
 +  * last line of ''/​etc/​default/​shellinabox''​
 +<​file>​
 +SHELLINABOX_ARGS="​--no-beep --disable-ssl -s /​shellinabox:​LOGIN --localhost-only"​
 +</​file>​
 +  * ''/​etc/​init.d/​shellinabox restart && /​etc/​init.d/​lighttpd restart''​
computer/shellinabox_on_debian.txt · Last modified: 2011/02/01 16:16 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS