UFW Help needed

EasyUp Web Hosting

EasyUp Web Hosting
Company Rep
Joined
Mar 18, 2008
Messages
8,517
Reaction score
43
Location
Alberton
Yes, this might seem like a stoopid question, but I have been struggling with this for 2 days and just can't get it working...

I have an Ubuntu 16.04 VPS. Connected to it via SSH and when I do nmap -p143 127.0.0.1, I get:
Starting Nmap 7.01 ( https://nmap.org ) at 2017-08-17 09:39 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00011s latency).
PORT STATE SERVICE
143/tcp closed imap

Nmap done: 1 IP address (1 host up) scanned in 0.25 seconds

Does not matter what I do, I can't get it open. Disabling ufw doesn't help as well.

ufw status verbose:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action From
-- ------ ----
80,443/tcp (Apache Full) ALLOW IN Anywhere
20/tcp ALLOW IN Anywhere
21/tcp ALLOW IN Anywhere
990/tcp ALLOW IN Anywhere
40000:50000/tcp ALLOW IN Anywhere
22/tcp (OpenSSH) ALLOW IN Anywhere
587 ALLOW IN Anywhere
25/tcp (Postfix) ALLOW IN Anywhere
993/tcp ALLOW IN Anywhere
110/tcp ALLOW IN Anywhere
143/tcp ALLOW IN Anywhere
80,443/tcp (Apache Full (v6)) ALLOW IN Anywhere (v6)
20/tcp (v6) ALLOW IN Anywhere (v6)
21/tcp (v6) ALLOW IN Anywhere (v6)
990/tcp (v6) ALLOW IN Anywhere (v6)
40000:50000/tcp (v6) ALLOW IN Anywhere (v6)
25/tcp (Postfix (v6)) ALLOW IN Anywhere (v6)
587 (v6) ALLOW IN Anywhere (v6)
993/tcp (v6) ALLOW IN Anywhere (v6)
110/tcp (v6) ALLOW IN Anywhere (v6)
143/tcp (v6) ALLOW IN Anywhere (v6)

Same goes for ports 990 and 993.
 
What do you see when you do: lsof -Pnl +M -i4 and lsof -Pnl +M -i6 ?

If you run: ufw status verbose what is the output?

Did you disable both ufw and iptables? Stupid question: did you save the firewall rules?

It's strange that the ports are closed even with ufw turned off....
 
Top
Sign up to the MyBroadband newsletter
X