Make initial sftp connection work

This commit is contained in:
Johannes Zellner
2019-03-18 21:15:50 -07:00
parent 4942a2480b
commit 044b27967e
8 changed files with 141 additions and 43 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ iptables -t filter -F CLOUDRON # empty any existing rules
# allow ssh, http, https, ping, dns
iptables -t filter -I CLOUDRON -m state --state RELATED,ESTABLISHED -j ACCEPT
# caas has ssh on port 202
iptables -A CLOUDRON -p tcp -m tcp -m multiport --dports 22,25,80,202,443,587,993,4190 -j ACCEPT
iptables -A CLOUDRON -p tcp -m tcp -m multiport --dports 22,25,80,202,222,443,587,993,4190 -j ACCEPT
iptables -t filter -A CLOUDRON -p icmp --icmp-type echo-request -j ACCEPT
iptables -t filter -A CLOUDRON -p icmp --icmp-type echo-reply -j ACCEPT