ICT 213 Basic network services

Services

Starting/stopping services using SysV init

Systemd

Secure shell

ssh client configuration

sshd server configuration

FTP

vsftpd configuration

XINET

Telnet

Rsync

HTTP

Apache configuration

Webmin

DHCP

DHCP server configuration

Parameters that can be set include

DHCP server example configuration

default-lease-time 600;
max-lease-time 7200;

# Set the subnet mask for the wireless IP network
option subnet-mask 255.255.255.0;

# Set the Broadcast address. This will be 10.x.x.255,
# the "x.x" will depend upon the network assigned to you by NZWireless.
option broadcast-address 10.1.2.255;

# Set the router address, this will be 10.x.x.1, the address
# of your wireless interface WLAN0
option routers 10.1.2.1;

# Set the Name Server address. This will be the same as your WLAN0 address
# because we intend to run DNS on this machine.
option domain-name-servers 10.1.2.1;

# Set the default domain name for clients on this network.
# i.e. the DNS domain assigned to you by your wireless administrator.
option domain-name "simon.akld.nzwireless.org";

# Allocate a network range for dynamic IP addresses to hand out to clients.
# Again, this range will be in 10.x.x.x, depending upon the network allocated
# to you by your wireless administrator.
subnet 10.1.2.0 netmask 255.255.255.0 {
    range 10.1.2.10 10.1.2.20;
}

# You can also assign specific IP addresses based on the clients'
# ethernet MAC address as follows (Host's name is "laser-printer":

host laser-printer {
    hardware ethernet 08:00:2b:4c:59:23;
    fixed-address 10.1.2.99;
}