summaryrefslogtreecommitdiff
path: root/conf/network_if-up.d_samizdat.in
blob: 4c02c936af7cbcd5a3a53db9e3270ad6fa5fca6e (plain)
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