1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

435 Commits

Author SHA1 Message Date
Christian Zeitnitz
d920f73943 Add client handling to installer 2021-03-07 18:48:53 +01:00
Christian Zeitnitz
8b0383dd20 Implement Client configuration
- add mobile date network devices and configuration
- add client configuration via udev
- add GUI under networking tab
- add scripts to handle mobile data devices
2021-03-07 18:36:48 +01:00
billz
7c1ef85bb8 Update wg-quick w/ systemd start/stop 2021-03-07 13:22:26 +00:00
billz
858edb065b Update sudoers wg-*.key 2021-03-04 23:07:04 +00:00
billz
82779b286e Merge remote-tracking branch 'upstream/master' 2021-03-04 11:36:36 +00:00
billz
6b484d383c Progress commit: wg-qr-code 2021-03-02 23:15:47 +00:00
billz
33ac6d26cf Fix for #803 by @mp035 2021-03-02 14:37:50 +00:00
billz
0d2f02e3fb Update sudoers wireguard/*.conf 2021-03-02 14:17:13 +00:00
billz
3ec81ba085 Get/set pub+priv keys, create wg0.conf 2021-02-24 18:07:19 +00:00
billz
1431d44b52 Added /bin/mv /tmp/wg-*.key 2021-02-24 08:48:56 +00:00
billz
369f303926 Add _prompt_install_wireguard 2021-02-23 23:21:38 +00:00
billz
9c2cd82562 Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard 2021-02-23 20:17:38 +00:00
billz
d6570cbc41 Update install loader 2021-02-22 16:08:24 +00:00
billz
e2a526ef81 Update release version 2021-02-10 17:13:34 +00:00
billz
72515b0734 Update release version 2021-02-10 16:23:56 +00:00
billz
7798e710c1 Install openvpn logging script 2021-02-10 11:28:33 +00:00
billz
04edc3a185 Implement openvpn logging 2021-02-09 21:57:15 +00:00
billz
56ca7ab281 Update w/ openvpn client cfg actions 2021-02-07 11:56:18 +00:00
billz
e3c00a8092 Update sponsor links 2021-02-03 09:18:44 +00:00
billz
8a4453b0f5 Migrate repo to organization 2021-02-03 09:07:15 +00:00
billz
23de56b8e7 Reassociate client iface in AP-STA, thx @mp035 2021-02-02 04:28:19 +00:00
billz
96ed5072d8 Update ambiguous msg, unlink & remove lighttpd conf 2021-01-31 09:41:55 +00:00
billz
7c14c2f5f0 Minor: fix typo 2021-01-31 06:23:54 +00:00
billz
9baa8de162 Resolve conflicts 2021-01-30 16:56:49 +00:00
Mark Pointing
6966bc7f3a Changed routing system to use the more common path approach instead of query strings. 2021-01-30 16:06:33 +00:00
billz
27b41a8518 Rename repo 2021-01-28 08:24:52 +00:00
Bill Zimmerman
15e0b59054
Merge pull request #704 from billz/feature/dhcp-eth0
Feature: dhcp for eth0
2020-12-26 11:52:23 +01:00
billz
d7f5ee36e8 Tidy install loader, usage notes readability + examples 2020-12-16 16:25:17 +00:00
Bill Zimmerman
f43083fec8
Merge branch 'master' into feature/dhcp-eth0 2020-12-15 23:01:23 +01:00
billz
c608d22b6f Utility functions + param handling 2020-12-15 15:04:55 +00:00
billz
0ff2daf2d4 Update uninstall dnsmasq 2020-12-15 07:40:21 +00:00
billz
0cd278f040 Create 090_raspap.conf w/ dnsmasq log-facility 2020-12-12 19:29:43 +00:00
Bill Zimmerman
16f4c47f00
Merge branch 'master' into feature/dhcp-eth0 2020-12-12 17:41:41 +01:00
billz
1f318f0137 Remove default_hostapd (deprecated) 2020-12-09 17:16:25 +00:00
billz
3b1c9b23c5 Update installer w/ -c advice.detachedHead=false 2020-12-07 09:55:01 +00:00
billz
6aaa1bd7a4 Set default install branch to latest release 2020-12-07 09:47:04 +00:00
billz
e8219c70ec Check if raspapd.service file exists 2020-12-06 09:11:43 +00:00
billz
b832954f05 Check if 090_wlan0.conf exists 2020-12-06 09:08:11 +00:00
billz
24e4bc8705 Apply defaults.json + set ownership 2020-12-05 22:21:39 +00:00
billz
a56a59b7e5 Default config tweaks 2020-12-05 21:49:32 +00:00
billz
3f4901495a Add stop services to uninstaller 2020-12-05 14:30:11 +00:00
billz
d35397f09e Remove hardcoded default values, implement defaults.json 2020-12-05 09:14:07 +00:00
billz
f32d7c8778 Update installer w/ 090_wlan0.conf 2020-12-03 20:26:17 +00:00
Bill Zimmerman
eb7c50be26
Log installer output, addresses #721 2020-12-02 22:43:36 +01:00
billz
73deab78cf Update uninstall: remove adblock (optional) 2020-11-20 22:06:51 +00:00
billz
b13f57283e Update raspap_dnsmasq uninstall 2020-11-20 08:41:42 +00:00
billz
b6b50288bb Deprecate 090_raspap.conf, default to 090_wlan0 2020-11-17 11:19:17 +00:00
billz
d440dd805c Update sudoers /etc/dnsmasq.d/ 2020-11-15 10:55:01 +00:00
billz
3e101e4c55 Add /bin/rm 090_eth0.conf to sudoers 2020-11-09 17:46:19 +00:00
billz
06af0795f6 Add /bin/cp for 090_eth0.conf to sudoers 2020-11-06 09:01:33 +00:00
billz
64736d64cc Closes #701 2020-11-02 08:23:55 +00:00
billz
06c8a2edcd Install raspberrypi-kernel-headers (raspbian only) 2020-10-15 16:08:23 +01:00
billz
09f65e0252 Merge branch 'feature/wireguard' of https://github.com/billz/raspap-webgui into feature/wireguard 2020-10-15 10:46:07 +01:00
billz
39dcb5060d Resolves #690 2020-10-14 11:40:02 +01:00
billz
f8b5f8fdfc Merge branch 'master' into feature/wireguard 2020-09-22 18:23:36 +01:00
billz
b533b7ab98 Update cp dnsmasq_custom 2020-09-19 22:24:58 +01:00
billz
7286173438 Add rudimentary logging 2020-09-05 19:27:38 +01:00
billz
aff035122b Validate, save & display wg config 2020-08-26 23:54:49 +01:00
billz
0a21695ff2 Add cp /tmp/wgdata to sudoers 2020-08-25 22:08:47 +01:00
billz
5be1ad5844 Merge billz/raspap-webgui master 2020-08-22 14:43:26 +01:00
billz
cfd26ae2bd Add newline 2020-08-06 08:34:14 +01:00
billz
83ff3198aa Modify return message 2020-08-05 23:07:55 +01:00
billz
08011100cd Add/update save server.bind option 2020-08-05 18:58:29 +01:00
billz
eeccb19b35 WIP: enable bind-addr control 2020-07-29 15:52:31 +01:00
billz
5c592ccadc Bugfix. Resolves #638 2020-07-21 22:42:39 +01:00
billz
4e82f3bdb3 Apply defaults during upgrade. Resolves #629 2020-07-14 08:15:27 +01:00
billz
b02660d5ff Update release version 2020-07-03 12:43:47 +01:00
billz
199065e93f Update installer with upgrade option. Resolves #617 2020-06-24 23:36:19 +01:00
billz
74723f0de3 Update uninstaller. Resolves #593 2020-05-27 09:04:16 +01:00
billz
ceaa7a3511 Update _set_php_package w/ pattern match #588 2020-05-23 18:01:11 +01:00
billz
a20db9185b Fix wifi client connect button. Resolves #572, thx @zbchristian 2020-04-30 12:42:31 +01:00
billz
2a4645bc08 Fixes #570 2020-04-25 22:06:02 +01:00
billz
8d73fb774f Update installer + sudoers for wg 2020-04-22 10:00:34 +01:00
billz
7e58feeec0 Enable wg management UI 2020-04-20 11:04:36 +01:00
billz
5028007b7a Add wireguard install option 2020-04-20 10:14:12 +01:00
billz
79d2786638 Update w/ install_status 2020-04-19 12:35:29 +01:00
Steven Foerster
50693655b8 using apt_option everywhere 2020-04-19 01:30:23 -04:00
Steven Foerster
54c707f5bb non interactive install 2020-04-19 01:13:09 -04:00
billz
f7343df5ba Adblock unattended install option 2020-04-13 08:49:18 +01:00
billz
512cde4fc3 Replace err,warn,success functions w/ install_status 2020-04-10 10:40:21 +01:00
billz
223ae3e11a Aligns uninstall w/ #537 2020-04-08 09:53:41 +01:00
billz
cc5110818f Adblock: enable local DNS name resolution for DHCP clients 2020-04-03 09:51:59 +00:00
Bill Zimmerman
67746601a4
Merge pull request #543 from billz/feature/notracking
Enable ad / tracker blocking with host blocklists
2020-04-03 08:58:46 +02:00
billz
55b9d92217 Update wget w/ -q --show-progress 2020-04-01 18:49:25 +00:00
billz
15374927a0 Add 090_adblock.conf to /etc/dnsmasq.d 2020-04-01 07:51:53 +00:00
Bill Zimmerman
8fd1677974
Merge branch 'master' into feature/notracking 2020-04-01 00:28:22 +02:00
billz
26dc8d92da Ad block installer option (beta) 2020-03-31 21:54:46 +00:00
billz
edcc8ce016 Update w/ adblock commands 2020-03-31 00:09:51 +00:00
billz
e4ff789a50 add check for uap0 interface 2020-03-29 15:08:33 +00:00
billz
cce45fa1bf restored default interface 2020-03-29 14:46:18 +00:00
billz
892a88e3cc test for $interface before changing daemon, chk status of br0 2020-03-29 14:14:12 +00:00
billz
17d62acdd6 Added check for openvpn-client svc stop/start 2020-03-28 11:09:06 +00:00
billz
1b33935c01 Update after=multi-user.target 2020-03-28 10:56:56 +00:00
billz
a5a1f09e84 Fix: update exec start/reload args 2020-03-28 09:39:19 +00:00
billz
584ee2cde0 Initial commit 2020-03-27 13:25:47 +00:00
billz
82e489884b Fix: RemainAfterExit=no 2020-03-26 17:25:34 +00:00
billz
18b459032d Added Ubuntu Server 19.10 to release check 2020-03-26 10:08:20 +00:00
billz
9592104190 Replace hardcoded path with var 2020-03-25 23:00:26 +00:00
billz
37adaf2cd0 Check existing iptables rules.v4 2020-03-25 22:59:51 +00:00
billz
f92ec4ebda Check existing iptables rules 2020-03-24 17:45:04 +00:00
billz
1de12470d3 Replace update rc.local w/ iptables-save 2020-03-24 11:17:01 +00:00
billz
aa497b46e4 Update comments, apply best practices 2020-03-23 09:31:18 +00:00
billz
e46929b505 Update set dchpcd_package option 2020-03-22 18:16:57 +00:00
Bill Zimmerman
271064dbdb
Rename raspap.service to raspapd.service 2020-03-22 15:02:13 +01:00
Bill Zimmerman
3e13971012
Delete iptables.service 2020-03-22 15:01:14 +01:00
Bill Zimmerman
bd1dd0a671
Delete iptables.rules 2020-03-22 15:00:41 +01:00
billz
eef84597d0 Merge branch 'armbian-buster' of https://github.com/billz/raspap-webgui into armbian-buster 2020-03-22 13:59:38 +00:00
billz
cc0d220e30 Restore stop/start systemd-networkd in bridge mode 2020-03-22 13:41:48 +00:00
billz
ba13a592cc Standardize service name raspapd 2020-03-22 13:40:34 +00:00
billz
409545f4c3 Direct output to /dev/null, error handling 2020-03-22 11:48:33 +00:00
billz
07b2e6d07a Update stop/start systemd-networkd 2020-03-22 11:47:47 +00:00
billz
d799fc1de0 WIP: raspap.service changes 2020-03-22 09:06:23 +00:00
billz
26a28a0123 Persist IP forwarding + iptables, update raspapd 2020-03-21 23:37:05 +00:00
billz
a943942bdd Refactor configure_networking, create get_linux_distro 2020-03-21 17:31:38 +00:00
billz
15d829c0b1 Create configure_networking 2020-03-21 08:07:40 +00:00
billz
0b135fb231 WIP: Ubuntu 18.04 LTS support 2020-03-20 20:13:33 +00:00
billz
c56a48234f Update dnsmasq.d path 2020-03-20 17:43:46 +00:00
billz
8216a3f4ec Added load sysctl settings 2020-03-20 17:21:07 +00:00
billz
8dfed88ed3 Exec update-alternatives to use iptables-legacy. nftables replaces iptables on Debian 10 2020-03-20 16:18:42 +00:00
billz
f2e0841970 Revert "Fix ruleset with iptables + iptables-save"
This reverts commit 0218f4beea.
2020-03-20 16:11:10 +00:00
Bill Zimmerman
ac4f7be5bb
Update iptables.rules 2020-03-20 16:23:54 +01:00
billz
63dc8442ba Fix: /etc/iptables/ dir absent on Raspbian 2020-03-20 14:20:21 +00:00
billz
125c203884 Fix: tee output w/ sudo 2020-03-20 13:49:06 +00:00
billz
176593b81f Minor: newlines for readability 2020-03-20 12:10:03 +00:00
billz
96aed21bb5 Quote vars + remove whitespace 2020-03-20 12:07:50 +00:00
billz
0218f4beea Fix ruleset with iptables + iptables-save 2020-03-20 12:07:13 +00:00
Bill Zimmerman
72eec3e2af
Hotfix: strip spaces 2020-03-20 12:48:44 +01:00
billz
40e558b720 Var rename, prevent conflict w/ lsb_release 2020-03-20 11:06:36 +00:00
billz
6e713e6857 Bugfix IP forwarding + error handling 2020-03-20 11:04:03 +00:00
billz
1f538d4a77 Externalized sudoers, - superfluous code from patch_system_files 2020-03-20 09:55:49 +00:00
billz
49622dd4af Initial commit 2020-03-20 09:53:59 +00:00
billz
df3d84b570 Postpone start of raspap.service 2020-03-20 09:16:18 +00:00
billz
aac5025029 Added stop action for LSB compliance 2020-03-20 09:05:33 +00:00
billz
de2ded1984 LSBize service script 2020-03-20 09:03:28 +00:00
billz
21273774a5 Fix raspap.service install path, add error handling 2020-03-20 08:04:50 +00:00
Bill Zimmerman
d1de71318b
Delete raspap.iptables 2020-03-20 08:54:02 +01:00
billz
4a7c61eabf Rename iptables.rules for consistency, strip comments 2020-03-20 07:51:35 +00:00
billz
f6599ae815 Update iptables.rules naming for consistency 2020-03-20 07:48:24 +00:00
billz
4b30be5c54 Align installer w/ Debian's modern SYSV style. Resolves #127 2020-03-20 07:32:23 +00:00
billz
ebefe5df75 Resolve version naming conflict 2020-03-20 07:26:37 +00:00
billz
8c67fd0c3a Initial commit 2020-03-20 07:23:05 +00:00
billz
c649246614 Update sudoers file handling. Resolves #41. Addresses #127 2020-03-19 09:37:05 +00:00
billz
c52487c671 Minor: rename version > release 2020-03-17 20:05:41 +00:00
Bill Zimmerman
8998433d75
Bugfix: missing whitespace 2020-03-17 19:31:26 +01:00
Bill Zimmerman
ead1f354d7
operand bugfix 2020-03-17 19:22:07 +01:00
Bill Zimmerman
3e39f33345
Update version welcome 2020-03-17 18:51:07 +01:00
Bill Zimmerman
a55c1cbb1d
Update installer version 2020-03-17 18:47:21 +01:00
billz
8e148e683b Update w/ OS, version detect & install dhcpcd5 2020-03-17 11:55:40 +00:00
Bill Zimmerman
f3dd4cc67d Update install_dependencies w/ dhcpcd5 2020-03-17 10:56:07 +00:00
billz
57734e837f Update installed php-cgi to v7.3 (buster) 2020-03-16 23:29:48 +00:00