1*de922be4SDavid Wang#!/bin/bash 2*de922be4SDavid Wang 3*de922be4SDavid Wang 4*de922be4SDavid Wangiptables -t raw -D PREROUTING -p tcp --dport 8080 -j LOG --log-prefix "target in raw.prerouting>" 5*de922be4SDavid Wangiptables -t mangle -D PREROUTING -p tcp --dport 8080 -j LOG --log-prefix "target in mangle.prerouting>" 6*de922be4SDavid Wangiptables -t nat -D PREROUTING -p tcp --dport 8080 -j LOG --log-prefix "target in nat.prerouting>" 7*de922be4SDavid Wangiptables -t mangle -D INPUT -p tcp --dport 8080 -j LOG --log-prefix "target in mangle.input>" 8*de922be4SDavid Wangiptables -t filter -D INPUT -p tcp --dport 8080 -j LOG --log-prefix "target in filter.input>" 9*de922be4SDavid Wangiptables -t raw -D OUTPUT -p tcp --dport 8080 -j LOG --log-prefix "target in raw.output>" 10*de922be4SDavid Wangiptables -t mangle -D OUTPUT -p tcp --dport 8080 -j LOG --log-prefix "target in mangle.output>" 11*de922be4SDavid Wangiptables -t nat -D OUTPUT -p tcp --dport 8080 -j LOG --log-prefix "target in nat.output>" 12*de922be4SDavid Wangiptables -t filter -D OUTPUT -p tcp --dport 8080 -j LOG --log-prefix "target in filter.output>" 13*de922be4SDavid Wangiptables -t mangle -D FORWARD -p tcp --dport 8080 -j LOG --log-prefix "target in mangle.forward>" 14*de922be4SDavid Wangiptables -t filter -D FORWARD -p tcp --dport 8080 -j LOG --log-prefix "target in filter.forward>" 15*de922be4SDavid Wangiptables -t mangle -D POSTROUTING -p tcp --dport 8080 -j LOG --log-prefix "target in mangle.postrouting>" 16*de922be4SDavid Wangiptables -t nat -D POSTROUTING -p tcp --dport 8080 -j LOG --log-prefix "target in nat.postrouting>" 17