LongCut logo

OpenCloud is the new Nextcloud, and it is MUCH faster

By Thomas Wilde

Summary

Topics Covered

  • OpenCloud Outpaces Nextcloud in Speed
  • Forked from OwnCloud for Open-Source Priority
  • Local DNS Rewrites Turbocharge Self-Hosting
  • Modular Docker Compose Simplifies Deployment
  • Tailor Tunneling to File Size Needs

Full Transcript

So we have the admin and admin username and password. Let's go ahead and sign

and password. Let's go ahead and sign in. And we are here. We have the the web

in. And we are here. We have the the web application. And let's go ahead and just

application. And let's go ahead and just create a new text file. Say hello from desktop. And we can open it. Okay. We

desktop. And we can open it. Okay. We

can look at that activity. Okay. Hello

from desktop. Right there we have the hello. Okay. And we have an Excel

hello. Okay. And we have an Excel spreadsheet right here. Let's see. One,

two, highlight these.

So awesome. This is so cool, guys. And

it's just incredibly fast. And then now with the web viewer, I can see my other cursor here. So if I say like, hello

cursor here. So if I say like, hello from Android, I can see that right there in real time.

So, are you looking for a self-hosted simple cloud storage solution that's faster than NexCloud and that focuses on the simplicity of file storage and being

able to modify those files with Collaborate Office built into the web tool? Look no further than OpenCloud.

tool? Look no further than OpenCloud.

This thing is wicked fast. It is. If

you're used to using NexCloud, OpenCloud is going to feel so fast on your clients on both the desktop client and on your mobile client and just in the web interactivity. So when you are

interactivity. So when you are navigating through the web, it is so fast. Now if you're not familiar with

fast. Now if you're not familiar with OpenCloud, it is because it's relatively new on the block. You see, it was forked

from OwnCloud Infinite Scale, OCIS. And

OwnCloud Infinite Scale is also in its own respect an awesome tool. And the

only reason why I haven't done a OCIS tutorial is because I know that OpenCloud had already been forked. I

think it was earlier this year or late last year when the OCIS team for OwnCloud basically jumped ship. They

decided, hey, OwnCloud, same story is the next cloud origin story, right? So

the the OwnCloud infinite scale team felt like OwnCloud wasn't prioritizing open-source and their team as much as they should have and they decided to jump ship. They forked it and now it's

jump ship. They forked it and now it's Open Cloud. So why would you use Open

Open Cloud. So why would you use Open Cloud instead of Nexcloud? uh it's just a lot faster. And if you just don't need the built-in integrated tools like the

mail, the calendar, uh the chat, all of the, you know, Microsoft Teams equivalent, then you should probably just use Open Cloud. And if you want to add those kind of collaborative tools

later, you can you can um use different tools supported by that same company.

But overall, OpenCloud supports collaborate integration. you can, you

collaborate integration. you can, you know, open up uh Word documents and open Office documents inside of the web browser. It works great. I'll show you a

browser. It works great. I'll show you a couple limitations when it comes to the mobile app. So, the tools that we're

mobile app. So, the tools that we're going to set up in this tutorial are OpenCloud, of course. I'm going to be using a local DNS server. Uh I already

have Adgard Home set up. Um, if you don't have a local DNS server, I do recommend having that for pretty much any of the cloud providers, OpenCloud,

NextCloud, or Own Cloud, just because um you're going to want those local rewrites of your domain so that uh your

server stack can communicate with itself without, you know, going out to the uh internet. It doesn't really need to. So,

internet. It doesn't really need to. So,

everything will be faster if you have a local DNS server. I'm going to be using Adgard Home. I have a tutorial for how

Adgard Home. I have a tutorial for how to set that up. We're going to use EngineX proxy manager as our reverse proxy. It's just very easy to do. And

proxy. It's just very easy to do. And

then for external access, um I might do a cloud for tunnel as well as a Penglin tunnel. I have both set up already for

tunnel. I have both set up already for previous tutorials, so we might just piggy back off of those. Uh I'll show you the desktop application. We're using

