From 6edbd79d88fdadab3c74e0bf8aa5cc0f87254ff9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Sep 2014 18:52:33 +0100 Subject: [PATCH] Also allow port 22 --- install-freedombone.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 29ab5110..19c7808e 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -430,6 +430,7 @@ function configure_firewall_for_ssh { if grep -Fxq "configure_firewall_for_ssh" $COMPLETION_FILE; then return fi + iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport $SSH_PORT -j ACCEPT save_firewall_settings echo 'configure_firewall_for_ssh' >> $COMPLETION_FILE