What are the named ports for iptables?
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.
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
.