Commit Graph

18 Commits

Author SHA1 Message Date
phesster
2322fd117d
simple adjustments to "openvpn/modify-openvpn-config.sh" and "transmission/start.sh" that can make the verbosity of logging user-adjustable (#2564)
* Bump docker/build-push-action from 3 to 4 (#2534)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Socks5 example doc (#2541)

* fixing some heading sizes

* adding socks5-proxy example

---------

Co-authored-by: Jonathan Fair <jonathaf@netapp.com>

* Docs: add capabilities for Podman to tips&tricks (#2546)

Co-authored-by: Tomas Vik <tvik@gitlab.com>

* Change CONFIG_MOD_VERBOSITY usage

This change causes ${CONFIG_MOD_VERBOSITY} to become a variable used directly in the .ovpn config file.  The default value remains '3'.

* Insert ${TRANSMISSION_LOGGING} into exec'd command

This change allows for executing 'transmission-daemon' with '--log-level' set.  Utilizing a case-statement and forced lowercase, only valid values are accepted.  Default is no logging.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com>
Co-authored-by: Jonathan Fair <jonathaf@netapp.com>
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
Co-authored-by: Tomas Vik <tvik@gitlab.com>
2023-03-28 22:02:35 +09:00
MustangGB
0a9d4b5c33
Execute a script on VPN connection failure (#2252)
* Update start.sh

* Update persistEnvironment.py

* Update modify-openvpn-config.sh

* Update tunnelUp.sh

* Update modify-openvpn-config.sh

* Update modify-openvpn-config.sh

* Update modify-openvpn-config.sh

* Update modify-openvpn-config.sh

* Create config-failure.sh

* Update config-failure.sh

* Update tunnelUp.sh

* Update modify-openvpn-config.sh
2022-05-18 12:03:29 +09:00
edgd1er
af3d905b3a
DEBUG: print all lines before execution (#2096)
* DEBUG: print all lines before execution

if var DEBUG is set to anything other than false, each bash script will be run with a set -x. This would ease debugging

* DEBUG: centralize commands in utils.sh
2021-12-05 08:25:22 +09:00
Kristian Haugene
b3074d5010 Add option to remap sigusr signal. And fix some comments in the scripts, was a bit copy-paste driven :) 2021-09-08 17:09:40 +02:00
Kristian Haugene
d580138e43 Add more config transformation options. Ref https://github.com/haugene/vpn-configs-contrib/issues/43 2021-09-08 16:54:26 +02:00
Kristian Haugene
8f0a92a2ff Modifying ca path should be in-place ofc 2021-09-05 18:25:32 +02:00
Kristian Haugene
3aa8daa0d3 Handle modifying relative and absolute ca paths 2021-09-05 01:14:41 +02:00
Kristian Haugene
c016e5d439 Another stab at the sed for ca certs 2021-09-04 20:25:34 +02:00
Patrick Kishino
1e107ef80f
ca replace corrected to include the ca cert
previousy it was stripping the cert and only replacing the directory
2021-08-25 08:43:55 +09:00
Patrick Kishino
60dd853c92
Fixed incorrect ca cert replacement
fixes #1916
2021-08-24 13:15:42 +09:00
Jake Melikov
e003c0639f
Automatically remove keepalive option if present. (#1827)
It doesn't work together with the ping options which we're adding in the following lines.
2021-05-10 05:52:37 +09:00
MustangGB
6d50563516
Update modify-openvpn-config.sh (#1809) 2021-04-20 12:24:58 +09:00
Kristian Haugene
e664036334 Initial setup for downloading configs from external repo 2021-03-14 02:07:42 +01:00
Kristian Haugene
c42e60cda0 Make config modifications more effective, only modify the config we're about to use #1496 2020-11-11 22:22:05 +01:00
Kristian Haugene
00d478bd5b Add script for fetching configs on start for IPVanish #1456 2020-11-04 03:27:27 +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
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