When setting up iptables you can name the port ssh which will use port 22. Is there a list of all the named ports? Specifically I need ssh, http, https and mysql.
The list of "Well-Known Ports" is maintained by the Internet Assigned Numbers Authority (IANA). The latest version can be found at http://www.iana.org/assignments/port-numbers.
Note that most Linux distributions include a subset of the list in /etc/services for use in referring to them symbolically. Windows has it in %windir%\system32\drivers\etc\services.
On your installation, the list will be based on the file /etc/services
The list of "Well-Known Ports" is maintained by the Internet Assigned Numbers Authority (IANA). The latest version can be found at http://www.iana.org/assignments/port-numbers.
Note that most Linux distributions include a subset of the list in
/etc/services
for use in referring to them symbolically. Windows has it in%windir%\system32\drivers\etc\services
.ssh tcp/22
http tcp/80
https tcp/443
mysql clustering tcp/1186 and udp/1186
mysql tcp/3306