Calabra. Pretty straightforward, guys.

They did a great job in um setting up the compose files for us to make it really modular depending on what we want in our stack. So, let's get it going.

Let's check it out. Okay, guys. So,

let's navigate over to the OpenCloud GitHub repository where we're going to find instructions for setting up our

Docker Compose project here. So there's

multiple composed files and configs for each container that we might use in our stack. Really nice. All we have to do is

stack. Really nice. All we have to do is basically do a git clone of this repository. So let's go ahead and do

repository. So let's go ahead and do that. Going to copy this guy. And right

that. Going to copy this guy. And right

here I have a VS Code remote server connection here. So I have an SSH client

connection here. So I have an SSH client and basically a SFTP um client right here as well. I I like using VS Code like I say in all my tutorials just because it's easy to show

the command terminal as well as what active file I am looking at. So let's CD up to our Docker folder inside of our

user folder where I'm storing a folder for each of my Docker containers. And

then let's go ahead and do a clone of that repository. So that's going to

that repository. So that's going to create an OpenCloud folder right here.

So here we go. It already cloned it.

OpenCloud Compose. Now, I might just go ahead and

Compose. Now, I might just go ahead and change that name to OpenCloud for simplicity. And what we have is a Docker

simplicity. And what we have is a Docker Compose file like you'd expect. And we

have av example file. So, everything really is

example file. So, everything really is controlled for the most part in thev file. We shouldn't really have to do

file. We shouldn't really have to do much with the Docker Compose file. I

might add in my DNS server just so that I get those internal rewrites for my domains. Uh but that is about it. So

domains. Uh but that is about it. So

let's go ahead and just I'll use the command to copy thev example to the env. And that way you

still have the example file if you want to reference it and you can make sure that the env is in your git ignore. So

let's cd into open cloud and then copy that. And now we have our env file that

that. And now we have our env file that we can use. Okay. And let's just follow the steps. So let's go ahead and set up

the steps. So let's go ahead and set up our admin password. So we're going to go ahead and find this. So the initial admin password right here. We're just

going to go ahead and set it to admin.

That's what it would be for OwnCloud OCIS is just admin admin for username and password. We'll stick with that. Of

and password. We'll stick with that. Of

course, when we get in there, we're going to create our own profile. We're

going to delete this admin profile. So,

our own profile will have our our own p username and password. And uh there will no longer be an admin account. Okay. And

the next thing I'll go ahead and set is the open cloud domain. Now, I do just highly recommend that you use a domain

for OpenCloud or OwnCloud or ExCloud because it's just going to make everything so much easier uh in the long run. So, a domain that you own is great

run. So, a domain that you own is great because it makes getting SSL certificates so much easier. You don't

need to use self-signed certificates.

So, I'm of course going to use my thomas wildtech domain and let's go with cloud.

Thomas wildtech.com.

That's going to be the domain that we use for this app. And the next thing that we will set is the compose file

variable, which is basically saying what compose files we want to include. So,

because I'm using an external, well, I'm using my own reverse proxy, then I don't need to include its built-in traffic

reverse proxy. So, let's scroll up to

reverse proxy. So, let's scroll up to the compose file section. It gives us a number of examples. So, I'm just going to copy and paste the real one below

these examples. So we're obviously going

these examples. So we're obviously going to use the docker compose.yaml

file. That's the base one for opencloud container. We need that. And then the

container. We need that. And then the next one that we are going to use is the external proxy. So colon and then paste

external proxy. So colon and then paste that in there. We'll set up Calabra after we already get OpenCloud up and running. So we don't need the Calabra

running. So we don't need the Calabra docker compos file just yet. But if we want to see what this what this is doing. So we have our let's go ahead and

doing. So we have our let's go ahead and save this. We have our docker compose

save this. We have our docker compose file right and this has our open cloud container and everything that we need

for our open cloud container. If we want to set it up to be used with our own engineext proxy manager. Let's take a

look at that external proxy folder and look at the opencloud.imyl.

