summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-03-12 16:01:51 +0100
committerRobert "ar" Gerus <ar@bash.org.pl>2013-03-12 16:01:51 +0100
commitaf7ff9550df69e00f1c080b1a5e4dfa8e924a49c (patch)
tree6ba2bc9eff100f0bc63d5ffcf8c9c364013b403e /rules
parent99a940c16a20f13464820ef3c447ccd087ac57c4 (diff)
downloadold-firewall-af7ff9550df69e00f1c080b1a5e4dfa8e924a49c.tar.gz
old-firewall-af7ff9550df69e00f1c080b1a5e4dfa8e924a49c.tar.bz2
old-firewall-af7ff9550df69e00f1c080b1a5e4dfa8e924a49c.tar.xz
old-firewall-af7ff9550df69e00f1c080b1a5e4dfa8e924a49c.zip
swap it.
Diffstat (limited to 'rules')
-rw-r--r--rules/04-kasha-local-connections6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/04-kasha-local-connections b/rules/04-kasha-local-connections
index 46f2e4b..05df31e 100644
--- a/rules/04-kasha-local-connections
+++ b/rules/04-kasha-local-connections
@@ -1,7 +1,7 @@
#!/bin/bah
rules() {
- iptables -t filter $flag INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -p tcp --dport 53
- iptables -t filter $flag INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -p udp --dport 53
+ iptables -t filter $flag OUTPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -p tcp --dport 53
+ iptables -t filter $flag OUTPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -p udp --dport 53
- iptables -t filter $flag OUTPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
+ iptables -t filter $flag INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
}