Docker host config

Comments

6 comments

  • Avatar
    Firewalla

    You will have to create your own. Firewalla by default don't create docker net

    1
    Comment actions Permalink
  • Avatar
    Lynk

    Thanks, i assume 'bridge' here is the docker host in use?

    (Firewalla) $ sudo docker network inspect bridge
    [
        {
            "Name": "bridge",
            "Id": "266fe50def31014b4ce4c7103c0f566a01f6ea3245f362caa03d7cccf55f1fdb",
            "Created": "2022-12-29T04:59:58.604088468-10:00",
            "Scope": "local",
            "Driver": "bridge",
            "EnableIPv6": false,
            "IPAM": {
                "Driver": "default",
                "Options": null,
                "Config": [
                    {
                        "Subnet": "172.17.0.0/16",
                        "Gateway": "172.17.0.1"
                    }
                ]
            },
            "Internal": false,
            "Attachable": false,
            "Ingress": false,
            "ConfigFrom": {
                "Network": ""
            },
            "ConfigOnly": false,
            "Containers": {},
            "Options": {
                "com.docker.network.bridge.default_bridge": "true",
                "com.docker.network.bridge.enable_icc": "true",
                "com.docker.network.bridge.enable_ip_masquerade": "true",
                "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
                "com.docker.network.bridge.name": "docker0",
                "com.docker.network.driver.mtu": "1500"
            },
            "Labels": {}
        }
    ]

    0
    Comment actions Permalink
  • Avatar
    Chris Hewitt

    Anyone know how to port forward from the host into the docker network? Let’s port 81 on the host to port 80 in the container.

    0
    Comment actions Permalink
  • Avatar
    Braedach

    Chris,

    I assume you have no answer to this but its now 5 months old.

    You need to change the docker compose file for the container you wish to run.

    I refer you here.  However, the easest way is to use the NGINX reverse proxy as this will give you a graphical interface and the ability to use LetsEncrypt to generate certificates, plus others..  You still need to point your firewall box for the subdomain you wish to use to the correct NGINX container.

    Well that's my solution plus others anyway.  Note I have upgraded by FWG to 8Gb RAM.

    Refer here

    Guide: How to run UniFi Controller on the Firewalla Gold Series Boxes – Firewalla

    Note this will not change the default docker bridge.

     

     

    0
    Comment actions Permalink
  • Avatar
    Chris Hewitt

    I actually got it working finally. Here is the post I wrote about it.

    https://help.firewalla.com/hc/en-us/community/posts/15548965441299-Pi-hole-Administration-from-the-Internet

    1
    Comment actions Permalink
  • Avatar
    Braedach

    Neat - looking at your post. 

    Will ask you lots of questions there.

    0
    Comment actions Permalink

Please sign in to leave a comment.