On Thu, Jun 04, 2015 at 06:18:18PM BST, Alessandro DE LAURENZIS wrote:

> Dear misc@ readers,

Hi Alessandro,

> is it possible to run Ajaxterm with httpd?

Httpd is not required in order to run 'ajaxterm' - it runs on its own
webserver.

On -current:

sudo pkg_add ajaxterm
sudo rcctl start ajaxterm
x-www-browser http://localhost:8022/

It's not tremendously useful on localhost, mind you :^), so you'll need
to use relayd(8) in order to both forward the HTTP traffic to port 8022
on localhost as well as encapsulate it in TLS - a simple 'rdr-to' pf(4)
rule will suffice for testing, and *only* testing, purposes (i.e. do
*not* send your username or password over plain HTTP on an untrusted
network.

> If so, could you please point me to some relevant documents or provide
> a sample configuration excerpt?

I could simply write 'man 8 relayd' and 'man 5 relayd.conf' but I'm sure
you have figured it out by now :^)

Regards,

Raf

Reply via email to