diff options
Diffstat (limited to 'conf/network_if-up.d_samizdat')
-rwxr-xr-x | conf/network_if-up.d_samizdat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/network_if-up.d_samizdat b/conf/network_if-up.d_samizdat new file mode 100755 index 0000000..4c02c93 --- /dev/null +++ b/conf/network_if-up.d_samizdat | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | RULE='OUTPUT -p tcp -d 10.192.0.0/10 -j REDIRECT --to-ports 9040' | ||
3 | iptables -t nat -D $RULE 2>/dev/null | ||
4 | [ "$VERBOSITY" -gt 0 ] && set -x | ||
5 | iptables -t nat -A $RULE | ||