I have created an interface eth0:2 and I want to make curl requests from that interface only so I want to block all ports and incoming traffic on that interface.
This iptables rule used to work, but for some reason it doesn't anymore:
iptables -A FORWARD -i eth0:2 -j DROP
Hopefully someone can point me in the right direction.