Commit graph

83 commits

Author SHA1 Message Date
Bastiaan Nelissen
fc14664401 hacked a non-existing homedir. 2016-12-08 19:55:58 +01:00
Bastiaan Nelissen
939cd55694 fixed easyrsa install
wget command does not work and throws an error. "/tmp/EasyRSA-3.0.1-pivpn1/: Is a directory"
This is because the the output of wget is a directory, not a file. -O expects a file.
BN also, mv throws an error: "mv: cannot move `/tmp/EasyRSA-3.0.1-pivpn1' to `/etc/openvpn/easy-rsa': No such file or directory"
We can do a mkdir & wget & tar and move to do it in lesser steps, although less readable there are is no need for /tmp
2016-12-08 12:52:55 +01:00
Bastiaan Nelissen
b632e69cdf fixed wget command
wget was targeted to a directory instead of a file
2016-12-08 12:26:47 +01:00
Kaladin Light
6c456d3b90 Minor fixes for couple issues 2016-12-07 13:03:32 -05:00
Kaladin Light
26152889f6 Testing a failure 2016-12-07 11:55:36 -05:00
Kaladin Light
082200ba7c More adjustments/fixes for easy-rsa3 2016-12-05 15:54:54 -05:00
Kaladin Light
a503fa7f93 Ensure openvpn doesn't install easy-rsa now 2016-12-05 15:35:47 -05:00
Kaladin Light
ff1ade9e9f Bug fixes for easyrsa3 modifications
Cleanup chooseUser function and fix issue with creating a user
password not being set correctly.
2016-12-05 14:55:30 -05:00
Kaladin Light
27e0fa8bb5 Ensure we don't get prompted for confirmation on init-pki 2016-12-05 12:13:09 -05:00
Kaladin Light
0b96cae1a3 Phase 1 (of 3?): Server modifications for easy-rsa3 2016-12-04 00:20:37 -05:00
Kaladin Light
f61b26f669 Small adj 2016-11-22 23:47:09 -05:00
Kaladin Light
083de9336d Can't use nslookup if it isn't installed yet... 2016-11-22 23:18:24 -05:00
Kaladin Light
542bcda9a1 Don't assume user's DNS is their gateway. Use what they have. 2016-11-22 13:23:51 -05:00
Kaladin Light
1cada67979 Don't like the install log, get rid of for now 2016-11-19 16:26:40 -05:00
Kaladin Light
5e29fdf3fb Help debugging with install log 2016-11-19 15:52:13 -05:00
Kaladin Light
7f662ad13d Hopefully Fixes Issue #153 2016-11-18 17:22:36 -05:00
Kaladin Light
cf9f052445 Update to setStaticIPv4 function 2016-11-10 12:25:31 -05:00
Kaladin Light
d844f874a3 Update to getStaticIPv4Settings function 2016-11-10 12:18:17 -05:00
Kaladin Light
b2362ab591 Update to chooseInterface function 2016-11-10 11:13:31 -05:00
Kaladin Light
4516137dca Minor updates to some checks. 2016-11-10 10:51:19 -05:00
Kaladin Light
02bf7c0ad8 Fix apt-get switches to not generate unexpected output 2016-11-09 22:33:21 -05:00
Kaladin Light
6997a0b9a7 Fixes Issue #71:
- Uses network address instead of IP in the push route to avoid warnings
- If a second DNS is not entered, remove second occurence of the dhcp-option DNS
2016-11-09 15:02:40 -05:00
Kaladin Light
67722ca7f4 Once again pi-hole had a more robust stty setup so lets borrow that :) 2016-11-08 12:03:42 -05:00
Kaladin Light
7c64afdc92 Get rows/cols with stty instead of tput 2016-11-07 22:49:00 -05:00
redfast00
6d1f6f6f07
Fixes #142 2016-11-05 14:42:37 +01:00
redfast00
460c575dfc
Now prompts user to create new non-root user if no user is found 2016-10-27 15:45:02 +02:00
redfast00
1cdd5d1494 Cleanup (#111)
* Tab completion for nopass, no further completion after one argument

* Cleaned up install.sh
2016-10-25 20:11:32 +02:00
redfast00
d900efe49b Fix-110: iptables-save now actually saves the iptables 2016-10-23 11:29:46 +02:00
Shaun Grady
1a4e9cdb66 Explain DH param download in greater detail (#129)
* Explain DH param download in greater detail

- Change default from "no" to "yes," since it's perfectly safe more 99%
of users
- Be a bit more specific about what "a long time" means
- Provide a bit of information about the service
- Provide a link to read more about the server

* Revert to defaulting no to downloading DH params
2016-10-22 20:33:42 +02:00
Shaun Grady
b03cb8753f
Randomize DH params fetched from 2ton.com.au
Fetch random DH params from the last 128 generated by 2ton.com.au. This
will reduce the likelihood that multiple installs in short period of
time will share the same DH params.
2016-10-20 16:21:28 -07:00
Miguel Priede
7ac0a3aada Update install.sh for #124
Parenthesis fault...
2016-10-19 06:51:30 +02:00
redfast00
4681cf29fe Whoops, fixed now 2016-10-18 19:30:02 +02:00
0-kaladin
eba2d80bf3 Merge pull request #104 from redfast00/feature/download-dh
Added option to download DH parameters
2016-10-09 21:53:22 -04:00
redfast00
88e980534e
Added option to download DH parameters 2016-10-09 18:37:28 +02:00
redfast00
bee837790a
Fixes #100 2016-10-09 18:27:45 +02:00
Stephen KINGER
ac28a7c3e4 Set default ports as 1194 for UDP and 443 port for TCP 2016-10-09 13:40:19 +02:00
redfast00
cf5ba27a21
Added message about TCP 2016-10-09 12:30:13 +02:00
Stephen KINGER
e541fd39ac Update the unisntall script, OK. 2016-09-28 17:09:04 +02:00
Stephen KINGER
a7c9a35352 /feature/add_tcp_option
Adding a correct tcp option
2016-09-27 14:24:14 +02:00
Kaladin Light
8f09ee9afd Fixes for Debian support 2016-05-25 17:58:08 -04:00
Kaladin Light
3c0d0cb176 Ensure debian and ubuntu get openvpn from the openvpn repo so they don't get an old server version 2016-05-25 17:41:42 -04:00
Kaladin Light
0fbc99e0b7 Fixes for UFW 2016-05-15 23:36:40 -04:00
Kaladin Light
f0d92ab8df Fix raspbian os detection
when doesn't it have lsb-release!?
2016-05-15 21:43:32 -04:00
Kaladin Light
2aad7f3c59 fix minor issue on lsb_release 2016-05-15 17:02:03 -04:00
Kaladin Light
3916acf665 Support reverting UFW changes on uninstall 2016-05-15 16:57:42 -04:00
Kaladin Light
d096335d5f update lsb_release to use hash instead of which 2016-05-15 12:29:05 -04:00
Kaladin Light
5d9580fbdd Adding support for UFW if enabled over raw iptables 2016-05-14 22:42:39 -04:00
Kaladin Light
2f3540b898 Robustize OS Detection.
This is framework needed to support Ubuntu 16.04 which
is coming in a future commit.
2016-05-10 11:49:29 -04:00
Kaladin Light
0277054de1 Ubuntu uses openvpn repo to get newer version and...
clients get two more security parameters to harden connection further and...
hopefully fix use of testing branch and...
why is there no modern Road Rash game, that was the best.
2016-05-07 12:33:52 -04:00
Kaladin Light
dea112f50f Fixes #23, enhance 'pivpn add', minor bug fixes & other enhancements 2016-05-05 21:04:57 -04:00