Amazon EC2 Ports and other gotchas

Discussion in 'Tips/Tricks/Mods' started by markp, Mar 22, 2014.

  1. markp

    markp New Member HowtoForge Supporter

    I'm slogging through the tutorial - http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3 on a the most current ubuntu 12.04 LTS (PV). I have worked through most of the gotchas and thought I would document some of them -

    In the aws console you need to open the following ports.

    Code:
    Custom TCP Rule TCP 21 0.0.0.0/0
    SMTP TCP 25 0.0.0.0/0
    HTTP TCP 80 0.0.0.0/0
    POP3 TCP 110 0.0.0.0/0
    IMAP TCP 143 0.0.0.0/0
    HTTPS TCP 443 0.0.0.0/0
    SMTPS TCP 465 0.0.0.0/0
    Custom TCP Rule TCP 587 0.0.0.0/0
    MYSQL TCP 3306 0.0.0.0/0
    Custom TCP Rule TCP 50000 - 50400 0.0.0.0/0 <- this was to get FTPES to work
    SSH TCP 22 xx.xx.xx.xx/32 <- use my ip
    Custom TCP Rule TCP 8080 xx.xx.xx.xx/32 <- use my ip
    
    Step 7 - On editing /etc/hosts. Make sure you have an elastic ip address and that address is resolving correctly.

    Step 16 - On enabling quota (http://www.howtoforge.com/perfect-s...he2-bind-dovecot-ispconfig-3-p5#comment-33275)

    Code:
    sudo apt-get install linux-image-extra-virtual
    sudo reboot
    sudo modprobe quota_v1
    sudo modprobe quota_v2
    After ispconfig3 is install -

    Add /etc/pure-ftpd/conf/PassivePortRange

    Code:
    sudo vi /etc/pure-ftpd/conf/PassivePortRange
    
    50000 50400
    Still trying to get smtp to work with a login from my apple mail client and will post when successful.

    Update - OK the mail client works fine. I did not use my complete username - [email protected].

    Mark
     
    Last edited: Mar 22, 2014

Share This Page