I have been playing with the script : I reduced it to my need as I already have Hostapd that run through Dhcp . and everything worked except I2P it was driving me crazy
it won't run as root I changed the I2p file to allow it still nothing . then I tried to restart it even if it's not running and it worked so in the modified script it's run by restart instead of start .
it start but I can't get it the http proxy to forward the connection I get on the client http outproxy some error with the web interface of i2p server
thanks I again for the great work I really enjoyed reading throught it . you got style !
update: after reading about the i2p I finally got it. the .i2p sites are accessible while the regular one I can access them through https when the proxy is set to https port