소스 검색

Also allow port 22

Bob Mottram 10 년 전
부모
커밋
6edbd79d88
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      install-freedombone.sh

+ 1
- 0
install-freedombone.sh 파일 보기

@@ -430,6 +430,7 @@ function configure_firewall_for_ssh {
430 430
   if grep -Fxq "configure_firewall_for_ssh" $COMPLETION_FILE; then
431 431
 	  return
432 432
   fi
433
+  iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
433 434
   iptables -A INPUT -i eth0 -p tcp --dport $SSH_PORT -j ACCEPT
434 435
   save_firewall_settings
435 436
   echo 'configure_firewall_for_ssh' >> $COMPLETION_FILE