Hi so I’m following the docker compose section on Installing I2P in Docker, the docker image pulls and deploys fine but how do I make it so the router is accessible outside its own network as can’t get to http://127.0.0.1:7657/ as the container is running inside a virtual machine. Is there any way to change the config so I can access the router via the LAN IP address instead of the loopback IP?

  • @0v0
    link
    English
    31 year ago

    Also not a docker user, but I notice the tutorial states:

    That means that the services in the list above which are bound to 127.0.0.1 (which include the router console) will need to be accessed via other methods like ssh tunneling or be manually configured to bind to a different interface.

    What is your host OS? On linux you can use iptables/nftables to setup a forward.

    • @[email protected]OP
      link
      fedilink
      English
      21 year ago

      I’ve got it running in an alpine VM. I’m going to try bind it to the local lan interface but it’s basically only to access the getting started portion, the rest will be bound to other docker containers as the network for those containers.