Fix typo in rahunas-firewall
authorNeutron Soutmun <neo.neutron@gmail.com>
Thu, 2 Jul 2009 12:14:47 +0000 (19:14 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Thu, 2 Jul 2009 12:14:47 +0000 (19:14 +0700)
tools/rahunas-firewall.in

index 5d28572..b7f6acf 100755 (executable)
@@ -546,7 +546,7 @@ rules () {
           -d ! $VSERVER_IP \
           -m connmark --mark 2/2 -j REDIRECT --to-ports $PROXY_PORT
       else
-        $IPTABLES -t nat -A $CHAIN_NAT_PRETROUTING -p tcp --dport http \
+        $IPTABLES -t nat -A $CHAIN_NAT_PREROUTING -p tcp --dport http \
           -d ! $VSERVER_IP \
           -m connmark --mark 2/2 \
           -j DNAT --to-destination $PROXY_HOST:$PROXY_PORT