Longview and ufw
I've set up my fire wall as follow:
$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
Anywhere ALLOW IN 197.245.0.0/24
Anywhere ALLOW IN 41.13.60.0/24
80/tcp ALLOW IN Anywhere
443 ALLOW IN Anywhere
9418/tcp ALLOW IN Anywhere
8443 ALLOW IN Anywhere
1111 ALLOW IN Anywhere
9999 ALLOW IN Anywhere
8778 ALLOW IN Anywhere
9889 ALLOW IN Anywhere
9080 ALLOW IN Anywhere
8090 ALLOW IN Anywhere
53/tcp ALLOW IN Anywhere
53/udp ALLOW IN Anywhere
123/tcp ALLOW IN Anywhere
123/udp ALLOW IN Anywhere
80/tcp (v6) ALLOW IN Anywhere (v6)
443 (v6) ALLOW IN Anywhere (v6)
9418/tcp (v6) ALLOW IN Anywhere (v6)
8443 (v6) ALLOW IN Anywhere (v6)
1111 (v6) ALLOW IN Anywhere (v6)
9999 (v6) ALLOW IN Anywhere (v6)
8778 (v6) ALLOW IN Anywhere (v6)
9889 (v6) ALLOW IN Anywhere (v6)
9080 (v6) ALLOW IN Anywhere (v6)
8090 (v6) ALLOW IN Anywhere (v6)
53/tcp (v6) ALLOW IN Anywhere (v6)
53/udp (v6) ALLOW IN Anywhere (v6)
123/tcp (v6) ALLOW IN Anywhere (v6)
123/udp (v6) ALLOW IN Anywhere (v6)
I'm trying to setup Longview but the firewall seems to block the installation (curl -s …)
If I switch off the firewall the installation goes through but when I enable the firewall then the web side of the installation waits for a response from the agent.
My questions, what should I enable to allow longview to function on my linode?
1 Reply
I had a similar problem and found the answer here:
https://www.linode.com/docs/platform/longview/longview/#firewall-rules
sudo ufw show added