Tuesday, January 31, 2023

Re: Iperf3 - Not allowing connections

On Wed, 1 Feb 2023 at 08:41, Polarian <polarian@polarian.dev> wrote:
[...]
> it does not seem
> to work on openBSD, I compiled it from source, and although it binds to
> port 5201 (or so it says), when I try to connect I get:
>
> Unable to connect to remote host: Connection refused

Did you add a rule to /etc/pf.conf to allow connections to that port?
The default pf.conf blocks almost all inbound connections:

https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc/pf.conf?annotate=1.55

--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

No comments:

Post a Comment