Commit 37f8ac410170081059bd3b407899c19c292b27ca

Authored by Antonio Terceiro
1 parent ff12302b

lxc: also whitelist port 5555 from host

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
Rakefile
... ... @@ -37,6 +37,7 @@ if $SPB_ENV == 'lxc'
37 37 File.open('config/lxc/iptables-filter-rules', 'w') do |f|
38 38 lxc_host_bridge_ip = '192.168.122.1' # FIXME don't hardcode
39 39 f.puts "-A INPUT -s #{lxc_host_bridge_ip} -p tcp -m state --state NEW --dport 22 -j ACCEPT"
  40 + f.puts "-A INPUT -s #{lxc_host_bridge_ip} -p tcp -m state --state NEW --dport 5555 -j ACCEPT"
40 41 end
41 42 end
42 43  
... ...