xref: /linux-tools/misc/scripts/iptables/iptable-debug-off.sh (revision de922be4e919572d28577568db563e691d5e7702)
1#!/bin/bash
2
3source="172.18.1.5"
4
5iptables -t raw -D PREROUTING -s "$source" -j LOG --log-prefix "target in raw.prerouting>"
6iptables -t mangle -D PREROUTING -s "$source" -j LOG --log-prefix "target in mangle.prerouting>"
7iptables -t nat -D PREROUTING -s "$source" -j LOG --log-prefix "target in nat.prerouting>"
8iptables -t mangle -D INPUT -s "$source" -j LOG --log-prefix "target in mangle.input>"
9iptables -t filter -D INPUT -s "$source" -j LOG --log-prefix "target in filter.input>"
10iptables -t raw -D OUTPUT -s "$source" -j LOG --log-prefix "target in raw.output>"
11iptables -t mangle -D OUTPUT -s "$source" -j LOG --log-prefix "target in mangle.output>"
12iptables -t nat -D OUTPUT -s "$source" -j LOG --log-prefix "target in nat.output>"
13iptables -t filter -D OUTPUT -s "$source" -j LOG --log-prefix "target in filter.output>"
14iptables -t mangle -D FORWARD -s "$source" -j LOG --log-prefix "target in mangle.forward>"
15iptables -t filter -D FORWARD -s "$source" -j LOG --log-prefix "target in filter.forward>"
16iptables -t mangle -D POSTROUTING -s "$source" -j LOG --log-prefix "target in mangle.postrouting>"
17iptables -t nat -D POSTROUTING -s "$source" -j LOG --log-prefix "target in nat.postrouting>"
18