Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirmalyax/home-nas
Engineered a secure on-premises NAS system using Raspberry Pi, Casa OS, and Tailscale. Integrated NextDNS for advanced DNS security and privacy. Achieved a robust network with encrypted communication, user authentication, and content filtering, providing a modern and protected solution for home or small office networks.
https://github.com/nirmalyax/home-nas
bash-script casaos cloud cloudinfrastructure docker linux nextdns tailscale ubuntu
Last synced: 12 days ago
JSON representation
Engineered a secure on-premises NAS system using Raspberry Pi, Casa OS, and Tailscale. Integrated NextDNS for advanced DNS security and privacy. Achieved a robust network with encrypted communication, user authentication, and content filtering, providing a modern and protected solution for home or small office networks.
- Host: GitHub
- URL: https://github.com/nirmalyax/home-nas
- Owner: nirmalyax
- License: apache-2.0
- Created: 2024-02-24T17:20:53.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-05T21:47:26.000Z (11 months ago)
- Last Synced: 2024-11-22T17:51:02.925Z (2 months ago)
- Topics: bash-script, casaos, cloud, cloudinfrastructure, docker, linux, nextdns, tailscale, ubuntu
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Raspberry Pi Home NAS System with Tailscale and Casa OS π‘πΎ
![image](https://github.com/nirmalyax/Home-NAS/assets/35608135/ea2723a8-28a0-4d38-bb73-0b604bc150df)
## Objective:
Build a robust Home NAS (Network Attached Storage) system using a Raspberry Pi, Tailscale, Next DNS for secure remote access, and Casa OS for a user-friendly interface.
## **Hardware Requirements:**
1. **Raspberry Pi:**
- Model 3B or later for optimal performance.
- Power supply.
- MicroSD card (32GB recommended).
2. **External Storage:**
- USB external hard drive or SSD for NAS storage.
3. **Network Connection:**
- Stable internet connection for remote access.## Step 1: Raspberry Pi Setup π
### **1.1 Download and Install Raspberry Pi OS:**
- Visit the official Raspberry Pi website and download the Raspberry Pi OS.
- Use a tool like BalenaEtcher to write the OS image to a microSD card.### **1.2 Boot Up Raspberry Pi:**
- Insert the microSD card into your Raspberry Pi.
- Connect the Raspberry Pi to a monitor, keyboard, mouse, and power supply.
- Power on the Raspberry Pi.### **1.3 Enable SSH:**
- Open the Raspberry Pi Configuration tool using **`sudo raspi-config`**.
- Navigate to **`Interface Options`** and enable **`SSH`**.
- Save and exit.### **1.4 Find Raspberry Pi's IP Address:**
- On the Raspberry Pi terminal, use the command **`hostname -I`** to find its IP address.
## Step 2: SSH RPI & Update and Upgradeπ
```bash
ssh pi@
sudo apt update && sudo apt upgrade```
## Step 3: Install Tailscale πΎ
- Install Tailscale by running the folowing script
```
curl -fsSL https://tailscale.com/install.sh | sh```
## Step 4: Network Configuration π
- Turn on IPv4 forwarding
```
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf```
- Turn on IPv6 forwarding
```
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf```
- Re-execute the sysctl conf file
```
sudo sysctl -p /etc/sysctl.conf```
- Login to Tailscale account
```bash
sudo tailscale up --advertise-exit-node```
## Step 5: Tailscale Connection and NextDNS Integration π
- Connect Tailscale with NextDNS for a secure gateway.
## Step 6: Install Casa OS π‘
```bash
curl -fsSL | sudo bash```
## Step 7: Access Casa OS Remotely π
- Casa OS is exposed on port 81.
- Access it from anywhere using the Raspberry Pi's IP address: `http://:81`.## Step 8: NAS Setup π
- Configure your NAS by connecting external drives or creating shared folders.
π Congratulations! Your Raspberry Pi is now a powerful Home NAS system with secure remote access through Tailscale and a user-friendly interface with Casa OS. Only authorized devices can access, ensuring your data is safe and secure.
Stay tuned for more tech adventures and smart home innovations! π‘β¨ #RaspberryPi #HomeNAS #Tailscale #CasaOS #TechMagic β¨π»