Cloudflare DDNS - Docker Setup on FWG

Featured

Comments

11 comments

  • Avatar
    Michael Bierman

    Nice tutorial. How do you choose

    your chosen docker network here

    Also, you might want to remind people to set SUBDOMAIN as needed. 

    Anything you want to persist can be done by putting a shell script here: 

    /home/pi/.firewalla/config/post_main.d

    So your step 6 should work I think. 

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Also, forgive my ignorance, but why is it 172.30.0.0/16 in one place and 172.30.0.0/24 in another?

    0
    Comment actions Permalink
  • Avatar
    Shane Lord

    Apologies. The .16 was an error. Thanks for picking it up.

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    No worries. So how do you choose the IP? Here’s my current configuration:

    IP address for br1: 192.168.133.1
    IP address for br2: 192.168.144.1
    IP address for br3: 192.168.99.1
    IP address for br0: 192.168.0.1
    IP address for wg0: 10.189.55.1
    IP address for docker0: 172.17.0.1
    0
    Comment actions Permalink
  • Avatar
    Shane Lord

    Docker networks have their own ip’s - connecting them to a current “physical” network range is beyond this guide - for this docker to work it doesn’t need access to your normal networks.

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    So it is a random IP range that isn’t currently being used?

    0
    Comment actions Permalink
  • Avatar
    Shane Lord

    No - in this instance the network configured is 

    172.30.0.0/24

    You can change this to whatever you want as long as it doesn't conflict with another network.

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Thanks, non-conflicting IP range is what I meant. I'll give it a try. Thanks. 

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    @shane what is that subnet used for exactly? Why should it have such a large IP range? 

    0
    Comment actions Permalink
  • Avatar
    Shane Lord

    @michael No reason other than it worked :) If you have ideas to fine tune it let me know.

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Thanks. I'll try to get to experimenting. I'm guessing it doesn't need more than 1 IP address in the range but I don't know what it is doing with the CIDR so that is just a guess. 

    0
    Comment actions Permalink

Please sign in to leave a comment.