DevOps virtualization
In this project, you will configure a segmented virtual network using VLANs and the Proxmox firewall.
Your Proxmox environment is already connected to a physical network that provides two VLANs for this course:
| VLAN | IPv4 Network | IPv6 Network |
|---|---|---|
| 321 | 10.160.x.y/16 |
2001:1948:E10:2271::/64 |
| 322 | 10.170.x.y/16 |
2001:1948:E10:2272::/64 |
The x octet from above can be viewed on this page. You can choose whatever address you want for the y octet.
You will use these existing VLANs to create a small virtual network consisting of a server and a client.
The primary goal of this project is to understand the relationship between virtual networking, VLANs, and firewall rules.
You will configure the network, establish a baseline, implement a security policy, test the policy, and troubleshoot a deliberately incorrect configuration.
You are a systems administrator responsible for a company’s virtual infrastructure.
The company has two networks:
A web server is located on the Server Network (you can use a pokemon instance), while employee workstations are located on the Client Network.
The security administrator has established the following requirements:
Your job is to implement and demonstrate this security policy using Proxmox.
By completing this project, you should be able to:
Create or use a virtual machine to act as your Web Server (pokemon).
Connect the VM to VLAN 321.
Configure the appropriate IPv4 network settings using an address from your assigned VLAN 321 network.
From inside the server, verify:
You should be able to access the web server from an appropriate network.
Create or use a second virtual machine to act as the Client.
Connect the VM to VLAN 322.
Configure the appropriate IPv4 network settings using an address from your assigned VLAN 322 network.
From the client, verify:
Document the network configuration of both machines.
Your environment should now resemble:
Proxmox
|
+--------+--------+
| |
VLAN 321 VLAN 322
Server Network Client Network
| |
Web Server Client
10.160.x.x 10.170.x.x
Before configuring the firewall, determine what communication is currently possible between the client and server.
From the Client VM, test the Server VM using several different types of traffic.
At minimum, test:
You may use additional network testing tools if appropriate.
Create a table documenting your results.
| Test | Protocol | Port | Result |
|---|---|---|---|
| Ping Server | ICMP | — | |
| HTTP | TCP | 80 | |
| HTTPS | TCP | 443 | |
| SSH | TCP | 22 |
For each test, explain whether the connection succeeded or failed.
This establishes your baseline before firewall rules are applied.
Configure the Proxmox firewall to enforce the company’s security requirements.
The required policy is:
| Traffic | Requirement |
|---|---|
| HTTP | Allow |
| HTTPS | Allow |
| SSH | Deny |
| Other unnecessary TCP services | Deny |
The server should not be able to initiate arbitrary connections to the client.
You must determine how to implement these requirements using Proxmox firewall rules.
Do not simply create rules that make the required tests pass.
Your configuration should implement the stated security policy.
You should be able to explain why each rule exists.
Repeat the tests from Part 3 after implementing your firewall configuration.
Complete the following table:
| Test | Protocol | Port | Expected | Actual |
|---|---|---|---|---|
| Ping Server | ICMP | — | ||
| HTTP | TCP | 80 | Allow | |
| HTTPS | TCP | 443 | Allow | |
| SSH | TCP | 22 | Deny | |
| Other TCP service | TCP | — | Deny |
Investigate any difference between the expected and actual results.
Proxmox provides multiple levels at which firewall configuration can be applied.
Investigate the difference between firewall configuration at the:
Answer the following:
Your answer should demonstrate that you understand where the firewall policy is being applied, not simply where you clicked to create the rule.
During your project demonstration, you should be prepared to show:
You should also be able to explain your configuration without simply reading your firewall rules.
Your instructor may ask you to modify a firewall rule or test an additional connection.
Submit a document containing:
Screenshots should be used as evidence, not as a substitute for explanations.