I want to deny my Internet connection's download properties for all ports. I mean I want to only allow upload. Is it possible?
It will block all outgoing connections in Linux.
iptables -A INPUT -m quota --quota 2000000 -j ACCEPT iptables -A INPUT -j REJECT
It will setup "download" quota to 2000000 bytes. Note that uploads will also slightly decrease the counter.
|show 7 more comments|