What ports do I need to open in my firewall?

20,21: FTP. Note that ftp will use a "random high port number" if the client is in PORT mode, so you may need to add a port range into your /etc/proftpd.conf file to allow ftp connections, eg:

PassivePorts 35000 35999

and then open that port range as well in your firewall.

22: ssh access

25, 587: smtp for exim to recieve email

53: dns (named), so your sites resolve. TCP and UDP here.

80, 443: apache traffic, http and https

110, 995: client pop email access
143, 993: clients imap email access

2222: DirectAdmin Access

3306: mysql acess. You don't need to open this port if you don't want to allow remote mysql access, as most mysql scripts are all accessed locally.

  • 107 Users Found This Useful
Was this answer helpful?

Related Articles

Do I need a Dedicated Server?

Having a dedicated server gives you high flexibility and a lot of options for your site. You...

Who does manage my Dedicated Server?

All our Dedicated plans come completely unmanaged unless you buy a managed service addon. What it...

Do you help to setup control panels and operating systems?

All dedicated servers come with the operating system of customer choice preinstalled. All...

How to use SSH

SSH is a tool used to connect to your server. This is how 95% of your system is setup. To use...

Which OS am I using?

During support requests, we will often ask a client which OS version they're using. Running all...