Commit graph

92 commits

Author SHA1 Message Date
Wyatt Gill
51fa5f2e04 Re-add support for iptables
Add package for `useradd`
2022-06-30 09:00:10 -05:00
Wyatt Gill
650d55fe76 Add IP address getter updates to new wrapper 2022-06-15 08:08:06 -05:00
Wyatt Gill
6a1ad61a79 Merge branch 'jakopako/master' 2022-06-15 08:06:46 -05:00
Wyatt Gill
436e745c13 Fix spacing in generated nftables.conf 2022-06-15 07:59:12 -05:00
jakopako
0dec9be496 improved get_addr func 2022-06-15 14:04:50 +02:00
Wyatt Gill
ee14898805 Overhaul 2022-06-14 20:08:28 -05:00
jakopako
a457130638 fixed get_addr in case there are multiple ips 2022-06-14 17:39:35 +02:00
Wyatt Gill
ea0b4dd271
Merge pull request #63 from dokime7/patch-1
Fix env var
2022-06-05 08:21:37 -05:00
Dokime
574fec5212
Fix env var 2022-05-27 15:03:42 +00:00
Wyatt Gill
4cbfa8fb55
Delete sweep.yml 2022-04-09 17:14:37 -05:00
Wyatt Gill
283fe3305f
Merge pull request #59 from tilperion2/master
Fix problem with CRLF(Windows) openVpn config files.
2022-04-09 17:14:04 -05:00
Wyatt Gill
015ebab5ca
Merge pull request #58 from rsgilbert/master
documented on how to perform VPN authentication
2022-04-09 17:13:28 -05:00
Wyatt Gill
d1806f8aad
Merge pull request #57 from DavideWalder/keep-dns-unchanged
Added KEEP_DNS_UNCHANGED option to Helm chart
2022-04-09 17:13:15 -05:00
Wyatt Gill
ac66032038
Merge pull request #56 from azerum/feat-keep-dns-unchanged
Use on/off values for KEEP_DNS_UNCHANGED variable, update README
2022-04-09 17:13:05 -05:00
Merenkov, Andrii
de63b93ddb Fix problem with CRLF(Windows) openVpn config files. Convert line ending to LF(linux) format 2022-04-09 20:23:46 +02:00
ssg
6150534f86 documented on how to perform VPN authentication 2022-03-29 16:21:52 +03:00
Davide Walder
c3ca6fbaa5 Added KEEP_DNS_UNCHANGED option to Helm chart 2022-03-28 14:34:44 +02:00
azerum
fa2045ff68 Use on/off values for KEEP_DNS_UNCHANGED variable, update README
Use on/off intead of yes/no for consistency
2022-03-27 17:58:00 +03:00
Wyatt Gill
de244a77f8
Merge pull request #54 from azerum/feat-keep-dns-unchanged
Add KEEP_DNS_UNCHANGED environment variable that allows to keep /etc/resolv.conf unchanged
2022-03-26 21:38:49 -05:00
azerum
49fc0d7dfd Add KEEP_DNS_UNCHANGED environment variable
When KEEP_DNS_UNCHANGED is set to 'yes', running openvpn
won't modify DNS settings of the container. By default
containers use internal Docker DNS server, which allows
to resolve special names, such as 'host.docker.internal'
pointing to the host IP. If you need to use such domain names,
you need to persist the original DNS settings

