Gethec / NZBGet-VPN

Linuxserver's excellent NZBGet container with added OpenVPN support
0 stars 0 forks source link

NZBGet Icon NZBGet-VPN

Disclaimer

As with anything else, exposing your system to the Internet incurs risks! This container does its best to be as secure as possible, but makes no guarantees to being completely impenetrable. Use at your own risk, and feel free to suggest changes that can further increase security.

About

NZBGet-VPN is Linuxserver's excellent NZBGet container with OpenVPN support added in. The goal for this is to allow users to channel NZBGet's traffic through a secure and private VPN connection.

Since this is basically their container, I strongly encourage anyone who wants to use it to look at their documentation for the configuration of NZBGet itself. This document will only discuss the configuration of the OpenVPN element.

Features

Setup

  1. Place the VPN configuration file in the host folder being mapped to the container's /config folder. Make sure its name matches the one expected by the container (vpn.conf by default).
  2. The additional capability --cap-add=NET_ADMIN is required by IPTables to work. Simply add this to the run command.

A route will also probably need to be added to your OpenVPN config file to allow access to NZBGet's control interface. Simply adding route <LAN IP> <Netmask> <Docker Network Gateway IP> should resolve the connectivity issue.

Configuration

The container comes supplied with predefined variables. If you wish to change them, please see the table below for instructions.

Container variables

Variable Default Required Example
OVPNPORT 1194 If your OpenVPN server uses a non-default port --env OVPNPORT=1198
OVPNCONF vpn.conf No --env OPVNCONF=config.conf

Volumes

No additional volumes have been added.

Ports

No additional ports have been added.

Changelog