Commit Graph

69 Commits

Author SHA1 Message Date
Kristian Haugene
cd9a5694cf Print revision to logs on startup to make debugging easier 2020-11-04 00:59:33 +01:00
Kristian Haugene
f27d47c121 Add help message when choosing an invalid config 2020-11-04 00:10:23 +01:00
Kristian Haugene
91b036b398 Use xargs to run modification script, plus some syntax updates #1334 2020-10-28 22:02:14 +01:00
Kristian Haugene
14ec8d4fb8 Add a method to hard override dns servers 2020-10-24 00:36:30 +02:00
Kristian Haugene
803fb1970c Add configuration script for PIA, downloading and modifying configs on startup 2020-10-11 21:46:01 +02:00
Kristian Haugene
5a511d6d9e Restructure start script, extract provider specific scripts and add support for fetching configs from URL 2020-08-23 19:45:05 +02:00
Kristian Haugene
12e6378bfe Replace dockerize, make settings persistent, let settings be overridden by env vars 2020-08-09 18:02:51 +02:00
colinwebber
1ee289cc3b
Removed space within parsed VPNBOOK password.
VPNBOOK password is provided as a picture/image. The http://api.ocr.space/parse/image service erroneously sees a space between certain character combinations. Since passwords generally do not contain spaces, this extra awk expression removes the space.
2020-05-12 08:47:32 +02:00
Gabriele Pongelli
a460c31eb4 FreeVPN password is obtained into the update script, retrieved here and removed temporary file 2020-04-01 22:24:24 +02:00
Gabriele Pongelli
c08e417ba8 Removed crontab management, useless with ping-exit option 2020-03-30 21:23:48 +02:00
Gabriele Pongelli
cae111b2fa Check crontab to avoid adding the job multiple times 2020-03-30 20:45:11 +02:00
Gabriele Pongelli
76192c4a2a Launch updateFreeVPN start.sh and add it to daily crontab 2020-03-30 14:43:20 +02:00
Jonathan Sloan
a75f81987b possible fix for #1020 -- syntax error fix 2020-03-29 14:47:09 +02:00
Stefan Fuchs
c0dd2a3bd6 Make ip commands explicit
On buster, ip r l m doesn't work, but route list match does
2020-01-26 11:18:39 +11:00
Andrea Bonini
ceeae6d0e4 added vpnbook password grabber to start.sh 2019-10-11 19:05:34 +02:00
abonini
2d8005a043 added automatic password filling for freevpn provider 2019-04-25 13:17:03 +01:00
eskemojoe007
75780821ab Finalizing Dallas 2019-04-11 15:05:38 -04:00
eskemojoe007
687d81090e Update start.sh 2019-04-11 12:00:49 -04:00
eskemojoe007
d0b0461967 Add some comments 2019-04-11 11:55:42 -04:00
eskemojoe007
433f3cac85 Adding GP 2019-04-11 10:56:02 -04:00
eskemojoe007
abf30f7068 Quick check of settings 2019-04-11 10:47:02 -04:00
Tom Humphrey
43da3ea5f6 Fix for automatic setting of NORDVPN_PROTOCOL
NORDVPN_PROTOCOL wasn't being set correctly when an OPENVPN_CONFIG was provided. Now fixed.
2019-03-27 13:09:43 +00:00
Tom Humphrey
ca99395250 NordVPN On Demand
After resolving an issue with the default.ovpn symlink, it was bugging me that each time the container ran it would download all of the NordVPN configs. After a bit of research I found a url where I could download just one ovpn file. A bit of rework and now only downloads the applicable config based off of NordVPNs api. No more 4000+ configs.

User can configure this using either NORDVPN_COUNTRY to connect to the best server in that country or a specific config using the OPENVPN_CONFIG parameter. If neither are specified config will be selected based off of NordVPN api and if both are specified it will connect to OPENVPN_CONFIG server first using the api to decide on a backup 'default.ovpn' config in case it fails.

In my rewriting of this I also realised there was no need for the updateConfigs.sh script anymore, but to keep everything in keeping I replaced the contents of the updateConfigs.sh script with the NordVPN_selector one and removed the latter.
2019-03-26 17:02:11 +00:00
Kristian Haugene
6bdb5d88cc Case insentitive matching #632 2019-03-17 22:00:14 +01:00
Tom Humphrey
04b117c521 Update NordVPN.sh
Added NordVPN Variables to docker file

Update start.sh

Update NordVPN.sh

Update NordVPN configs on run

NordVPN was missing server files. Have updated to run the nordvpn updateConfigs.sh script on start

Update NordVPN_Server_Selector.sh

Update start.sh

Moved Selector script to NordVPN directory

Update NordVPN_Server_Selector.sh

Update NordVPN_Server_Selector.sh

Update updateConfigs.sh

Update updateConfigs.sh

Added auto-update of NordVPN

container will auto-update NordVPN files on start. This increases the start up time by a bit. But ensures that all configs are present for the auto-selector script

Create default.ovpn

Update default.ovpn
2019-03-09 21:48:47 +00:00
Tom Humphrey
34cee0c0c4 Added auto selector for NordVPN
Re-using parts of @Bubuntux script I've repurposed the selector of the config for NordVPN using their public api
2019-03-05 15:19:00 +00:00
wilmardo
614ea60b8c Create new CREATE_TUN_DEVICE variable 2019-02-26 21:00:52 +01:00
wilmardo
c23228bbfc Adds pre-start for openvpn 2019-02-04 21:52:27 +01:00
Kristian Haugene
c6f9ffab36 Removing line, not doing what it should #572 2018-08-10 11:32:26 +02:00
Kristian Haugene
0d916f9bba Fixing DNS issues #572 when UFW is enabled 2018-08-09 13:04:52 +02:00
Kristian Haugene
464ae88340
Merge pull request #559 from sillyfrog/master
Option to disable iptable REJECT target
2018-08-06 14:54:20 +02:00
Pynx Echaup
785b46b443
dragfly: Added tool to select best server for the country
Update start.sh as proposed by dragfly
2018-07-19 15:30:02 +02:00
Sillyfrog
cec73f96dd Option to disable iptable REJECT target
New UFW_DISABLE_IPTABLES_REJECT option that hacks ufw to allow the
prevention of the use of the REJECT iptables target, as this is not
available on some NAS platforms (such as the Synology).
2018-07-17 17:00:29 +10:00
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