-
Notifications
You must be signed in to change notification settings - Fork 0
Week 6: Comprehensive Infrastructure Guide
GoogleMattEckhardt edited this page Oct 2, 2019
·
7 revisions
- Boot up fw (username: root and password: Ch@mpl@1n!19)
- Assign the interfaces. Input 1 in the main OPNsense menu. Set WAN to be em0 and LAN em1. DO NOT CONFIGURE VLANs
- Select 2 to set IP addresses. select 2 for the WAN interface, input whatever you're assigned. (for me its 10.0.17.152) Do not use DHCP. Upstream WAN gateway is 10.0.17.2 and we're not using IPv6 4.Respond no for using HTTP
- Select 2 from the main menu again. 1 for the LAN interface, no DHCP. LAN address is 10.0.5.2. 24 bit subnet mask. No upstream gateway. no DHCP, bypass IPv6 config, and do not enable DHCP server or revert HTTP
- Configure the IPv4 properties for a manual IP. 10.0.5.100, 255.255.255.0, 10.0.5.2. Use 10.0.5.2 as your preferred DNS server.
- Use a web browser to go to the firewall. Type in its IP. Login using the fw login credentials. Setup hostname: fw1-matt, Domain: matt.local . Configure WAN Interface RFC1918 Networks: Uncheck "Block private networks from entering via WAN." Set the root
- Default settings but don't do product key. Give the server a password.
- Start server manager
- IP address: 10.0.5.5 Netmask: 255.255.255.0 Gateway: 10.0.5.2 DNS: 10.0.5.2 Make it discoverable
- Time should be UTC-5:00 Eastern Time
- Reboot
- Go to manage in server manager, add roles, and select Active Directory Domain Services under server roles
- install and reboot
- Select the link to promote the server to a domain controller (yellow triangle)
- Make a new forest make it yourname.local set a password 10.Go to Server Manager/DNS/AD01 and go into DNS manager
- Find and expand the forward lookup zone for your new domain. You should have an entry for ad01.yourname. This allows you to ping ad01 by hostname and/or domain name. Add an entry for fw01. select New Host (A or AAAA) 12.Add a reference to fw01, go ahead and check "Create associated (PTR) record". 13.Add a reverse primary lookup for all IP addresses in the 10.0.5.0/24 Network by selecting the New Zone options from the right-click context menu as shown below. Use the defaults and add a Network ID for 10.0.5. 14.Create a new PTR records from the A record of fw01-yourname and ad01-yourname by unchecking, applying checking the update PTR record check box and re-applying fw01's properties.
1.On AD01, find the Active Directory Users and Computers option. Under the Domain's user folder Add a new User. 2.This user (first.lastname-adm) will be a Domain Administrator and will have a distinct suffix (ADM) to show this. Uncheck user must change password at next login. 3.Add this user to the Domain Admins Group (if you dont want a domain admin, simply dont add to group)
- If you haven't changed the hostname from the random assigned hostname, do so now. Call it wks01-yourname (control panel, system security, system)
- Login to dhcp01-matt
- On CentOS, use the nmtui tool.
- Select 'edit connection'
- Click on your proper connection
- Set the IPv4 configuration to manual
- Input your IP and netmask