Skip to content

MindfulLearner/dimaNet-homeLabServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

dimaNet - Home Lab Server

About

Il progetto dimaNet nasce dall'esigenza di avere un ambiente centralizzato accessibile da remoto, indipendente dal dispositivo in uso. Gestione remota tramite DDNS e WireGuard, pentesting lab su rete isolata, e sperimentazione su virtualizzazione e sicurezza.

Sistema operativo host: Proxmox VE 8.2 su bare metal.

Custom Proxmox UI

custom proxmox ui

PICTURE FIRST PROTOTYPE HAND CREATION BELOW MERMID

image

Infrastructure Overview

graph TD
    INTERNET([Internet])
    ATTACKER([Attacker])
    HONEYPOT[Honeypot - Cowrie LXC]
    ROUTER[Router]
    FW[Firewall]
    GH[GitHub]

    SERVER[DIMANET/SERVER\nProxmox VE]

    subgraph CONTAINERS[Containers - LXC]
        ARCH[Arch Linux]
        WIP1[... WIP]
    end

    subgraph VMS[Virtual Machines]
        VM_BASE[Base VM]
        UBUNTU[Ubuntu]
        KALI[Kali Linux]
        WIN[Windows - WIP]
    end

    REMOTE[Remote Work\nMacBook / Fedora]
    MAIN[Main Computer\nArch Linux]
    FRIEND[Friend Computer]

    STORAGE_MAIN[(Local Storage)]
    STORAGE_REMOTE[(Remote Storage)]
    STORAGE_FRIEND[(Storage)]

    INTERNET --> ATTACKER
    INTERNET --> ROUTER
    ATTACKER -->|attack attempt| HONEYPOT
    ROUTER --> HONEYPOT
    ROUTER --> FW
    ROUTER --> GH
    FW --> SERVER
    FW --> MAIN

    SERVER -->|SSH| ARCH
    SERVER --> WIP1
    SERVER --> VM_BASE
    VM_BASE --> UBUNTU
    VM_BASE --> KALI
    VM_BASE --> WIN

    REMOTE -->|SSH| SERVER
    STORAGE_REMOTE --> REMOTE

    MAIN --> STORAGE_MAIN
    FRIEND --> STORAGE_FRIEND
Loading

Container in View

containers


Accesso remoto

  • WireGuard VPN gestito tramite PiVPN
  • DDNS per IP dinamico No-IP con hostname dedicato
  • Port forwarding sul router (Mappatura Porte, porta 51820 UDP)
  • Documentazione dettagliata: vpn-setup/README.md

Gestione alimentazione remota

Il server non Γ¨ sempre acceso. L'accensione Γ¨ gestita tramite rtcwake, che usa il Real Time Clock hardware per programmare il wake del sistema a un orario preciso, senza bisogno di Wake-on-LAN o intervento fisico.

Comando tipico (spegni e svegliati tra N secondi):

rtcwake -m off -s <secondi>

Questo permette di gestire il server da remoto (es. da Praga) programmando finestre di accensione pianificate, riducendo consumo energetico e usura.

Link utili


Roadmap

Legenda: done wip planned

1. Web Server

  • wip Apache/Nginx - hosting su VM o container LXC
  • wip Stack LAMP/LEMP

2. Database Server

  • wip MySQL / PostgreSQL / MongoDB
  • wip Replica del database

3. File Server

  • wip Samba
  • wip NFS
  • wip FTP/SFTP

4. Virtualizzazione e Container

  • done Proxmox VE
  • wip Docker
  • done LXC

5. Gestione Cloud

  • done OpenStack
  • wip MAAS
  • wip Juju

6. Servizi di Rete

  • wip DNS (BIND)
  • wip DHCP
  • wip Proxy Server (Squid)

7. Mail Server

  • wip Postfix / Dovecot
  • wip SpamAssassin

8. Sicurezza e Monitoraggio

  • wip Firewall (iptables/ufw)
  • wip IDS (Snort/Suricata)
  • wip Monitoring (Prometheus/Zabbix)

9. Ambiente di Sviluppo

  • wip Git server
  • wip CI/CD (Jenkins/GitLab CI)
  • wip Node.js / Rails / Django

10. Media Server

  • wip Plex / Emby
  • wip Nextcloud

11. Backup

  • done rsync + cron
  • done Bacula

12. Automazione

  • done Ansible
  • done Shell scripting

13. VPN

  • done WireGuard / OpenVPN

14. Game Server

  • planned Minecraft / Counter-Strike

15. AI / ML

  • planned TensorFlow / PyTorch

16. IoT

  • planned MQTT Broker

About

My personal home server πŸ–₯ is built with Linux Proxmox, hosting a variety of containers and virtual machines running different Linux distributions. I use it for pentesting, learning, and as a project fueled by my passion for technology.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors