Need to add firewall rule to Ubuntu 18.04

Discussion in 'Server Operation' started by unsichtbare, Sep 24, 2019.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Is this the way to permit 443 from anywhere in the internet?
    Code:
    iptables -A INPUT -p tcp --dport 443 -j ACCEPT
    THX
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Ubuntu 18.04 should use ufw by default. Use "ufw allow 443" or "ufw allow https" to achieve that.

    If you are using ISPConfig, that set that from its control panel.
     
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I should have specified, I am using IPtables and this is not an ISPconfig. THX
     

Share This Page