So what this is doing is it's appending additional information to the open cloud container. So now it's saying hey let's

container. So now it's saying hey let's go ahead and do a port mapping of that 9200.

So that's now exposing the IP for us to route engine X2. we're not going to be using its built-in traffic reverse

proxy. So that's all this file does. And

proxy. So that's all this file does. And

when we do incorporate Calabra, we'll also use the Calabra external proxy so that we also expose those ports as well.

So it's just really nice. We don't have to come in here and modify a whole bunch of stuff. Okay, so we have our Docker

of stuff. Okay, so we have our Docker composed and we have our external proxy.

I am going to go ahead and switch insecure to false because I am going to be accessing this with my domain with

HTTPS. So again, we'll come back to

HTTPS. So again, we'll come back to Calabra and the WPI server domain. We

will create domains for those as well and make sure that we have local rewrites for those. Otherwise, the last thing that we really need are our bind

mount variables. So the OC config

mount variables. So the OC config directory and the OC data directory. So

this is going to be like our config file that we want to persist. And the data directory is going to be where our files are actually going to be stored on the back end. So typically this is where

back end. So typically this is where you're going to want this to be on your larger hard drive most likely. And the

config file can just be on the you know local hard drive because it shouldn't really be taking up that much space. Now

I will probably just go ahead and mount these locally. So let's go ahead and set

these locally. So let's go ahead and set that config. And there is already a

that config. And there is already a config folder in here which is different. Of course these are this is

different. Of course these are this is configuration for u the containers with the ML files and whatnot. So not to be

confused with that config. So I'm going to put this in I'll I'll put it in a folder called app. So I'll create a

folder here called app and then do config and then I'll do the same thing with this one with the data and I'll put

that in app data like that and then I'll go ahead and create those folders which should prevent uh permission issues when it comes to uh the permissions on the

bind mounts. So let's go ahead and

bind mounts. So let's go ahead and create a folder for app. And then in here I'm going to create a folder for config. And then I'm going to create

config. And then I'm going to create another folder for data. So we already have those bind mount directories.

Everything can just get written into those directories. Okay. So now we

those directories. Okay. So now we basically just need to have our DNS

rewrite for our domain in our DNS server and we need to have our uh proxy host route that domain to the port. So let's

go ahead and do the proxy host. So so I am just going to use my EngineX proxy manager instance. If you don't have a

manager instance. If you don't have a reverse proxy already, I have that set up in my mpm folder right here. And if

you want to use engineext proxy manager, just click the link in the uh the corner over there. Very easy to set up. Okay, I

over there. Very easy to set up. Okay, I

don't really want to go ahead and set this all up because I don't want it to be out of scope for this tutorial. So, I

already have all these other domains.

We're just going to add one more. And

then I already have a wildcard SSL certificate.

If you're not familiar with getting wild card certificates, make sure to check out that tutorial that I just mentioned.

Very easy to set up. Okay, we're going to choose force SSL and we can include um HSTS and HTTP2.

So, we got the certificate. Let's put in the domain that was going to be cloud thomas wildtech.com.

thomas wildtech.com.

Okay, we're doing http to the port. Now I have my proxy running in host mode. So I can just use my local

host IP address. If you're running it in its own uh network, then you might need to use the local IP of your server. So

that would be 12 192.1684248.

That's the local IP of my server. I

could put that here as well, but I'm just going to use the local host. Okay.

And OpenCloud was listening to 9200.

Go ahead and select websocket support and cache assets and block uh common exploits. So, should be able to save

exploits. So, should be able to save that. Okay. Now, we have cloud.

that. Okay. Now, we have cloud.

Thomas.com.

Just need to make sure we have the DNS rewrite. Now, if you don't have your own

rewrite. Now, if you don't have your own DNS server and you just want to use, you know, Cloudflare tunnel or something like that, uh, you can do that. I do

recommend having a DNS server. So, get

that set up. Again, link in the corner.

Okay. So, inside of my own Adguard home here, going to go to filters and then DNS rewrites. Then at the bottom, I'm

