Docker i2p image

startup.sh 476B

123456789101112131415
  1. # Start router to create configuration files, router keys etc..
  2. echo "Creating i2p configuration..."
  3. /etc/init.d/i2p start > /dev/null
  4. # Allow for port forwarding
  5. sed -i s/::1,127.0.0.1/0.0.0.0/ /var/lib/i2p/i2p-config/clients.config
  6. # Bind i2cp to all interfaces
  7. echo "i2cp.tcp.bindAllInterfaces=true" >> /var/lib/i2p/i2p-config/router.config
  8. # Restart router with changes
  9. echo "Starting i2p router..."
  10. /etc/init.d/i2p restart > /dev/null
  11. tail -f /var/log/i2p/wrapper.log