Lab 4 DHCP - nrubera/SYS-255-03-Tech-Journal GitHub Wiki

This week, my main goal was to establish a way to securely SSH into my DHCP box. Using Powershell worked but is extremely insecure. Using a program called PuTTY on my domain controller allowed me to accomplish this goal.

image

This is the config file for the secure SSH connection to my DHCP box from my domain controller. When you initiate the connection and it is established you will be prompted to login using a username and password as shown below.

image

Next up was to configure DHCP services, for this I had to use the sudo -i command to create a new config file for the service. Once I created the file I edited it using the nano text editor due to the fact that I kept running into an error when trying to use vi. I configured all the addresses for the DHCP server. Once I made my changes to the file I pressed Ctrl and X to exit the editor and was prompted to save and pressed "y" to do so.

image

When you edit a service you always want to restart it for the changes to take effect. I did that on the new dhcp service and I also checked the status of it after starting the service.

image

I then had to add the new service to the firewall to give it permissions to allow incoming DHCP requests. Without giving it firewall permissions it would not work properly if at all.

image

Changing the IPv4 settings on my Windows workstation to automatically obtain addresses changed the IP address to one given by the DHCP server on a temporary lease, creating a dynamic IP address.

image