Networking Fundamentals Flashcards
FTP port
20 (incoming)
21 (outgoing)
SFTP/SSH port
22
Telnet port
23
SMTP port
25
DNS port
53
POP3 port
110
NTTP port
119
Samba port
139
IMAP port
143
SNMP port
161
HTTPS port
443
SMTP over SSL port
465
IMAP over SSL port
993
POP3 over SSL port
995
/etc/services
A file providing a mapping between textual names for internet services ad the underlying assigned port numbers and protocol types
tcpdchk
command used to check the syntax of /etc/inetd.conf
ifdown eth0
Used to deactivate a network interface
ifconfig eth0 10.0.0.0 netmask 255.255.255.0
Set eth0 IP address to 10.0.0.0 with class c netmask
route add default gw 192.168.1.1
Create a defualt route using a gateway of 192.168.1.1
dig hostname mx
dig mx hostname
Returns the mx record for the specified hostname
Configuration file that tells Linux how to handle DNS and hosts
/etc/nsswitch.conf