Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Nokia390 on November 29, 2011, 02:49:04 PM
-
Hi
I need to block dropbox. I try with dansguardian but no success.
It´s possible to block with iptables?
Tx
-
hi
I think you should search elsewhere (google is the first place) then come back here with more info.. we then will help you to do it
-
That´s what i have being doing, but no success
Dropbox use TCP port 443 (HTTPS)
208.43.202.0/24
But i can´t block https sites like https://facebook.com with dansguardian
-
since you can't block https traffic, I guess you could block traffic to their ip range..
-
I block all ip range (dropbox) but still users can login
-
well.. this is what I see on my laptop:
tcp 38 0 192.168.25.4:39251 199.47.216.172:443 CLOSE_WAIT 1551/dropbox
tcp 0 0 10.0.0.100:51423 199.47.217.148:80 ESTABLISHED 1551/dropbox
tcp 0 0 192.168.25.4:36836 199.47.217.148:80 ESTABLISHED 1551/dropbox
as you can see the target ip is different from the one you posted..
since you're using dansguardian, following the advice you can find here (https://www.dropbox.com/help/23) you could block *.dropbox.com
let us know
-
ok
Thanks
I´m go to try
-
i had
*.dropbox.com
dropbox.com
to blocksitelist but still pass
-
ok.. playing a bit here on ubuntu.. blocked dopbox blocking
199.47.217.0/24
208.43.202.0/24
107.20.249.0/24
you should search a bit to refine the ip ranges to block, otherwise you could block other sites too
-
Thanks for your patience, I'll try
Thank you very much
-
Only block by:
iptables -t nat -I PREROUTING -p tcp --dport 443 -j DROP
but block ALL https sites
can i specify one? like https:\\facebook.com?
Tx
-
I haven't tried this with dropbox, but used it with logmein and others
add dropbox to your domains (through the server-manager) - maybe thats dropbox.com - that way your machine will think it's dropbox.com
maybe tail your dnslog to see what dropbox hosts are being resolved
-
Tx I´ll try.
-
Brave Dave, Nokia390
add dropbox to your domains (through the server-manager)
Yes tested and confirmed that adding dropbox.com as a Domain in server manager Domains panel will block access, be sure to select Resolve locally
This "feature" should work for any domain.
Restart your workstation to take affect.
-
simple and efficient, thank you very much.