block outgoing (egress) ipcop

14 Apr

block outgoing (egress) ipcop

this worked… yea..

root@ipcop:/etc/rc.d # more rc.local
#!/bin/sh
/sbin/iptables -F CUSTOMFORWARD
#
/sbin/iptables -A CUSTOMFORWARD -p tcp -s 192.168.33.12/32 –dport 80 -j DROP

root@ipcop:/etc/rc.d #