Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to get multiple IPs working under mapped_ports.external #233

Open
j0nathanr opened this issue Sep 13, 2024 · 0 comments
Open

Comments

@j0nathanr
Copy link

j0nathanr commented Sep 13, 2024

Adding multiple IPs under mapped_ports.external results in no IPs being allowed. Using one IP works successfully, but as soon as I add a second none of them work as I can't access any ports. No errors are thrown in the log, it reports the rules were created successfully.

Example docker compose:

services:
  minio:
    container_name: Minio
    command: server /data --console-address ":9001"
    env_file:
    - minio.env
    labels:
      whalewall.enabled: true
      whalewall.rules: |
        mapped_ports:
          localhost:
            allow: true
          external:
            allow: true
            log_prefix: "minio"
            ips:
              -  192.168.0.0/16 # this alone works
              -  10.22.53.0/24 
    image: quay.io/minio/minio:latest
    ports:
      - '9000:9000'
      - '9001:9001'
    volumes:
      - /minio/data:/data
      - /minio/certs:/root/.minio/certs
    restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant