Commit Graph

56 Commits

Author SHA1 Message Date
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
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 d2c822eb15 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