Menu

Network and security journey in 2026 : Admin interfaces restricted by IP πŸ” and VPN Tunneling 🌐
πŸ“°

Network and security journey in 2026 : Admin interfaces restricted by IP πŸ” and VPN Tunneling 🌐

DEV Community: dockerΒ·Mino RandriamanivoΒ·6 days ago
#HXTqmvkZ
#devtodocker#devto#dev#traefik#docker
Long article (999 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Following the attack explained here : https://dev.to/mino_rand/maintenance-security-journey-in-2026-post-mortem-measures-in-ghost-compromised-websites-43bp

Some administration routes of the homelab were configured to use Traefik's ipAllowList middleware.βœ…

But devices using mobile box internet in Madagascar doesn't have fixed IP adresses, so we needed to connect through a VPN and access these routes using the VPS public IP.

I got 403 Forbidden , even though the VPS public IP was already allowed.

Why?

When WireGuard accesses an external website, its traffic can leave through the VPS public IP.

However, when it accesses a website hosted on that same VPS , Docker can route the request back to Traefik through its bridge network.

The path was:

VPN client | v wg-easy container | | Destination: VPS_PUBLIC_IP:443 v Docker NAT | | Source becomes Docker gateway IP v Traefik | v 403 Forbidden

Enter fullscreen mode

Exit fullscreen mode

The VPN uses the VPS public IP as a destination, but Traefik receives the…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.