56 Commits

Author SHA1 Message Date
pitchum
94bbcdb2db [fix] Create a dedicated system user with proper sudo permissions.
Ref. #41.
2018-12-02 11:22:19 +01:00
Gabriel Corona
d8a5cc54f6 CSRF protection (#44) 2018-11-25 21:25:27 +01:00
ljf (zamentur)
84a4e1a319 [fix] Sync the date with http if ntp can't (#37)
* [fix] Sync the date with http if ntp can't
2018-10-02 23:31:46 +02:00
agentcobra
8b3a04fb90 emergency fix
with 
- 5654b6d0b266b14a5432bcd2f3e8428ef0f53ac9
- 081447008c7854ac3a1ae84e4e33eb112572b783
- a642a010291a010ee6d88ee6473fc34d1654d5a2
2018-09-10 21:50:47 +02:00
Julien Vaubourg
355b24ea0c Add time syncing before launching openvpn, to avoid issues due to 'certificate not yet valid' 2017-09-06 01:54:35 +02:00
Julien Vaubourg
33aafd1196 Set dns in resolv.dnsmasq.conf if available and restore the original file when the service is stopped 2017-08-30 14:28:45 +02:00
Julien Vaubourg
df431e8f78
Improve vpn client checker 2016-08-15 13:22:39 +02:00
Julien Vaubourg
a999bcf80b
Ok guys, all of this is very crappy, but u know, we do the best 2016-08-14 22:57:48 +02:00
Julien Vaubourg
d5f0b913af
You disappoint me, mr systemd 2016-08-14 22:30:41 +02:00
Julien Vaubourg
b53b62a7a3
Remove require condition 2016-08-14 21:32:12 +02:00
Julien Vaubourg
453fababef
Add vpnclient checker timer and upgrade backups, to enable Bram to sleep better 2016-08-14 21:05:16 +02:00
Julien Vaubourg
2fd86faf81
Open firewall in vpnclient_out for each address defined for the vpn server domain 2016-06-14 23:31:52 +02:00
Julien Vaubourg
5564320248
Use --data-urlencode for avoiding errors with % and so on 2016-06-14 21:11:14 +02:00
Julien Vaubourg
c08286273b Add xlock waiting to iptables commands 2016-05-07 23:28:34 +02:00
Julien Vaubourg
832571f8f0 * Remove default value vpn.ldn-fai.net
* Update loadcube.sh help
* Allow incoming TCP/443 connections on the wired_interface
2015-10-08 20:19:35 +02:00
Julien Vaubourg
c8067dfc82 Add command-line cube file loader 2015-09-29 21:38:39 +02:00
Julien Vaubourg
abcddf3634 Replace Moulinette error by warning 2015-09-29 18:01:52 +02:00
Julien Vaubourg
4a10cecb9a Merge 2015-09-29 15:01:54 +02:00
Julien Vaubourg
3f0bb7ed56 Update OpenVPN config and add openvpn_rm option 2015-09-29 14:11:00 +02:00
Julien Vaubourg
d1d4ac7358 Fixes 21 2015-09-28 17:25:43 +02:00
Julien Vaubourg
e001f16c2d Fix #22 2015-09-28 16:53:22 +02:00
Julien Vaubourg
9bc83f4f6a Openvpn restarts on failure thanks to systemd 2015-09-28 15:28:44 +02:00
Julien Vaubourg
7b05614b3c Add firewalling 2015-09-27 16:03:01 +02:00
Julien VAUBOURG
8cf1917cbc Replace 'yunohost app setting' by a good old grep for more speed (close #11) 2015-07-24 20:56:40 +02:00
Sebastien Badia
0b1ecb41e1 doc: Fix Contribute link (update namespace) 2015-07-22 23:52:09 +02:00
Julien VAUBOURG
6ffe098dcc Ready for Jessie (+ some improvements) 2015-05-25 02:23:45 +02:00
Sebastien Badia
bf7f9aca56 conf: Remove un-needed headers 2015-05-14 16:38:02 -07:00
Sebastien Badia
52254fad0e systemd: migrate the SySv init script to a simple bash script 2015-05-13 01:29:43 +02:00
Sebastien Badia
810ec32947 systemd: Add a service unit for ynh-vpnclient 2015-05-13 01:25:38 +02:00
Sebastien Badia
67328ed1a7 systemd: Convert services (SySv init) to systemctl (systemd) commands 2015-05-13 01:25:10 +02:00
Julien VAUBOURG
8d7b5df07d Change required-start 2015-05-02 20:29:45 +02:00
Émile Morel
d30c9fed2d change required to should for init dependency with hotspot 2015-05-02 20:23:14 +02:00
Émile Morel
3a3578a920 typo in init script 2015-05-02 20:03:51 +02:00
Julien VAUBOURG
2ce6931d51 Add the SCRIPT_FILENAME variable in the vhost 2015-05-01 23:20:22 +02:00
Émile Morel
3b02b5e9c7 change Require-start in init script 2015-04-29 18:30:18 +02:00
Julien VAUBOURG
11fe357edb Remove php.ini modification 2015-04-09 21:47:24 +02:00
Julien VAUBOURG
c1a4265a2c Add enable/disable feature 2015-03-18 21:34:26 +01:00
Julien VAUBOURG
abc749dd4f Restart dnsmasq after the VPN setup 2015-01-16 23:36:54 +01:00
Julien VAUBOURG
6fb227a250 Fix an nginx conf typo 2014-12-28 23:28:09 +01:00
Julien VAUBOURG
2b1c541caa Add license headers 2014-12-26 20:18:24 +01:00
Julien VAUBOURG
3aae0029cb Add advanced configuration (raw openvpn conf edition) 2014-11-20 20:02:43 +01:00
Julien VAUBOURG
c856d861cd Add service status on the web admin 2014-11-17 23:43:58 +01:00
Julien VAUBOURG
78aeec1226 Problem with services order fixed 2014-11-16 23:30:40 +01:00
Julien VAUBOURG
9ee92147e4 Add sipcalc for ipv6 checks 2014-11-14 20:34:07 +01:00
Julien VAUBOURG
5c742f8516 Add tun0 detection in the service 2014-11-14 20:05:51 +01:00
Julien VAUBOURG
dee4de7dce Fix service problem with only credentials 2014-11-14 19:41:37 +01:00
Julien VAUBOURG
aac96974c6 * Add input checks
* Add connections without certificate
* Fix bug with credentials update
2014-11-14 00:12:43 +01:00
Julien VAUBOURG
743553bdc7 Add credentials option and switch delegated prefix to optional 2014-11-10 18:35:31 +01:00
Julien VAUBOURG
c92b131f23 Some fix 2014-11-09 22:48:31 +01:00
Julien VAUBOURG
b9db02821b First beta, without arguments checking (install and web admin) 2014-11-09 18:33:57 +01:00