DNS rewrites. Then at the bottom, I'm going to hit add a DNS rewrite. Now,

this is very similar with Pi Hole if you have Pi Hole. So the domain is cloud.

Thomas thomascloudtech.com.

And then so we're going to be routing this domain locally to the local IP of our server. So that's the 192.168.4.248.

our server. So that's the 192.168.4.248.

Go ahead and save that. And now we have that DNS entry. We have our proxy. So we

pretty much have everything we need. The

only thing I'm going to add in here is that I want OpenCloud to use my local DNS server and that way when it talks to

itself through the domain or to Calabra, it is just using local rewrites. Okay,

so just much more efficient to you don't want this container to have to use Cloudflare tunnel to communicate to its own stack. So, we're going to put in the

own stack. So, we're going to put in the DNS 192.168.4.

In this case, I have my DNS server running on my actual server, which is the 142. That's what the ADG guard was

the 142. That's what the ADG guard was just showing. Oh, and just one more data

just showing. Oh, and just one more data directory that I forgot is the apps directory. If we use their like app

directory. If we use their like app store, kind of similar to NexCloud, except there's hardly anything there really. So probably not going to use

really. So probably not going to use this, but we'll just go ahead and put it into this same app and then apps

directory. So let's go ahead and create

directory. So let's go ahead and create an apps directory in here too. And then

we should be good to go. And I think we have everything. So now let's go ahead

have everything. So now let's go ahead and just do our docker compose up. Okay.

And let it pull the images. Okay. And

let's see if we can come over to cloud.

thomas wildtech.com and here we go. We got the opencloud signin. So we have the admin and admin

signin. So we have the admin and admin username and password. Let's go ahead and sign in. And we are here. We have

the the web application up and running.

Let's go ahead and create our own user so that we're not using that admin admin. We don't want to keep that

admin. We don't want to keep that forever. So if I think if we go over to

forever. So if I think if we go over to admin settings over here, go to users, go to new user. Again, this app is just

so fast, so much faster than the PHP app of u Nexcloud. So username Thomas do thomas wildtech.com.

thomas wildtech.com.

You can set up the SMTP um settings. I

haven't really I don't know what all kind of email notifications they have in here, but I haven't even come across a situation where I need email notifications. Let's do Thomas Wild.

notifications. Let's do Thomas Wild.

Just make sure that that is what I want it to be. Thomas Wild Tech. Yep. Okay.

And then we're going to switch the RO to admin. So, edit roll admin and then

admin. So, edit roll admin and then save. Okay. That way we should be able

save. Okay. That way we should be able to log out now and then log in as Thomas. And now we're logged in as

Thomas. And now we're logged in as Thomas. Let's go ahead and delete the

Thomas. Let's go ahead and delete the admin user cuz we just don't need it anymore. Delete.

anymore. Delete.

Okay. So, before we get Calabra set up, let's go ahead and just play with a couple, you know, text files. Let's look

at our files here. Um, so we have plain text and we have markdown. Uh we don't have the collabo plugin yet. So we don't have all the uh office document files

but um I also just want to go ahead and set up let's set up the desktop application so we can interact with that now too. So I already have it installed

now too. So I already have it installed but the way that you would install it just search for open cloud desktop and then come to

the GitHub. I believe that this does

the GitHub. I believe that this does just link you to the Microsoft store if you're using Microsoft. Uh otherwise,

you can come to the GitHub and then go to the binaries and then I think for Microsoft it still just tells you to go to the Microsoft store. Otherwise for

MacOss and Linux looks like they have u files that you can download. So this

will take you to the Microsoft Store.

You just install it like any other Microsoft application. After you have

Microsoft application. After you have that installed, you should have a open cloud um icon or it should go ahead and just ask you to set up your account. So

for me, since I already have it installed, I will just show the app and then add another account. So the server

address is the https colon/cloud.

Thomas wildtech.com.

So we'll hit next. Okay. And then you need to um authorize the desktop application. You can open it in the

application. You can open it in the default browser or use copy URL. I think

