Is that possible to forbid the outgoing public IP address and access private IP only?
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
I know there is a way to drop IP via iptables
iptables -I OUTPUT-s 11.0.0.0 -j DROP
... etc
Is there a convenient way to block all of them?