Hi.
I deployed graylog fellow Graylog #47,but “Server currently unavailable”.
juju status :
Model Controller Cloud/Region Version SLA Timestamp
graylog maas-controller mymaas/default 2.8.10 unsupported 10:41:41+08:00
App Version Status Scale Charm Store Channel Rev OS Message
apache2 unknown 1 apache2 charmstore 35 ubuntu
elasticsearch 5.6.16 active 1 elasticsearch charmstore 49 ubuntu Unit is ready
graylog 2.5.1 active 1 graylog charmstore 47 ubuntu Ready with: elasticsearch, mongodb
mongodb 3.6.8 active 1 mongodb charmstore 59 ubuntu Unit is ready
Unit Workload Agent Machine Public address Ports Message
apache2/0* unknown idle 0/lxd/2 10.0.3.108 80/tcp
elasticsearch/0* active idle 0 10.0.9.2 9200/tcp Unit is ready
graylog/0* active idle 0/lxd/0 10.0.3.109 9000/tcp,9001/tcp Ready with: elasticsearch, mongodb
mongodb/0* active idle 0/lxd/1 10.0.3.93 27017/tcp,27019/tcp,27021/tcp,28017/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.0.9.2 game-burro focal default Deployed
0/lxd/0 started 10.0.3.109 juju-4fe877-0-lxd-0 focal default Container started
0/lxd/1 started 10.0.3.93 juju-4fe877-0-lxd-1 focal default Container started
0/lxd/2 started 10.0.3.108 juju-4fe877-0-lxd-2 focal default Container started
I use public ip redirction to Intranet private network address with ufw as dellow,
10.0.3.109 9001 ALLOW FWD Anywhere on eno2
10.0.3.109 9000 ALLOW FWD Anywhere on eno2
10.0.9.2 9200 ALLOW FWD Anywhere on eno2
cat vim /etc/ufw/before.rules
-A PREROUTING -p tcp -i eno2 --dport 59000 -j DNAT --to-destination 10.0.3.109:9000
-A PREROUTING -p tcp -i eno2 --dport 59001 -j DNAT --to-destination 10.0.3.109:9001
-A PREROUTING -p tcp -i eno2 --dport 59200 -j DNAT --to-destination 10.0.9.2:9200
Do I need config apache2 reverseproxy ? If I need config apache2 reverseproxy, how can I config the" apache2-public-ip"?
Thank you!