I just use copy URL. So that opened up my Microsoft Edge. Let's go ahead and sign in. Go ahead and click allow.

sign in. Go ahead and click allow.

Login successful. You can now close this window. And then you see in my desktop

window. And then you see in my desktop application, it says I'm all set. So go

ahead and finish. Okay. Okay. And so

this created a OpenCloud 2 folder. Okay.

And if I open up that OpenCloud 2 folder, we have personal and we have shares. So let's open up personal.

shares. So let's open up personal.

And let's go ahead and just create a new text file. Say hello from desktop. And

text file. Say hello from desktop. And

we can open it. And we can just say hello. Save. Okay. We can look at that

hello. Save. Okay. We can look at that activity. Got hello from desktop

activity. Got hello from desktop uploaded. So pretty nice desktop

uploaded. So pretty nice desktop application here. If I come in here and

application here. If I come in here and let's give this a little refresh.

Okay, hello from desktop. Right there we have the hello. So say hello back from web. Okay, and go ahead and hit save.

web. Okay, and go ahead and hit save.

Okay, and then momentarily you'll see sync activity the hello from desktop has been updated. So that's great. Come in

been updated. So that's great. Come in

here. Hello from desktop. Hello back

from web. Okay, so we have the sync going. Now before I get the Android

going. Now before I get the Android mobile application going, which came out only like a few weeks ago, I think been really waiting on this. Let's go and get

Calabra installed. So the way that the

Calabra installed. So the way that the Calabra works is that we're going to have our own domain for Calabra and our WPI server and our client applications

need to be able to use that domain as well as our OpenCloud server needs to be able to use those domains too. So we're

going to create rewrites for those as well. So we're going to create two more

well. So we're going to create two more DNS entries. I could do a wild card, you

DNS entries. I could do a wild card, you know, domain and just have that. But

because I'm gonna show you how to set up Penglin, um, I actually need to be able to access the Penglin server, which is not on my local server. So, we're just going to do a domain for each of these.

So, let's do a collab.

Thomas wildtech.com.

wildtech.com.

Okay. And that's going to go to the same IP. Save that. And then we're also going

IP. Save that. And then we're also going to have a wythomasweldtech.com and the same server.

Okay. And we can see that I actually created a Calabra with uh my previous Nexcloud tutorial. We can see if I go to

Nexcloud tutorial. We can see if I go to my next cloud here, I do have a Calabra image. I'm doing kind of the same thing

image. I'm doing kind of the same thing with the DNS using 9980.

So if I don't want these, if I want to be able to have two separate collaborate instances in my demo, I might use a different domain and might use a different port mapping. I think I'll

just do that in case I ever need to come back to nextcloud. So instead of the Calabra, let's just change that to be Calabra-

OC for OpenCloud and we'll use that as our domain. Just need to make sure that

our domain. Just need to make sure that I remember to do that. Okay, so back to our OpenCloud Docker container.

We are going to go to the web office folder and we can see our Calabra Docker compose file. So this does add some

compose file. So this does add some information here for the open cloud container and it creates our WPY server

collaboration container as well as our actual Calabra container. So we're going to need to enable this. And then we also

have a collabory in the external proxy.

So this is what's going to expose the ports. So again, we're already using I

ports. So again, we're already using I already have 9980 for my next cloud tutorial. So I think I'm going to

tutorial. So I think I'm going to actually change that to 9982 for that. So let's go ahead and save

for that. So let's go ahead and save that. And then I'm just going to go

that. And then I'm just going to go ahead and add my DNS server to both of these containers as well, the

collaboration as well as the Calabra.

And that way everything is basically using my DNS server. I like that because I get those logs. I know what these containers are trying to do and where

they are sending information. So we need to enable those two compose files and we

can do that in our env file. So we can grab the web office collabor.

Now, at this point, I'd probably also recommend enabling the Tika file cuz that's just going to get, you know, basically full text searching support for all of your files. It is going to

take up more resources. So, I think I'm just going to skip it for now. But,

yeah, you would just, you know, put in a colon and then search and then tikka right here to enable those. Okay. And

