So here the problem,
My ISP us block the port 80, so it means I cannot portfoward it.
When I tried to connect (public_ip/owncloud) it only says Rejected request from RFC1918 IP to public server address.
I check with netstat that confirm me that the server what listenning on port 80.
Si i decided to tried to change the port owcnloud is using. I change the server.port to 8002 with my lighttpd server and portfoward it. After I checked with netstat and i found that the server was now listening on port 8002 (after a reboot)
However, if i tried to connec to public_ip:8002/owncloud , it only says This site is inaccessible
If a tried with public_ip/owncloud, it says the same error than before: Rejected request from RFC1918 IP to public server address.
I am still able to acces my server on local or via a vpn created in the raspberry pi (using dietpie), but i want to e able to connect with my public ip.
I dont know what to do, any suggestions ?
EDIT: I added my public ip to the trusted domain in the conf file, and change the URL to public_ip/owncloud and public_ip:8002/owncloud ( Itried both)