From 37f8ac410170081059bd3b407899c19c292b27ca Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 28 May 2015 15:46:41 -0300 Subject: [PATCH] lxc: also whitelist port 5555 from host --- Rakefile | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/Rakefile b/Rakefile index bc345ce..2650dc5 100644 --- a/Rakefile +++ b/Rakefile @@ -37,6 +37,7 @@ if $SPB_ENV == 'lxc' File.open('config/lxc/iptables-filter-rules', 'w') do |f| lxc_host_bridge_ip = '192.168.122.1' # FIXME don't hardcode f.puts "-A INPUT -s #{lxc_host_bridge_ip} -p tcp -m state --state NEW --dport 22 -j ACCEPT" + f.puts "-A INPUT -s #{lxc_host_bridge_ip} -p tcp -m state --state NEW --dport 5555 -j ACCEPT" end end -- libgit2 0.21.2