Skip to content

Code-tech77/Secure-Cloud-Network-Tunneling-Environment-SCNTE-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Secure Cloud Network Tunneling Environment (SCNTE)

  • Dockerized WireGuard on Oracle Cloud ☁️ 🐋

🌟 Overview

This project demonstrates a secure, cloud hosted VPN gateway built with WireGuard and fully containerized with Docker.
It routes all network traffic from a client device through an encrypted WireGuard tunnel on an Oracle Cloud instance, ensuring privacy and secure routing.

This project was designed as a hands on learning experience in cloud security, containerization, and network encryption, showcasing real world applications of SSH, Docker Compose, and Linux CLI workflows.


🧱 Features

  • End to end encrypted VPN using WireGuard
  • Dockerized deployment for portability
  • SSH key-based authentication (public/private key pairs)
  • Configurable network routing for client devices
  • Fully testable on personal hotspot, home, or cloud networks
  • Safe GitHub integration with .gitignore to protect secrets

🛠️ Tech Stack

Component Purpose
Oracle Cloud Free Tier Cloud instance hosting
Ubuntu 22.04 LTS Server OS
WireGuard VPN protocol
Docker & Docker Compose Containerization
SSH Keys Secure authentication
GitHub Version control & repo management

🗂️ Repository Structure

├── Dockerfile # Docker image definition
├── docker compose.yml # Compose file for container orchestration
├── entrypoint.sh # Startup script for WireGuard container
├── wg0.conf # WireGuard configuration (ignored in git)
├── .gitignore # Files to ignore in Git
└── publickey # WireGuard public key (safe to include)


⚙️ The Project Workflow Digram

Screenshot 2025-10-29 at 8 19 48 pm

⚙️ Installation & Setup

1️⃣ Clone Repository

git clone [email protected]:Code-tech77/wireguard-vpn-gateway.git
cd wireguard-vpn-gateway

2️⃣ Generate SSH Keys (If not already created)

ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

3️⃣ Add SSH Key to GitHub

cat ~/.ssh/id_ed25519.pub
  • Tips : Go to GitHub → Settings → SSH and GPG keys → New SSH key → Paste → Save

4️⃣ Configure WireGuard

•	Update wg0.conf with your private and public keys
•	Ensure AllowedIPs is set to 0.0.0.0/0 to route all traffic

5️⃣ Build Docker Container

docker-compose build

6️⃣ Run Container

docker-compose up -d

7️⃣ Final Step : Connect Client Device

sudo wg-quick up wg0

🌁 The Project Journey Documentation Gallery

Screenshot 2025-10-29 at 8 20 52 pm

📚 Learning Outcomes

•	Practical SSH key generation & management
•	Hands-on Docker Compose orchestration
•	Cloud networking & VPN routing fundamentals
•	CLI-driven debugging & container management
•	Real-world GitHub workflow with security best practices

🤗 Feel free to connect with me on LinkedIn to collaborate or share feedback.

My Linkedin => https://www.linkedin.com/in/mohammed-zuoriki-856133250/
Portfolio Sites => https://code-tech77.github.io/new-portfolio/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published