User Tools

Site Tools


services:vpn_tunnel

Secure VPN Tunnel & Kill-Switch Routing

Because public torrent swarms expose your public IP address to all peers, the Acquisition Server must push all outbound torrent traffic through an encrypted tunnel. This deployment leverages the native NordVPN CLI engine and its proprietary WireGuard implementation (NordLynx) for maximum throughput with minimal CPU overhead.

1. Daemon Installation & Authentication

Access your Acquisition Server (VM-A) terminal and deploy the official repository package:

sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)

Authenticate your daemon. Because this is a headless server, you must generate a static token from your NordVPN account dashboard instead of using a web callback.

nordvpn login --token <YOUR_GENERATED_TOKEN>

2. Tunnel Technology & Optimization

Enforce the NordLynx (WireGuard) technology. Legacy OpenVPN protocols introduce unnecessary latency and cryptographic overhead that will bottleneck high-speed fiber connections.

nordvpn set technology nordlynx

3. Management Plane Whitelisting

CRITICAL: Before activating the kill-switch or connecting the tunnel, you must explicitly whitelist your internal subnets. Failure to do so will instantly sever your SSH connection when the VPN routing table takes over the host's network stack.

# Whitelist the Trusted Management network (VLAN 10)
nordvpn whitelist add subnet 192.168.10.0/24
 
# Whitelist the Hardened DMZ network (VLAN 20)
nordvpn whitelist add subnet 10.0.20.0/24

4. Kill-Switch Activation & Connection

Activate the system-wide kill-switch. This modifies the host's `iptables` to strictly drop any outbound traffic attempting to use the default gateway if the VPN daemon crashes or loses its handshake with the remote server.

nordvpn set killswitch on
nordvpn connect

5. Verification

Validate your tunnel state and ensure the new `nordlynx` interface has been provisioned by the kernel.

nordvpn status
ip a show nordlynx

Note the assigned IP address on the `nordlynx` interface. You will need to explicitly bind qBittorrent to this interface in the next step.

Next Step: Deploy the torrent daemon and bind it to this tunnel in Headless Download Engine.

services/vpn_tunnel.txt ยท Last modified: by privacyl0st