mebo

Members
  • Posts

    1
  • Joined

  • Last visited

mebo's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I've got one docker network for all of my VPN traffic and one docker network for my web server. I'm able to reverse proxy everything on the VPN network using the docker network that my web server uses (meaning: my web server container can talk to all containers on the OTHER docker network). I'm using two NICs for this. Both NICs are bridged separately. I have a static IP set up on my second NIC that's within the docker network I created (named "webby"). I followed the OP's thread on making a new docker network (using my network as an example). I set up my network using my second NIC's bridged interface. # docker network create \ -o parent=br1 \ --driver macvlan \ --subnet 10.10.10.0/24 \ --ip-range 10.10.10.160/31 \ --gateway 10.10.10.1 \ webby I then went into my letsencrypt container and followed the instructions in the OP's post. I statically assigned an IP address to the container that was contained within the "webby" network (since my interface IP is 10.10.10.160 and I have a /31, I used 10.10.10.161) using --ip 10.10.10.161. I can now use my reverse proxy settings while keeping my other docker containers behind my VPN connection. Thanks for this write up - I've spent at least 20+ hours thinking/researching a solution. I wanted docker to be the answer (and now it finally is!)