(Usually DNS settings are modified by /etc/openvpn/up.sh script
which is runned once openvpn starts, as 'up <command>' option
is added to the vpn config file.
When KEEP_DNS_UNCHANGED is 'yes', 'up <command>' option is
simply not added to the config)
2022-03-16 21:19:57 +02:00
Wyatt Gill
6b7edce24e Add v2.1.0 changes 2022-03-06 18:34:22 -06:00
Wyatt Gill
62bf2463c6
Merge pull request #45 from JBPhoenix/patch-iptables-tcp-client
Basic mapping so that iptables can still create valid tcp rules
2022-03-06 18:24:32 -06:00
Wyatt Gill
a68336d184
Merge pull request #52 from bitshape/fix-up-down
Make sure there are always up/down commands in OpenVPN configuration file
2022-03-06 18:23:48 -06:00
Wyatt Gill
cb8302f95b
Merge pull request #51 from bitshape/file-pattern
Allow to specify VPN_CONFIG_PATTERN env variable to pick random .conf file
2022-03-06 18:22:39 -06:00
Anton Dubyna
88ff3c1f3f Fix spacing issue 2022-03-06 13:17:12 -08:00
Anton Dubyna
f45886c0b4 Check if .conf exists in all cases 2022-03-06 12:26:52 -08:00
Anton Dubyna
558e52558b Allow to specify VPN_CONFIG_PATTERN env variable to pick random .conf file 2022-03-06 12:17:15 -08:00
bitshape
51a0d4705a Make sure there are always up/down commands in OpenVPN configuration file 2022-03-05 13:48:51 -08:00
Josh Brennan
b9e57a87e8 Openvpn configs specify protocol as either udp, tcp-client or tcp-server.
Added a basic mapping so that iptables can still create valid tcp rules.
tcp-server shouldn't be specified in a client's configuration and won't
need handling.
2022-01-10 20:05:07 +00:00
Wyatt Gill
b11a502a1c
Update CHANGELOG.md 2022-01-02 22:28:05 -06:00
Wyatt Gill
6a83e31c95 Add changelog 2022-01-02 17:20:57 -06:00
Wyatt Gill
f9eb4afdb1 Clean up docs and normalize variable names (closes #31) 2022-01-02 16:15:37 -06:00
Wyatt Gill
2461375dab Fix remotes parsing 2022-01-02 15:17:01 -06:00
Wyatt Gill
ee54af88fe
Merge pull request #38 from DavideWalder/helm
Add Helm chart
2021-12-31 22:21:05 -06:00
Wyatt Gill
3dfa177d81
Update sweep.yml 2021-12-31 16:21:35 -06:00
Wyatt Gill
525c0ec841 Update workflows 2021-12-31 16:16:53 -06:00
Wyatt Gill
b1d897ed32 Add resolved IPs to /etc/hosts (closes #30) 2021-12-31 16:16:26 -06:00
Wyatt Gill
ca0e1c0a91 Switch to bash and use array for ovpn args 2021-12-31 16:13:28 -06:00
Wyatt Gill
bffa3688bf Merge branch 'master' of github.com:wfg/docker-openvpn-client 2021-12-30 22:28:30 -06:00
Wyatt Gill
dc5d4563dc Update to Alpine 3.15 2021-12-30 22:26:27 -06:00
Wyatt Gill
6bf21cd18b Set up multi-arch (#40) 2021-12-30 22:17:59 -06:00
Davide Walder
368b17f687 Removed whitespace 2021-11-23 08:53:32 +01:00
Davide Walder
9352d4c993 Added Helm chart 2021-11-22 19:54:17 +01:00
Wyatt Gill
ffddfb0459
Merge pull request #37 from DavideWalder/listen-on
Allow external IP addresses for incoming requests
2021-11-22 06:32:45 -06:00
Davide Walder
8eaa66c338 Allow external IP addresses 2021-11-20 17:03:08 +01:00
Wyatt Gill
6b35bb71a2 Update publishing workflow 2021-11-08 20:33:12 -06:00
Wyatt Gill
5f62e9de21
Merge pull request #36 from peterisr/fix-reading-port-and-proto-from-conf
Fix iptables rules in case default OpenVPN port or proto is used.
2021-10-28 19:30:22 -05:00
Peteris Rudzusiks
8f5d3cd53d Fix iptables rules in case default OpenVPN port or proto is used.
Fixes: #35
2021-10-28 19:00:42 +02:00
Wyatt Gill
f2a5eef2b3
Update publish.yml 2021-07-17 08:06:37 -05:00
Wyatt Gill
a6f812cf82
Merge pull request #25 from dngray/pr-expose_config_filename
Add VPN_CONFIG_FILE option
2021-07-17 07:10:27 -05:00