{"id":25765348,"url":"https://github.com/b-swt/nsa-501","last_synced_at":"2026-05-17T10:33:25.566Z","repository":{"id":278954439,"uuid":"937272736","full_name":"B-Swt/NSA-501","owner":"B-Swt","description":"🔵 School Project - Epitech - 1st year - This project, completed as part of the DevOps NSA 501 module at EPITECH, involves setting up a network infrastructure consisting of **four virtual machines (VMs)**. These machines are connected through a network configured with strict security rules, aiming to manage and filter network traffic effectively.","archived":false,"fork":false,"pushed_at":"2025-02-22T18:38:41.000Z","size":2434,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T20:22:53.398Z","etag":null,"topics":["devops","dhcp-server","freebsd","linux","openbsd","ssh-client","ssh-server"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/B-Swt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-22T18:36:40.000Z","updated_at":"2025-02-22T19:21:43.000Z","dependencies_parsed_at":"2025-02-22T19:31:45.824Z","dependency_job_id":"74ed69fe-2d5a-48e6-8482-632d57d0c29e","html_url":"https://github.com/B-Swt/NSA-501","commit_stats":null,"previous_names":["erenvarli/nsa-501","b-swt/nsa-501"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B-Swt%2FNSA-501","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B-Swt%2FNSA-501/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B-Swt%2FNSA-501/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B-Swt%2FNSA-501/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B-Swt","download_url":"https://codeload.github.com/B-Swt/NSA-501/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240941514,"owners_count":19882063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","dhcp-server","freebsd","linux","openbsd","ssh-client","ssh-server"],"created_at":"2025-02-26T22:18:12.222Z","updated_at":"2026-05-13T01:02:04.175Z","avatar_url":"https://github.com/B-Swt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSA POOL – YOU SHALL NOT PASS\n\n## Context\n\nThis project, completed as part of the **DevOps NSA 501** module at **EPITECH**, involves setting up a network infrastructure consisting of **four virtual machines (VMs)**. These machines are connected through a network configured with strict security rules, aiming to manage and filter network traffic effectively.\n\n### Virtual Machines:\n\n- **VM1 (Gateway)**: Router with NAT, DHCP, and packet filtering.\n- **VM2 (Web Server)**: Hosting web services with Nginx, PHP, and MySQL.\n- **VM3 (Administration)**: Management workstation.\n- **VM4 (Employee)**: User workstation with restricted access.\n\n## Tools and Technologies\n\n### Virtualization:\n\n- **VirtualBox**: For creating and managing VMs.\n- **OpenBSD 7.6**: Operating system for the Gateway.\n- **FreeBSD**: OS for the web server.\n- **Debian 12**: OS for administrative and employee workstations.\n\n### Software and Services:\n\n- **Nginx**: Web server to host pages and applications.\n- **PHP 7.4**: Programming language for dynamic applications.\n- **MySQL**: Database management system.\n- **SSH**: Secure connection between machines.\n\n### Network Configurations:\n\n- **DHCP**: Dynamic IP address allocation for subnets.\n- **Packet Filter (PF)**: Network filtering rules for security.\n- **NAT**: Internal address masking for outgoing connections.\n\n## Steps Completed\n\n1. **VM Creation and Configuration**:\n   - Allocation of resources (RAM, CPU, storage).\n   - Installation of operating systems.\n   - Configuration of network interfaces (NAT, internal networks).\n\n2. **Network Configuration (VM1)**:\n   - Setting up **DHCP** for subnets.\n   - Applying **PF** rules to control incoming and outgoing traffic.\n   - Enabling port forwarding for **SSH** access.\n\n3. **Service Deployment (VM2)**:\n   - Installation of **Nginx**, **PHP**, and **MySQL**.\n   - Configuring services to meet user requirements.\n\n4. **Testing and Validation**:\n   - Verifying connections between all VMs.\n   - Testing Internet access (Ping, traceroute).\n   - Validating security rules and network functionality.\n\n## How to Launch the Project\n\n1. **Prerequisites**:\n   - Install VirtualBox.\n   - Download ISO files for OpenBSD, FreeBSD, and Debian.\n\n2. **Installation**:\n   - Follow the steps outlined in the documentation to create and configure the VMs.\n   - Ensure the network and filtering rules are properly set up.\n\n3. **Verification**:\n   - Conduct connectivity and service access tests to validate the infrastructure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-swt%2Fnsa-501","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb-swt%2Fnsa-501","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-swt%2Fnsa-501/lists"}