Post AWxqhWtCmpyaPCfPU0 by simondassow@masto.ai
(DIR) More posts by simondassow@masto.ai
(DIR) Post #AWxONCuYYfKtw5ouae by charadon@mb.iotib.net
2023-06-22T17:50:36Z
0 likes, 2 repeats
Is there a way to relay a port range using relayd on #OpenBSD? I'm trying to move more to a pure OpenBSD setup rather than the nginx configuration I have going.
(DIR) Post #AWxR1EMqlLD5wcGb0C by charadon@mb.iotib.net
2023-06-22T18:20:28Z
0 likes, 0 repeats
I think I did it, but in the most dumb way possible. I just did a bash script that generates a config file with all the ports and then did an include in the main relayd.conf.
(DIR) Post #AWxXQ0pooVGuwD15UW by ckure@infosec.exchange
2023-06-22T18:22:23Z
0 likes, 0 repeats
@charadon https://man.openbsd.org/relayd.conf.5#listen
(DIR) Post #AWxXnlXfK6ywSSqtCS by charadon@mb.iotib.net
2023-06-22T19:30:11Z
0 likes, 0 repeats
@ckure@infosec.exchange Tried it, didn't work. I just got connection refused errors. Trust me, i've read way too many man pages today.
(DIR) Post #AWxqhWtCmpyaPCfPU0 by simondassow@masto.ai
2023-06-22T19:07:35Z
0 likes, 0 repeats
@charadon You could use forward rules without a port, but then you still need a listener directive for each.
(DIR) Post #AWxrHE3KIZzwPRQF04 by charadon@mb.iotib.net
2023-06-22T23:14:41Z
0 likes, 0 repeats
@simondassow@masto.ai Still a pain, but a much better solution than what I ended up doing lol, thanks!