First all, I am sorry for my bad English, I am a French student.
I am a new user of Nextcloud and I have some question.
I have set up a functional Nextcloud server on a raspberry pi 4 with an external hard drive; connected to my internet box.
I also have set up a ddns with Freedns and opened my internet box ports (80 and 443) which allow me to connect to my Nexcloud server with my phone everywhere around the world.
But due to my really slow internet connection, I would like to use a 4G router instead of my internet box. However, if I repeat the same config with the 4G router, it doesn’t work, probably because my public IP is share with each user of the 4G antenna (its what i have understood).
I have read a solution which is to set up a VPN.
So my question is : can I set up a VPN server (with openvpn for example) directly on the same raspberry as Nextcloud and just use a VPN guest on my phone? If yes, do you have some tuto to help me ?
Thank you so much.