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.
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.
/config
folder. Make sure its name matches the one expected by the container (vpn.conf by default).--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.
The container comes supplied with predefined variables. If you wish to change them, please see the table below for instructions.
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 |
No additional volumes have been added.
No additional ports have been added.