1 2 3 4 5
#!/bin/sh RULE='OUTPUT -p tcp -d 10.192.0.0/10 -j REDIRECT --to-ports 9040' iptables -t nat -D $RULE 2>/dev/null [ "$VERBOSITY" -gt 0 ] && set -x iptables -t nat -A $RULE