[tor-commits] [tor-cloud/master] Option `--to-ports' requires an argument on the same line
runa at torproject.org
runa at torproject.org
Sat Nov 12 15:53:24 UTC 2011
commit 3c6de282cc8b0d9f4c6ca193dad4b669052adab9
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date: Sat Nov 12 15:52:51 2011 +0000
Option `--to-ports' requires an argument on the same line
---
ec2-prep.sh | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/ec2-prep.sh b/ec2-prep.sh
index 32e69e6..f1426c7 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -68,8 +68,7 @@ cat << EOF > $IPTABLES_RULES
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [77:6173]
:OUTPUT ACCEPT [77:6173]
--A PREROUTING -i eth0 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports
-9001
+-A PREROUTING -i eth0 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 9001
COMMIT
EOF
More information about the tor-commits
mailing list