Currently there is an option to listen for incoming connections from either an IPv4 address or an IPv6 address or both. It will be great if znc only allows listening on localhost.
One use case for this is exposing this port over SSH to a remote machine using port forwarding and at the same time not letting any IRC client be able to connect to the znc server directly.
Currently there is an option to listen for incoming connections from either an IPv4 address or an IPv6 address or both. It will be great if znc only allows listening on localhost.
One use case for this is exposing this port over SSH to a remote machine using port forwarding and at the same time not letting any IRC client be able to connect to the znc server directly.
<!-- github-sync-id:281466968 -->
Piggybacking on this with an additional idea - the option to connect from local network only, allowing anyone on the same subnet as the server to connect to znc instead of relying on firewall rules to accomplish the same goal.
Piggybacking on this with an additional idea - the option to connect from local network only, allowing anyone on the same subnet as the server to connect to znc instead of relying on firewall rules to accomplish the same goal.
<!-- github-comment-id:351122729 -->
After posting this, I was playing around with few options in the Web UI and found BindHost which allows me to specify the addresses to listen on.
In the config file it is present under Listener/Host
After posting this, I was playing around with few options in the Web UI and found `BindHost` which allows me to specify the addresses to listen on.
In the config file it is present under `Listener/Host`
<!-- github-comment-id:351128056 -->
In user settings, under Authentication, there is an Allowed IPs field:
Leave empty to allow connections from all IPs.
Otherwise, one entry per line, wildcards * and ? are available.
Setting the listener BindHost allows listening on localhost only, as @Tuxdude posted. In fact, my own instance only listens for webadmin connections on localhost, because it's behind an nginx reverse proxy.
In user settings, under **Authentication**, there is an **Allowed IPs** field:
> _Leave empty to allow connections from all IPs.
Otherwise, one entry per line, wildcards * and ? are available._
Setting the listener **BindHost** allows listening on localhost only, as @Tuxdude posted. In fact, my own instance only listens for webadmin connections on localhost, because it's behind an nginx reverse proxy.
<!-- github-comment-id:351128262 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Currently there is an option to listen for incoming connections from either an IPv4 address or an IPv6 address or both. It will be great if znc only allows listening on localhost.
One use case for this is exposing this port over SSH to a remote machine using port forwarding and at the same time not letting any IRC client be able to connect to the znc server directly.
Piggybacking on this with an additional idea - the option to connect from local network only, allowing anyone on the same subnet as the server to connect to znc instead of relying on firewall rules to accomplish the same goal.
After posting this, I was playing around with few options in the Web UI and found
BindHostwhich allows me to specify the addresses to listen on.In the config file it is present under
Listener/HostIn user settings, under Authentication, there is an Allowed IPs field:
Setting the listener BindHost allows listening on localhost only, as @Tuxdude posted. In fact, my own instance only listens for webadmin connections on localhost, because it's behind an nginx reverse proxy.
Also listeners configuration is available in
/msg *status AddPort, not only in webadmin.