Control Web Panel
Security => CSF Firewall => Topic started by: ericofreitas on January 31, 2024, 09:52:46 PM
-
Hi!
I have a client and he use an app that make download every days of the .exe and use ftBinary in your app.
Every day is very slow and not finish download this exe but if I disable firewall the routine work fine.
I disable modsecurity, but fw i canīt disable fw too for all server.. Can I disable only this domain in fw? or i can do other solution? I canīt relase ipīs because my client will change yours clients constantly and all have only variable ip.
Thanks!
-
You can whitelist domains in CSF:
https://www.plothost.com/kb/whitelist-hostnames-csf/ (https://www.plothost.com/kb/whitelist-hostnames-csf/)
If your client has a static IP, you can whitelist them by IP address.
-
I tried to whitelist domain and got this error: Error: innovaresystem.com.br is not a valid IPv4 or IPv6 address!
Donīt have static ip all clientes
-
You can only whitelist IPv4 or IPv6 in CSF/LFD, not domain names.
Ask them for the IP they will be connecting from (hopefully static), and whitelist, and you should be good to go.
If they don't know, have them visit: https://whatismyipaddress.com/
-
The problem is that they have many clients and all of them not have static ip and sometimes get new clients, sometimes lose others clients :/
-
Then you will have to setup a VPN server for them to connect thru, and whitelist the IP from that server.
Or they will have to get a static IP from their ISP.
-
Or back to my link above, it references dynamic DNS. So each end client could run dynamic DNS update software (if their IPs are truly dynamic) and CSF can whitelist those dynamic DNS names. What is the scale we are referencing? 10 users? 100?
-
Problem with whitelisting the IP's for say DynDNS. No-IP, etc. is opening the server up to attacks, since you can't control the access, and allot of script kiddies use those services as well.
Just like the TOR Exits.
-
I was checking and it turns out that if he removes the binary type when downloading the exe it corrupts, so I asked him to try compressing the file, downloading it and then decompressing it to see if we can use it without being a binary transfer. If it works, I can leave the firewall active, but I won't have actually solved the problem.
Responding to an average of around 100 customers
-
With 100 customers, that would defiantly justify setting up a VPN for them.
It's easy enough with AL 9 and OpenVPN.