Directadmin:What ports do I need to open in my firewall?

2013年06月13日 / 技术相关 / 标签:directadmin,firewall,iptables

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.

添加新评论

分类列表

随机文章

最新文章

最近回复

  • 赵赵: 还是不行 求大佬指导
  • 受害人: 感谢 十分感谢
  • 过路人: 这个方法很管用,直接安装多次都是失败 按照楼主的法子一次就搞定。谢谢!
  • yjl: 很久没更新了?
  • 阿策阳光: 博主威武,完美的解决了问题。
  • servers: 基本上很少用电信联通的了,太贵
  • 凯哥自媒体: 分享的不错,谢谢
  • 蜗牛789: 站长可以交换个友链 蜗牛789-关注免费资源,用心与你分享! ...

归档