0

I've tried running the following. However, port 465 is still closed when I used an online port checker to test. Is there another way on Ubuntu to open this SMTP port? sudo iptables -A INPUT -p tcp --dport 465 -j ACCEPT sudo iptables -A OUTPUT -p tcp --dport 465 -j ACCEPT sudo iptables -A OUTPUT -p tcp --sport 465 -j ACCEPT

5
  • Generally ufw is the tool to use when making changes you your iptables. Can you edit your question to include the output of sudo ufw status? This will list which ports are available from where.
    – matigo
    Commented Jul 1, 2021 at 1:33
  • sudo ufw status returns: sudo: ufw: command not found
    – ccc
    Commented Jul 1, 2021 at 1:36
  • Are you sure you’re running Ubuntu? What does sudo lsb_release -a output?
    – matigo
    Commented Jul 1, 2021 at 2:00
  • It says Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
    – ccc
    Commented Jul 1, 2021 at 2:44
  • Do you have an SMTP server running on port 465? If should show with this command: netstat - tunlp
    – sleepyhead
    Commented Jul 6, 2021 at 14:16

0

You must log in to answer this question.

Browse other questions tagged .