Let's say I want to disable HTTP(S) on my computer.
sudo iptables -A INPUT -p tcp --destination-port 80 -j DROP sudo iptables -A INPUT -p tcp --destination-port 443 -j DROP
Why can I still browse webpages after executing these commands? I have been trying out various
iptables commands, but not a single one has shown any effect so far. (my final goal is redirecting packages for a certain port)
service iptables start, but got the message
Failed to start iptables.service: Unit iptables.service not found. But shouldn't iptables run by default?
head /proc/sys/net/ipv4/ip_forward says
edit. Ok, sorry: the error actually lies somewhere else. Please feel free to look into my other question.