3 ms·
iptables. I actually block some websites by setting some rules in /etc/rc.local like: iptables -A OUTPUT -p udp --dport 53 -m string --hex-string "|08|facebook
by JoshCalbet 8y ago
iptables. I actually block some websites by setting some rules in /etc/rc.local like:
iptables -A OUTPUT -p udp --dport 53 -m string --hex-string "|08|facebook|03|com" --algo bm -j DROP
Not joking