Commit Graph
4 Commits
Author SHA1 Message Date
Dean Bailey 8d1b4e054d Fix for leading or trailing space in OPENVPN_CONFIG. 2018-03-07 22:32:08 -08:00
Dean Bailey 6649edeedf Fixed breakage caused by splitting on SPACE in OPENVPN_CONFIG
Changed to split on comma as many openvpn configs have space in the name.

Added a bit more validation that a provider is set.

Updated docs.
2018-03-04 23:58:13 -08:00
Dean Bailey 9f89da6522 Added UFW_ALLOW_GW_NET. Changes firewall rules from using GW to the GW network when set to true.
Extended LOCAL_NETWORK to support comma seperated list of /CIDR.

Minor firewall cleanups. Removed specified TCP in range allow. No point, we don't specify tcp/udp anywhere else.

Formatting changes (BASH 3+ style).

Cleaned removed external [ ] calls. Use builtin [[ ]].

Use ${VAR,,} to lowercase isntead of TR.
2018-03-04 23:39:38 -08:00
Dean Bailey 970c9c576f Added UFW_EXTRA_PORTS, Updated start script shell, Added python2.7
UFW_EXTRA_PORTS Allows for exposing of ports when binding to the image for the vpn functionality. Accepts comma seperated list.

Changed from /bin/sh to /bin/bash. If you got bash, why use busybox? Plus busybox doesn't allow for advanced string manipulations.

Added python2.7 and pysqlite2. torrentToMedia from the nzbToMedia package needs python2.7.
2018-01-24 22:41:28 -08:00