Previously I asked how to block all traffic except for specific IPs however that wasn't enough. I need to block all outbound/inbound except for my IPs. I don't want to be able to ping/connect to any IP not listed.This is what I used beforeiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPTiptables -A INPUT -s 1.1.1.1 -j ACCEPTiptables -A INPUT -j DROP    # or REJECTservice iptables saveservice iptables restartHow can I stop all the outbound traffic except for 1.1.1.1 also?
iptables block all inbound and outbound traffic except for my IPs
iptables
iptables -A INPUT -s 1.1.1.1 -j ACCEPTiptables -A OUTPUT -d 1.1.1.1 -j ACCEPTiptables -P INPUT DROPiptables -P OUTPUT DROPservice iptables saveservice iptables restart