Which ports does Lion Server Firewall open

Default TCP_IN: 20, 21, 22, 25, 26, 53, 80, 110, 143, 443, 465, 587, 993, 995, 2082, 2083, 2086, 2087, 2095, 2096. UDP_IN: 53.

If SSH is not on 22, add the real port to TCP_IN in /etc/lsf/lsf.conf before Enable. Passive FTP needs the range from WHM → FTP Configuration in TCP_IN (e.g. 40000:50000). Then Firewall → Restart.

Restart after port changes

  • lsf, firewall
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

GeoIP country blocking in LSF

CC_DENY="CN,RU,KP" CC_ALLOW="GR,CY,DE" CC_DENY drops all inbound from those countries. CC_ALLOW...

LSF WAF false positive

LSF does not replace WHM → ModSecurity Vendors (OWASP CRS / Atomicorp). It loads a supplementary...

LFD and PSAD — brute force and port scans

LFD watches SSH, FTP, mail, Exim, cPanel and ModSecurity failures. Default: 5 hits in 300 seconds...

Locked out of the server by LSF

TESTING mode: wait up to 5 minutes for the auto-flush. Lionhost KVM / VNC / IPMI as root: lsf...

[STAFF] LSF ticket reply

STAFF ONLY — do not publish. Ask for the customer public IP. lsf --search IP or Simulator. lsf...