then we just need to um add those Calabra definitions in here as well. So,

scroll all the way down here for the Calabra domain. Going to change this to

Calabra domain. Going to change this to Calabra-o.

Thomas thomasw wildtech.com.

And then the WPY server domain is the wythomas wildtech.com.

wildtech.com.

[Music] And then I'm just going to go ahead and change the SSL verification to true. I

want it to check that the connections are definitely using SSL.

We don't need the SSL enable for collaborate self because we're handling certificates with EngineX proxy manager ourselves. So let's save that and let's

ourselves. So let's save that and let's just go ahead and configure our enginex proxy manager to handle those domains as

well. So let's add a proxy host for

well. So let's add a proxy host for Calabra-o.

thomas wildtech.com.

Okay. And then that is the I'm using 99 9982 cuz I changed it to that otherwise it would be 9980.

This is the client side port. And again

I'm using local host or host mode for engineext proxy manager. Let's go ahead and add the websocket support and choose our wildcard certificate

force SSL and do all these guys too.

Okay. Okay, so now we have the Calabra and then let's add the WPY server. So

WPY ththomas wildtech.com127.0.0.1

again. Okay. And then the WPY server right here is the 9300.

So just going to set that websocket support. Choose the SSL wildcard

support. Choose the SSL wildcard certificate. Okay. And everything should

certificate. Okay. And everything should be routed accordingly. Let's go ahead and take it down. So, let's do a docker

compose down. And then let's take it

compose down. And then let's take it back up. Docker compose upd.

back up. Docker compose upd.

So, we're going to pull the Calabra image right here. Okay. So, that has finished pulling. Let's see if we can

finished pulling. Let's see if we can come in here and reload.

And we can. So, let's go to new. And now

we have all of our Office type documents. So we can do an open document

documents. So we can do an open document or a Microsoft Word document. Collabra

should have pretty much the same user interface for the open versions versus the Microsoft versions. So let's try an

open document first. ODT filet.

Okay. And now we have our our Word file here. Hello world. And you can just see

here. Hello world. And you can just see that it already has synced with my desktop application which is great. So,

we can also switch it to dark mode, which of course I love, unless I really need to ensure that the color is right when it comes to the, you know, images

and white backgrounds. In any case, that should be set up in real time. I'll go

ahead and exit out of here. And I have hello from desktop.

Okay. And then after writing that hello world, it says that the file has been updated. And so I've got 10 kilobytes

updated. And so I've got 10 kilobytes here. Go ahead and I'll go ahead and

here. Go ahead and I'll go ahead and open that with only office. You can see that uh it does have my hello world right there in the preview. So that is

looking great. I now have um let's go

looking great. I now have um let's go ahead and try a uh XLSX.

So see spreadsheet. Okay. And we have an Excel spreadsheet right here. Let's see.

One, two, highlight these.

So awesome. This is so cool, guys. And

it's just incredibly fast. Okay, next

thing I want to do is set it up on my phone, too. Okay, like I said before,

phone, too. Okay, like I said before, OpenCloud was recently added to the Play Store. So, let's go ahead and find that.

Store. So, let's go ahead and find that.

OpenCloud. Install.

Open. Now, just keep in mind, too, on Android, in order for you to actually use your local DNS, you might just need to make sure that you're not using

private DNS. So, if you search your

private DNS. So, if you search your settings for DNS, you turn off private DNS. Now, private DNS is adds a little

DNS. Now, private DNS is adds a little bit of security if you're using like an open Wi-Fi, although you should be using a VPN anyways. Uh, I turn it off so that

I can use my local DNS server on my phone. Although, I'll show you how to do

phone. Although, I'll show you how to do public access after this portion of the tutorial. Let's go ahead and open up

tutorial. Let's go ahead and open up OpenCloud. And we're going to go https

OpenCloud. And we're going to go https colon/cloud.thomas

colon/cloud.thomas [Music] wild tech.com.

wild tech.com.

Okay. And then we're going to authorize our phone by coming in here and signing in. And then it's just going to allow us

