36 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
Salim Gasmi
aa2dc9e1b0
Added random server selection 2018-02-24 00:23:25 +01:00
Kristian Haugene
4b02cd6ca2 Fix proxy in combination with ufw, open access to proxy, add openvpn arguments to transmission script 2018-02-22 22:35:46 +01:00
Kristian Haugene
b3b97e4237 Merge branch 'master' of https://github.com/jandrews377/docker-transmission-openvpn into feature/proxy 2018-02-22 18:33:41 +01: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
jandrews377
9bccc66beb
Merge branch 'dev' into master 2018-01-02 08:46:33 +13:00
Ken Sanislo
0af676b481
Allow a pre-existing /config/openvpn-credentials.txt file.
Instead of bailing when the OpenVPN user and password aren't defined in the environment, first check and see if we already have a /config/openvpn-credentials.txt file from a persistent volume.
2017-12-31 19:06:18 -08:00
Jeremy Andrews
87c548d767 Pulled in remote changes and committed 2018-01-01 13:08:51 +13:00
Jeremy Andrews
0ba1bc6af7 Abstracted the transmission up and down events to seperate scripts 2018-01-01 13:04:15 +13:00
Kristian Haugene
2fd49cabb2 not necessary 2017-11-18 16:37:49 +01:00
jandrews377
0877052a13 Merge branch 'master' into master 2017-06-23 10:00:11 +12:00
Jeremy Andrews
af699006c7 Tidied up the tinyproxy integration and added env vars and documentation 2017-06-17 15:09:17 +12:00
Jeremy Andrews
bf1a7c8195 Integrated tinyproxy to allow private trackers to see us browsing from the same ip address 2017-06-09 13:20:40 +12:00
Kristian Haugene
7023d50501 Merge pull request #231 from ullbergm/master
Added firewall support
2017-05-05 21:07:25 +02:00
Magnus Ullberg
5df12b5b17 Added firewall support 2017-04-06 13:14:19 -04:00
Kurs Developer
0ba2a55cbb Delay --up script execution until after TCP/UDP connection establishment with peer. Also add error handling with logging when PIA port response is empty, issue #220 2017-04-02 21:31:17 +02:00
Lukas Loesche
7386e0a4de
Remove debug code introduced in d2c822eb158adff2234a1f81cac0ee1b1dba6961 2016-05-30 19:55:15 +02:00
Lukas Loesche
bb7d73ce94
Support for local network route 2016-05-30 18:40:37 +02:00
Kristian Haugene
1be2b9fa43 moving transmission control scripts out of configs and into openvpn start.sh, testing with PIA. Also updating PIA config list. 2016-04-09 19:02:14 +02:00
Steve Sloan
4516f87cfb Added OPENVPN_OPTS. 2016-03-05 16:15:57 -08:00
Kristian Haugene
f532ab5bd5 removed trailing slash in config path 2015-10-11 19:14:31 +02:00
Kristian Haugene
eb9149a624 Merge pull request #34 from jaysonsantos/master
Add NordVPN as provider
2015-10-09 14:13:40 +02:00
Jayson Reis
d2c822eb15 Add NordVPN as provider 2015-10-07 18:45:59 +02:00
Kristian Haugene
3c56a7ce08 removed resolv override env option. readme fixup 2015-09-10 22:37:03 +02:00
Kristian Haugene
03454101c7 added torguard as provider, adjusted config files and added default.ovpn symlink 2015-09-05 16:13:51 +02:00
Kristian Haugene
0dc948ca80 Adding FrootVPN as provider 2015-08-31 19:20:37 +02:00
Kristian Haugene
8d8a2c3c8c set vpn provider as required param 2015-08-18 22:23:04 +02:00
Taran Romana
e631f6fb55 Added TigerVPN as a new Provider
added Tiger vpn as the new OPENVPN provider
2015-08-18 04:04:29 -04:00
Kristian Haugene
ac96bc56bf stop warning in OpenVPN about group permissions 2015-08-15 16:58:21 +02:00
Kristian Haugene
0949d82219 moved scripts and templates out of transmission daemon home folder. this allows mounting of /etc/transmission-daemon to keep state, ref issue #22 2015-08-09 21:02:05 +02:00
Kristian Haugene
adab8884f4 update comment 2015-08-08 01:22:25 +02:00
Kristian Haugene
fd496f864d renamed variable plus updates for README 2015-08-08 01:10:20 +02:00
Kristian Haugene
91ccd7e3dd modified startup scripts to support more vpn providers 2015-08-07 23:07:55 +02:00
Kristian Haugene
2aa1796e08 all openvpn script and config in openvpn folder 2015-05-24 22:07:30 +02:00