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
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
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
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
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
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
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
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
Davide Walder
8eaa66c338
Allow external IP addresses
2021-11-20 17:03:08 +01: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
Daniel Gray
cf48388de2
Add VPN_CONFIG_FILE option
2021-07-10 02:24:23 +09:30
Toàn
48fad8302e
feat: allow passing OpenVPN auth
2021-06-06 10:10:41 +07:00
wfg
0cb4c3fe91
Fix #21
2021-06-05 10:46:26 -05:00
wfg
78a092ef59
Fix proxies not waiting on tun0
2021-06-05 10:45:11 -05:00
Wyatt Gill
3d9b7f9024
Fix copy/paste artifact
2021-05-25 20:07:17 -05:00
wfg
74f08d221f
Add Docker secrets support
2021-05-25 08:24:12 -05:00
wfg
45babe106c
Fix #14 and add linting
2021-03-26 21:47:04 -05:00
wfg
2fb155ff46
Update image to use Dante instead of Shadowsocks
2021-02-14 21:07:16 -06:00
yacht7
b34c2c54aa
Update packages, tidy script
2020-09-15 08:23:31 -05:00
yacht7
f2108a7275
Continue work on the general reliability
2020-07-03 09:07:26 -05:00
yacht7
644849a2bd
Make several changes
...
- update to Alpine 3.12
- move Shadowsocks and Tinyproxy to wrapper scripts to simplify code
- add healthcheck to kill container if OpenVPN can't reconnect
2020-06-20 12:20:58 -05:00