Skip to content

Support multiple hostnames in the allowfrom instead of a single one. #15

@ildyria

Description

@ildyria

Hi, thank you for your work on socket-proxy.

Is your feature request related to a problem? Please describe.

Since version 1.1.0, not only IP networks but also hostnames can be configured. So it is now possible to explicitly allow only one specific client to connect to the proxy, for example, -allowfrom=traefik

Using the hostname is an easy-to-configure way to have more security. Access to the socket proxy will not even be permitted from the host system.

Would it be possible to support multiple hostnames instead of a single one?

Describe the solution you'd like

Allow a comma-separated list in allowfrom, it is possible to do -allowfrom=traefik,dozzle,watchtower

Disclaimer

One solution would be to deploy a socket-proxy per instance, but with my little knowledge I have not be able to make this work.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions