Page 1 of 1

Configure for LAN access only

PostPosted: 28. July 2018 08:16
by joshim
Hi all,

I’ve got XAMPP setup as a test server on my laptop. I want devices connected to my home network to be able to access an owncloud instance installed on it.

I have not opened/forwarded any ports on my router firewall. In XAMPP if I change `Require local` to `Require all granted` in the `phpmyadmin` section on httpd-xampp.conf file, will this allow access to my server for devices within my home network? And is it safe to do this? I don’t want any external access or for the server to be detectable from outside my home network.

Thanks.

Re: Configure for LAN access only

PostPosted: 28. July 2018 09:53
by Nobbie
joshim wrote:is it safe to do this?


Yes.

Your router protects you sufficiently.

Re: Configure for LAN access only

PostPosted: 29. July 2018 09:04
by joshim
Thanks Nobbie,

Just to clarify, editing the httpd-xampp.conf the way I said is the right way to give lan access to the server?

Re: Configure for LAN access only

PostPosted: 29. July 2018 10:57
by Nobbie
Yes. Why dont you simply run a test? A "one minute change".

Re: Configure for LAN access only

PostPosted: 29. July 2018 14:45
by joshim
Nobbie wrote:Yes. Why dont you simply run a test? A "one minute change".


I did, it worked. I just wanted to know if that was the right way to do it or if there’s another better way.

Thanks for your help.

Re: Configure for LAN access only

PostPosted: 29. July 2018 15:11
by Altrea
joshim wrote:I want devices connected to my home network to be able to access an owncloud instance installed on it.

I don't see any reason to change any XAMPP component configuration to achieve that.
external phpmyadmin access is not required for LAN clients to use owncloud.

But if you want to grant LAN only access to phpmyadmin i would rather define a Require ip range than Require all granted.

Re: Configure for LAN access only

PostPosted: 29. July 2018 15:53
by joshim
Altrea wrote:I don't see any reason to change any XAMPP component configuration to achieve that.
external phpmyadmin access is not required for LAN clients to use owncloud.

But if you want to grant LAN only access to phpmyadmin i would rather define a Require ip range than Require all granted.


Hi Altrea

Could you tell me how to do it? If I can do it without giving phpadmin access to every device that would be better.

Re: Configure for LAN access only

PostPosted: 29. July 2018 18:45
by Nobbie
joshim wrote:Could you tell me how to do it? If I can do it without giving phpadmin access to every device that would be better.


Actually, there is exactly nothing(!) to do. Simply install owncloud and access it.

Phpmyadmin is installed in his own environment with its own requirements. I also dont understand why you ask for Phpmyadmin, when you want to access Owncloud?!