Hi,
Added the experimental features on Ubuntu 14.04.5 LTS overnight, initially I was able to login to Kibana but ran so-allow an IPtables locked me out.
Since rebooting I can't get ELK docker containers to start. It appears that forwarding rules are added to filter chain but they don't exist.
I have removed the the config and recreated the docker containers with no luck. I am unsure what the correct iptables rules at this point, I assume they are not installed by the container starting but are required when starting?
Eric
Nothign in /var/log/elasticsearch/docker-cluster.log
root@dhost:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
377239b49753 securityonionsolutions/so-logstash "/usr/local/bin/do..." 2 minutes ago Created so-logstash
dcf9e73993a9 securityonionsolutions/so-elasticsearch "/bin/bash bin/es-..." 2 minutes ago Created so-elasticsearch
16497bf8556a securityonionsolutions/so-domainstats "/bin/sh -c '/usr/..." 2 minutes ago Created so-domainstats
37669b890eb6 securityonionsolutions/so-freqserver "/bin/sh -c '/usr/..." 2 minutes ago Created so-freqserver
root@host:~# /usr/sbin/so-elastic-restart
Stopping containers:
so-elastalert
so-curator
Removing containers:
so-elasticsearch
so-logstash
so-kibana
so-elastalert
so-curator
so-freqserver
so-domainstats
Starting containers:
so-freqserver: e8d58a1d2fdf20619aa407605517faa5192dbcccb090b512d6b6527abf4e09d1
docker: Error response from daemon: driver failed programming external connectivity on endpoint so-freqserver (9906c3e868f4785c810d42ee6a0e95797c02f4f17b8549dfbf35be6c1e7843d8): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 10004 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).
so-domainstats: c8a54dbff4b32a72599200c0009528e1b1bf8d774cc65775a2c864f81f0fc683
docker: Error response from daemon: driver failed programming external connectivity on endpoint so-domainstats (af83a79e08292dcb6e1ebed03dd781d87f033a70d88f985dc7a764aed8cc9b5f): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 20000 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).
so-elasticsearch: 4348dc614ef99b8960ea692d1c474431ae252d64900c404a517c397e25c9d5cb
docker: Error response from daemon: driver failed programming external connectivity on endpoint so-elasticsearch (c0bda1899decd922a067a31216b96b52ba69dfdda263486155e7b52dc17e68cd): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 9300 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).
so-logstash: 9ebc1bd3ca6553a4ebf58f01cf3a60c9cb0cbcce0174b47907b1f587ba58fea0
docker: Error response from daemon: driver failed programming external connectivity on endpoint so-logstash (9fa75bb3cd81f4110f6ef08a59d55e22fb38f12378f4c5a61a2b312a01c20cba): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 6053 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).
Waiting for ElasticSearch................................................................
Connection attempt timed out. Unable to connect to ElasticSearch.
Please try:
-checking log(s) in /var/log/elasticsearch/
-running 'sudo docker ps'
-running 'sudo so-elastic-restart'
so-kibana: fe102a5c2bdc558f1b164dfd064322b939fc3b639bf312df9db7363b627c5a7b
docker: Error response from daemon: driver failed programming external connectivity on endpoint so-kibana (fc73d3e0bd17d4f8adc56683964ade16f0ca7caf4fdb642a09628d25e5cae888): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 5601 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).
so-elastalert: 3679eee99ca9e1bc2b8c9673d6bef6d0d671e0751ddbecbb719917696096d5f8
so-curator: a8dbd4fadac6a30d1564b59419d96b9c13df833b8823af760d2788665f096237
root@dc1monppa01:~# iptables -L -n -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DOCKER all --
0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DOCKER all --
0.0.0.0/0 !
127.0.0.0/8 ADDRTYPE match dst-type LOCAL
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all --
172.17.0.0/16 0.0.0.0/0
MASQUERADE all --
172.18.0.0/16 0.0.0.0/0
Chain DOCKER (2 references)
target prot opt source destination
RETURN all --
0.0.0.0/0 0.0.0.0/0
RETURN all --
0.0.0.0/0 0.0.0.0/0
DNAT tcp --
0.0.0.0/0 0.0.0.0/0 tcp dpt:10004 to:
172.17.0.2:10004
DNAT tcp --
0.0.0.0/0 0.0.0.0/0 tcp dpt:20000 to:
172.17.0.2:20000
DNAT tcp --
0.0.0.0/0 0.0.0.0/0 tcp dpt:9300 to:
172.17.0.2:9300
DNAT tcp --
0.0.0.0/0 0.0.0.0/0 tcp dpt:6053 to:
172.17.0.2:6053
DNAT tcp --
0.0.0.0/0 0.0.0.0/0 tcp dpt:5601 to:
172.17.0.2:5601
ACCEPT tcp --
0.0.0.0/0 172.17.0.2 tcp dpt:20000