Sheltering Inside the Encrypted Tunnel: Layers of Protection After the Linux Gateway

Sheltering Inside the Encrypted Tunnel: Layers of Protection After the Linux Gateway

AdminPokdartik ยท 20 Jul 2026 ยท 532 times

In a previous article, we discussed how Pokdartik built a Linux Gateway to reduce โ€œsnoopingโ€ on networks using Starlink. The goal is simple: minimize information about the internal network that can be observed from the outside.

However, we didn't stop there.

The next step is to add one more layer of protection, namely building an encrypted tunnel.

With this approach, data traffic not only passes through the Linux Gateway, but is also encapsulated (encrypted) before exiting to the internet. As a result, communications become more secure, especially when passing through networks that are not completely under our control.

Why Do You Still Need an Encrypted Tunnel?

The Linux gateway functions to manage traffic, implement firewalls, perform NAT, and limit the information exposed about the internal network.

However, when the data goes out to the internet, it will still pass through various devices and networks belonging to service providers and other operators.

Encrypted tunnels add a layer of security by creating an encrypted communication path between the gateway and the destination server. All data that passes through this route is wrapped using a cryptographic mechanism so that its contents cannot be read by parties who only see network traffic on the way.

Concepts We Implement

Our network architecture looks like this.

Internet
     โ”‚
 Starlink
     โ”‚
Linux Gateways
     โ”‚
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
   Encrypted Tunnel
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
     โ”‚
Destination Server
     โ”‚
Internet

From the internal network side, all devices still use the Linux Gateway as the exit door. This gateway builds an encrypted tunnel to the destination server.

In this way, all devices behind the gateway can enjoy a more secure connection without needing to configure encryption mechanisms on each device.

What are the Benefits?

This approach provides several important benefits.

Secure Communications

The data is encrypted before leaving the gateway so that the contents of the communication cannot be easily read by unauthorized parties while in the transmission path.

Easier Administration

All settings are done on the Linux Gateway. Devices on the network simply use the gateway as usual.

Centralized Policy

Administrators can determine certain services or networks that must pass through the encrypted tunnel, while other services can use normal internet channels as needed.

Flexible

Encrypted tunnels can use various technologies such as IPsec, WireGuard, OpenVPN, or other mechanisms according to infrastructure needs.

Why Do We Call It "Shelter"?

We use the term "sheltering in an encrypted tunnel" as an analogy.

Imagine you are sending a valuable letter. Rather than being sent in a transparent envelope, the letter was placed in a locked metal box. People can still see that a box is being delivered, but they can't know what's inside.

Likewise encrypted tunnels. The communication path still appears to exist, but the contents of the communication that passes through it are protected by an encryption process.

Layered Security

At Pokdartik, we apply the principle of defense in depth or layered defense.

The first layer is the Linux Gateway, which reduces the exposure of information about the internal network and controls all traffic.

The second layer is the encrypted tunnel, which keeps data confidential as it traverses the internet.

The two layers complement each other. Linux gateways help hide the network topology, while encrypted tunnels help keep the contents of communications confidential.

Building a secure network is not just about choosing the best devices, but also about designing the right architecture.

By combining Linux Gateway and encrypted tunnel, Pokdartik seeks to build a network that is safer, more controlled, and better prepared to face modern cybersecurity challenges.

Because for us, security is not just about blocking attacks, but also ensuring that information and communications are protected along the journey to its destination.

Commentary (0)

Leave a Comment