This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd:net:relayd [2020/04/24 06:03] net_wayfarer Fleshed out the page to be more intuitive; now has troubleshooting section. |
openbsd:net:relayd [2020/08/12 00:49] (current) jrmu |
||
---|---|---|---|
Line 45: | Line 45: | ||
**WARNING**: Do not have httpd listen on port 443, or else the reverse proxy will fail to forward based on hostname for android and iOS devices! | **WARNING**: Do not have httpd listen on port 443, or else the reverse proxy will fail to forward based on hostname for android and iOS devices! | ||
+ | |||
+ | **WARNING**: Make sure that packet filter is enabled! relayd will not run if pf is disabled. | ||
If your httpd is listening on port 443 with TLS, adjust it to another port and without tls. In the prior example where ''<www>'' is to be redirected to port 8080, you should have it set to something like ''listen on 192.168.1.1 port 8080'' instead, in your ''/etc/httpd.conf''. | If your httpd is listening on port 443 with TLS, adjust it to another port and without tls. In the prior example where ''<www>'' is to be redirected to port 8080, you should have it set to something like ''listen on 192.168.1.1 port 8080'' instead, in your ''/etc/httpd.conf''. | ||
Line 73: | Line 75: | ||
In addition to splitting relayd logs to its own file, you may wish to create a new entry in your ''/etc/newsyslog.conf'' to handle log rotation for your relayd. | In addition to splitting relayd logs to its own file, you may wish to create a new entry in your ''/etc/newsyslog.conf'' to handle log rotation for your relayd. | ||
+ | ==== common errors ==== | ||
+ | Make sure httpd is not also listening on port 443 | ||
+ | Make sure both www.ircnow.org and bnc.ircnow.org have real dns records | ||
+ | Make sure nsd is set up properly | ||
+ | Make sure znc is listening on port 1338 |