Skip to content

Instantly share code, notes, and snippets.

View MurylloEx's full-sized avatar
💨
Studying

Muryllo Pimenta MurylloEx

💨
Studying
View GitHub Profile
@MurylloEx
MurylloEx / README.md
Last active May 17, 2026 02:11
Wireguard - [Public Bastion] <-- VPN Tunnel --> [NAT Server]

WireGuard Bastion Forwarding Setup

This setup uses an EC2 instance as a public bastion that forwards selected public ports to a private Ubuntu server behind a residential NAT.

The EC2 instance acts as the public entry point, while the Ubuntu server receives the real client traffic through a WireGuard tunnel.

Network Topology

Internet Client