in. And then it's just going to allow us to authorize ourselves.

And then boom, we are in. We've got the office file. We have the text file. I

office file. We have the text file. I

can see the text file very easily. Now

the one difference with nextcloud is that nextcloud has the collabor like built into the nextcloud app which is

pretty cool. Um, with OpenCloud or

pretty cool. Um, with OpenCloud or OpenCloud OCIS, you do just need to install Calabra or Open Office

separately and then open the file in that application. For me, it's not that

that application. For me, it's not that big of a deal. I'm not really doing a ton of uh edits with the mobile app anyways. But what you would want to do

anyways. But what you would want to do is just go ahead and install Calabra.

You can also use the open in Calabra online web. So, we can do that. And then

online web. So, we can do that. And then

it's going to kind of have an embedded web tool. And this actually works great,

web tool. And this actually works great, too. So, not too big of a deal. You can

too. So, not too big of a deal. You can

use the embedded web app. It works

great. Otherwise, what you might do is just go to the Play Store and download either Collabra. Yeah, download Collabra

either Collabra. Yeah, download Collabra Office or Only Office should work just as well. Okay, I'll just go ahead and

as well. Okay, I'll just go ahead and open up the app.

So, no recent files in here. If I go back to OpenCloud and I click on the icon. Okay. Yeah. So, now it just opens

icon. Okay. Yeah. So, now it just opens with Calabra. Uh, and it feels it feels

with Calabra. Uh, and it feels it feels native. So, that that's actually really

native. So, that that's actually really nice. And then let's just see if I go

nice. And then let's just see if I go into that office file. So yeah, I feel like when you're using the external app,

the collaborate app, the real time updates uh might not be as good. So I'm going say hello from

mobile.

Hit the save button. Upload failed. So

let's try using just the web viewer. And

then now with the web viewer I can see my other cursor here. So if I say like hello from Android

I can see that right there in real time.

So real time collaboration just use the uh embedded web tool. Go ahead and save that. And it's already there. It's right

that. And it's already there. It's right

there in real time. Okay. So we have this all working locally. It's working

beautifully. Um but what if we want external access? What if we want um to

external access? What if we want um to be able to share documents with other people? We could of course do port

people? We could of course do port forwarding but you know that kind of has its own security issues or we can use a tunnel system through a VPS. So we can

either use Cloudflare tunnel which is an awesome free service or we can use our own Penglin tunnel. And I have tutorials for both of these. Check out the

description below the video. Okay, so

I'm going to use ProtonVPN because I can do this for free without even creating an account. Let's see. Not now. And then

an account. Let's see. Not now. And then

I'm just going to hit connect. So now I know that I'm not using my own DNS server. And now I know that I'm going

server. And now I know that I'm going through Japan. So if I tried going to

through Japan. So if I tried going to cloud thomasw wildtech.com

then it's not going to work because there's no public DNS entry for this. So

we can use penglin or we can use cloudflare tunnel. I'll start with

cloudflare tunnel. I'll start with penglin because uh it's great especially if you're using large files over 100 megabytes. You don't have to worry about

megabytes. You don't have to worry about anything like chunked file uploads.

Everything's just going to work.

Cloudflare tunnel has a 100 megabyte file upload limit. So, you know, if that's probably not going to affect you as much as like image would. So, in your

penglin um configuration, we would go to add resource and then call this opencloud

https resource. And then the domain is

https resource. And then the domain is going to be cloud. Thomas wildtech.com.

Come down here and actually select it so that we're creating this resource. Okay.

And then I'm going to go ahead and set authentication to false so that we're we don't have any kind of SSO layer on top of this. And

then I'm just going to route this to my engine X proxy. So I already have the tunnel set up. If you want to set up penglin, watch my video for setting that

up. So, this is going to port 443 so

up. So, this is going to port 443 so that engineext handles that. Okay. And

then depending on what reverse proxy you are using, you may or may not need to put that same domain, the cloud.thtoomasweek.com

