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 - 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.

    Custom TCP Rule TCP 21
    SMTP TCP 25
    HTTP TCP 80
    POP3 TCP 110
    IMAP TCP 143
    HTTPS TCP 443
    SMTPS TCP 465
    Custom TCP Rule TCP 587
    MYSQL TCP 3306
    Custom TCP Rule TCP 50000 - 50400 <- 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 (

    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

    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].

    Last edited: Mar 22, 2014

Share This Page