Hi Raf, On Fri 05/06/2015 03:33, Raf Czlonka wrote: > 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.
In fact, I'm already using plain HTTP by means of a rdr-to rule in pf: pass in on $ext_if proto tcp from any to any port 8022 rdr-to 127.0.0.1 port 8022 and, of course, it is only for testing purpose. Now, in order to make the server accessible from the Internet, I need to encapsulate the traffic in TLS - as you correctly said - and I was thinking to something similar to the Apache's "proxy" plugin. As far as I understand from your reply, this can be obtained using relayd (and not httpd); ok, I'll dig into the documentation. Thanks a lot for your precious help. All the best -- Alessandro DE LAURENZIS [mailto:just22....@gmail.com] LinkedIn: http://it.linkedin.com/in/delaurenzis