FTP Server Configuration
FTP Server Configuration
FTP Server Configuration
1. Destination:
o 0.0.0.0: Represents the default route, meaning traffic to any destination not in
the routing table will be sent through this gateway.
o 192.168.18.0: Refers to the network address for the local network.
2. Gateway:
o 192.168.18.1: The IP address of the gateway (router) for your network.
o 0.0.0.0: Indicates that no gateway is needed for traffic within the local network
(192.168.18.0/24).
3. Genmask:
o 0.0.0.0: A subnet mask of 0.0.0.0 means that the route applies to all possible
IP addresses (used for the default route).
o 255.255.255.0: The subnet mask for the local network, indicating a /24 network
(256 IP addresses).
4. Flags:
o UG: Indicates that the route is up (U) and that it uses a gateway (G).
o U: Indicates that the route is up.
5. Iface:
o eth0: The network interface associated with these routes (Ethernet).
In summary, the routing table directs traffic destined for the 192.168.18.0/24 network through
the eth0 interface without using a gateway, while all other traffic goes through the gateway at
192.168.18.1.
TCP:
o TCP establish connection between sender and receiver before sending data is transmitted.
They will check that the data is reliable and delivered in the correct order
o Reliability: It will check if any packet is lost they will retransmit them.
o Use Case: Web browsing (http/https), email(SMTP/IMAP) & file transfer (FTP)
UDP:
o UDP does not establish connection b/w sender & receiver before sending data is transmitted.
They will send data without any guarantees of delivery or correct order.
o Faster: It is faster but they don’t worry about that the data is arrived or not
o Use Case: We use this where we don’t care about reliability we only need speed like in video
streaming, Online Gaming etc.
In TCP & UDP there are 1 – 65535 ports in each these are ports, there are different ports like
File Transfer Protocol - FTP: To send file from one computer to another computer or download file
from server using there port 21.
Now we will give the name and pass. And uncheck other and only check the password never expires.
Now we will come back to our previous steps so now we will add the user, like here I add user – aamirftp
and also give the permissions read and write, and also check the anonymous and basic. Click finish.
o Advance settings
Outbound Rules
Here we get the access but there is no files etc bcz we make it empty now we will add some files in the
server directory and also give the permissions.
Click advance
get ftp_testing_file.txt