commit 3c6de282cc8b0d9f4c6ca193dad4b669052adab9 Author: Runa A. Sandvik runa.sandvik@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