cloud.thtoomasweek.com here in the TLS server name or custom host header. So, just keep that in mind

host header. So, just keep that in mind if it doesn't work at first. Let's go

ahead and save all the settings. I don't

know if I have a wildcard DNS entry. So, let's go ahead and just

DNS entry. So, let's go ahead and just check my DNS entries real quick inside of Cloudflare, which I'm using as my DNS provider. So, I'm going to come down to

provider. So, I'm going to come down to thomas wildtec.com.

thomas wildtec.com.

Go to DNS. Okay. No. So I have pengalin and I have image going to my IP address

of my pengalin server. So we're going to do the same thing with cloud. So let's

go add record and it's going to be called cloud and then I'm going to use the same IP address for this is my pangulin server not using cloudflare's

proxy and then we're just going to do that right there. So, let's check my phone cuz I'm not using my DNS server.

I'm VPNing, right? And then let's see if I can try going here again. Okay. And

it's not working. So, I think I will go ahead and put this domain in here. So,

cloud.thomaswalde.com.

Go ahead and copy and paste that into the host header as well. Okay. And now

it is indeed working. So now we have public access through uh my Panglin tunnel. So as simple as that can go

tunnel. So as simple as that can go ahead and sign in the web browser. The

mobile app should work too. So that's

pretty awesome. Now if we wanted to use Cloudflare Tunnel instead of Penglin because if you don't have a VPS, you might want to use Cloudflare instead.

Pretty easy, too. Let's go ahead and remove this DNS record. So, we're going to delete that record. And then we're going to hop back over to our main

account page. Scroll down to zero trust.

account page. Scroll down to zero trust.

Go to your networks tool and then go to your tunnels. And if you don't already

your tunnels. And if you don't already have a tunnel connected to your server, go ahead and create the tunnel or watch my tutorial. I already have a tunnel

my tutorial. I already have a tunnel here. It's already set up. So, we're

here. It's already set up. So, we're

just going to go to configure. And now

we're going to go to our published application roots. This is

recently changed. And so I'm going to do a similar thing here where I'm going to add a published application route. And

this is going to be cloud Thomas Wildte service is going to be https because we are going directly to our

engineext proxy manager. So that's the local IP address. And then same thing that we did with Pangalin, we're going

to do here with the TLS. So we're going to do cloud. Thomas thomasw wildtech.com right there. And then similarly for the

right there. And then similarly for the host header, go ahead and just paste that same domain right there. Let's go

ahead and save that. Okay. So now we in just a few seconds we switched from using Pangalin to using Cloudflare Tunnel. Let's see if I can hit this

Tunnel. Let's see if I can hit this signin page again. Go ahead and refresh.

And it's working. We're going through Cloudflare Tunnel now. So, this is how you can have mobile access to your Open Cloud account. In the past, I've talked

Cloud account. In the past, I've talked about using zero trust as well as MTLS to put a layer of protection in front of your applications.

If you want to use MTLS, you will have to wait for my um you can use my Cloudflare MTLS tutorial to do that. Uh

but it again, the app doesn't support its own client certificate um for iOS.

So the Cloudflare MTLS I've only been able to do with Android. So if you want to use MTLS, wait for my uh pengling tutorial on generating your own

certificate. Otherwise, you can also uh

certificate. Otherwise, you can also uh integrate SSO providers. So, if you have questions about that, let me know in the comments. Hope you enjoyed this

comments. Hope you enjoyed this tutorial. I do really like OpenCloud, so

tutorial. I do really like OpenCloud, so I'm happy to promote them. This is a great application that may or may not replace your next cloud. It certainly

can replace your open your own cloud OCIS and that's a whole other discussion on its own because I think there are questions as to how well supported

owncloud OCIS is going to be going forward since the team migrated to another company that supports open-source tools. So, if you're

open-source tools. So, if you're starting now, I would probably recommend that you just go with OpenCloud over OCIS because

uh I mean these guys are obviously dedicated to to supporting this tool.

So, hope you enjoyed this tutorial and I'll see you in the next

Loading...

Loading video analysis...