Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Common ports for linux

  • 29-05-2010 9:16am
    #1
    Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭


    I haven't a great memory and often when i need to know a port for something I have to Google or grep /etc/services to find out the reverse.

    What common ports do you come across using linux, being a linux administrator or just generally working in IT?


    21 FTP
    22 SSH
    23 telnet
    25 smtp
    53 DNS
    80 http
    110 pop3
    111 rpc
    123 ntp
    137 -139 netbios (samba)
    161 snmp
    443 https
    445 SMB
    3306 mysql

    What others would you add to your commonly used port list?


Comments

  • Registered Users, Registered Users 2 Posts: 218 ✭✭Tillotson




  • Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭laugh


    cheers I was thinking more of a shorter list :pac:


  • Registered Users, Registered Users 2 Posts: 425 ✭✭Mathiasb


    22, if your SSH server is running on the standard port (bad practice). 80, if you're running a web server..


  • Registered Users, Registered Users 2 Posts: 634 ✭✭✭loldog


    My installation of Transmission from the Ubuntu repos uses 57093 for torrenting.

    .


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    Mathiasb wrote: »
    22, if your SSH server is running on the standard port (bad practice). 80, if you're running a web server..

    Security through obscurity is not a good practice when dealing with Unix server systems. There is no need to run services on non standard ports assuming you have a decent policy in place.
    Use Kerberos everywhere, along with strong public key authentication(i.e no password logins)and bob is your uncle. Sit back and enjoy the sysadmin coffee after everything is setup nicely:pac:


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,518 ✭✭✭matrim


    laugh wrote: »
    I haven't a great memory and often when i need to know a port for something I have to Google or grep /etc/services to find out the reverse.

    What common ports do you come across using linux, being a linux administrator or just generally working in IT?


    21 FTP
    22 SSH
    23 telnet
    25 smtp
    53 DNS
    80 http
    110 pop3
    111 rpc
    123 ntp
    137 -139 netbios (samba)
    161 snmp
    443 https
    445 SMB
    3306 mysql

    What others would you add to your commonly used port list?

    I'd also include 8080 for alternate http, as well as 5060 \ 5061 if you are using sip \ sips


  • Registered Users, Registered Users 2 Posts: 2,534 ✭✭✭FruitLover


    You've neglected to mention whether these are TCP or UDP ports.

    Some I deal with regularly:

    IP 50 (IPSec ESP)
    UDP 500 (IKE)
    UDP & TCP 88 (Kerberos)
    UDP 1812 & 1813 (RADIUS)


  • Registered Users, Registered Users 2 Posts: 1,110 ✭✭✭Skrynesaver


    $less /etc/services


  • Registered Users, Registered Users 2 Posts: 2,771 ✭✭✭niallb


    143 IMAP
    993 IMAP over SSL
    465 SMTP over SSL
    587 SMTP over SSL (alternative)
    1194 OpenVPN


Advertisement