Yes it is possible to block those HTTPS sites, which you want to block.
Here is the simple solution:
1. You have to connect to your gargoyle router!
Here is how you do it, if you are on windows:
Download the software WinSCP
(
https://winscp.net/eng/download.php)
Then start it and add your IP of your Router and username (if not changed, than the user is: root) and your password of your gargoyle router and at the connection type, select "SCP" and click on connect.
Now you can see all folders and files on your router.
2. Here you go to /etc/dnsmasq.conf, double click on this file dnsmasq.conf and here you can add the sites you want to block, for example:
address=/ebay.com/127.0.0.1
address=/.ebay.com/127.0.0.1
address=/yahoo.com/127.0.0.1
address=/.yahoo.com/127.0.0.1
in this case it blocks the sites ebay.com and yahoo.com
If you have added the sites you want to block, dont forget to save the file. After reboot of the router the sites are blocked =)
If you want you can check it. I did it a few days ago and it works better than i thought.
So now you have a solution how to block HTTPS Sites on gargoyle router, but now we have a problem that if somebody knows how to bypass the DNS settings, he can change DNS Settings and bypass the restriction. But no problem, for this we have a solution too.
To close the Bypass, go to /etc/firewall.user
and double click on this file firewall.user and add these lines in this file:
iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
So now it doesn't matter if somebody of the clients change their DNS Settings, the sites you have created in dnsmasq.conf will be blocked
I can't tell you in detail how it works, but i know that it works, because i tested this a few days ago and it works great.
I did found the solution on the openwrt forum, but a big thanks to Eric, because only through him on this site:
http://gargoylerouter.com/phpbb/viewtop ... f=5&t=2811
i have learnt that gargoyle is working with dnsmasq too.
Through his answer i have learned that many other functions which are working in openwrt works on gargoyle too.
So, through this i've tried to block adds through the gargoyle firmware and this works great too =)
If you are interested, here is the solution how to block Ads through the gargoyle firmware:
1. Donwload the script to /etc/init.d/ > Klick to Download Gist!
https://gist.github.com/someon/9609363
2. Connect with Putty!
3. Make it executable:
chmod +x /etc/init.d/adblock
4. Enable it on system startup:
/etc/init.d/adblock enable
5. start it:
/etc/init.d/adblock start
This Script run in Background and updates bad Hosts list every 6 Hours.
In my case i've tried all what i have written, on the TP-Link 1043nd V.1 with gargoyle firmware 1.8.1 and evertything works better then i had expected.
Have fun with the gargoyle firmwares, they works great =)