Page 1 of 1

[SOLVED] Restricted access and questions

Published: May 20, 2016 - 2:19 PM
by chnateag
Hello,


I'm currently testing WAPT and I was planning to create a server accessible across our entire network by opening the correct ports, but it seems that's not possible.
Can you confirm that it's only usable on a LAN?
When I configure my clients to use the domain name pointing to my server's public IP address, I get "restricted access" errors. I searched the forum and found someone who had a domain controller problem, but I don't have one.
I assume the server needs to be able to access the machine directly via port 8088, but I was hoping that wasn't the case, that the client would retrieve its tasks at regular intervals...

If it's only usable on a LAN, do I have to have as many WAPT servers as LANs?

Thanks in advance for your replies,
best regards

Re: Restricted access and questions

Published: May 20, 2016 - 3:14 PM
by Floflobel
Hello,

it's possible to use it over a WAN, but you won't be able to force updates.
Your repository will then need to be accessible on the internet, which can pose real security problems.
I'm currently in this situation; my workstations shut down every night and perform their updates via "wapt-exit".
Nevertheless, you can force the workstation to check for updates every two hours and install them every four hours.
I modify the wapt-get.ini file with the following parameters:
waptupdate_task_period=120
waptupgrade_task_period=120

Re: Restricted access and questions

Published: May 20, 2016 - 5:42 PM
by chnateag
Ah! Thanks for the clarification. I had noticed that my clients updated if I used wapt-tray, and it's true that a check interval would be ideal, or even on shutdown.
However, we're wondering if it wouldn't be better to do one installation per site to avoid overloading our VPN.
In any case, thanks for your reply; I have what I need.

Re: [SOLVED] Restricted access and questions

Published: May 20, 2016 - 6:55 PM
by Floflobel
We've given a lot of thought to network congestion.
Given that the computers are shut down in the evening and sometimes at regular intervals, I think the network is holding up on our end. We

'll have to look into your VPN; you need to run some tests.

Re: [SOLVED] Restricted access and questions

Published: May 20, 2016 - 7:55 PM
by sfonteneau
The best approach is to replicate the repository on each of your sites to avoid overloading your VPN.

You would then need to configure your DNS settings. The advantage is that if you have roaming clients, they will use the nearest repository.

I started some documentation on this here, but it's not complete enough; I need to finish it:
https://wiki.lesfourmisduweb.org/index. ... ts_distant

Re: [SOLVED] Restricted access and questions

Published: May 24, 2016 - 5:12 PM
by chnateag
Setting up DNS records on our routers... Yeah, but I'm hesitant to have to put repositories everywhere; it makes infrastructure management complicated.
I was thinking of blocking everything on the central server except for our clients' IPs, which are often static.

We're thinking about it... I'll take a look at the documentation, thanks a lot.

Edit: I just saw the replication in your documentation, yummy yummy