-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPROCESS
More file actions
58 lines (41 loc) · 1.93 KB
/
PROCESS
File metadata and controls
58 lines (41 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 🌐 WireGuard VPN + AWS Homelab Access
## 📌 Objective
Establish a secure VPN tunnel using WireGuard on an AWS VPS, enabling remote access to a personal homelab from any location worldwide.
---
## 🛠️ Deployment Steps
### 1. 🧱 AWS VPS Setup
- Provisioned Ubuntu-based EC2 instance
- Opened `51820/UDP` in AWS Security Groups for WireGuard
- Enabled IP forwarding: `net.ipv4.ip_forward=1` in `/etc/sysctl.conf`
### 2. 🔐 WireGuard Installation & Configuration
- Installed WireGuard on:
- AWS VPS
- Windows desktop and laptop
- Generated public/private key pairs
- Created `wg0.conf` files for server and clients
- Configured internal VPN IPs
- Enabled persistent keepalive (`PersistentKeepalive = 25`)
### 3. 🔄 IP Routing & NAT
- Applied `iptables` NAT rules for traffic masquerading
- Ensured connectivity from VPN client to homelab subnets
---
## 🧪 Verification
- Tested handshake using `wg` command and `ping`
- Successfully initiated RDP sessions to homelab hosts
- Verified access to Domain Controller, file servers, and services
---
## ⚠️ Challenges & Fixes
| Issue | Description | Resolution |
|------|-------------|------------|
| 🖥️ RDP Access | Initial failures due to network binding issues | Aligned subnet ranges & enabled RDP on target devices |
| 🔥 Firewall Conflicts | RDP blocked by AWS SG or local firewall | Configured inbound `51820/UDP`, allowed ICMP/RDP in WireGuard and OS |
| 🧭 DNS Resolution | Couldn’t access machines by hostname | Added static `hosts` mappings and enabled local DNS forwarding |
---
## 🔍 Key Learnings
- Solidified VPN fundamentals with WireGuard and NAT
- Gained experience with AWS security, routing, and subnet controls
- Learned to troubleshoot Windows firewall and RDP access remotely
- Explored scalable homelab architecture for future services
---
## 📘 Next Steps
- Simulate Active Directory GPO deployment and auditing tools