I want to block certain protocols to be used, and I do this by blocking their ports such as 53.
I tried to edit /etc/config/firewall
adding:
config rule 'stopdns'
option name 'stopdns'
option proto 'tcpudp'
option dest_port '53'
option target 'DROP'
and /etc/firewall.user
(when the first option did not succeed):
iptables -A OUTPUT -p tcp --dport 53 -j DROP
iptables -A OUTPUT -p udp --dport 53 -j DROP
Same things with ports 80 and 443 to try because none of the things above worked. After each edit I run /etc/init.d/firewall restart
.
iptables -A FORWARD -p tcp/udp --dport 443 -j DROP
and still this website and any other load