managing a growing fmeet of wifi routers combining
play

Managing a growing fmeet of WiFi routers combining OpenWRT, - PowerPoint PPT Presentation

Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix Kenan Ibrovi 03/07/19 Presentation 1 Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix Problems


  1. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix Kenan Ibrović 03/07/19 Presentation 1

  2. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Problems ● Requirements ● T oolset ● Issues and diffjculties (+solutions) ● Future plans 03/07/19 Presentation 2

  3. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix What do you do when you have 20 routers in a difgerent country with no techie there and ISP you don’t trust? 03/07/19 Presentation 3

  4. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Requirements: ● Secure communication ● Easy deployment ● Easy management ● Robustness 03/07/19 Presentation 4

  5. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix TOOLS 03/07/19 Presentation 5

  6. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● OpenWRT ● 3000+ packages available ● Regular updates ● Open Source 03/07/19 Presentation 6

  7. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● WireGuard ● Remote access ● Encrypted connection ● Easy to use 03/07/19 Presentation 7

  8. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● SaltStack ● Execute commands across all managed systems ● Scalable ● Secure ● Standardize 03/07/19 Presentation 8

  9. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● States ● Design system confjgurations ● One state for all devices ● wifj.sls salt-ssh ‘*’ state.apply wifj 03/07/19 Presentation 9

  10. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix nodegroup: pass-the-salt: - router-1 - router-2 - router-n salt-ssh -N pass-the-salt state.apply wifj 03/07/19 Presentation 10

  11. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Pillars ● Makes states reusable ● Store credentials, variables... fjltered.sls non-fjltered.sls wifj_ssid: Pass The Salt Filtered wifj_ssid: Pass The Salt wifj_pass: secretpass wifj_pass: newsecretpass 03/07/19 Presentation 11

  12. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Zabbix 03/07/19 Presentation 12

  13. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● OpenVPN ● All connected devices on VPN ● One account 03/07/19 Presentation 13

  14. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix Issues and diffjculties (+solutions) 03/07/19 Presentation 14

  15. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Salt client (minion) on OpenWRT? ● None ● Salt-ssh 03/07/19 Presentation 15

  16. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Limited space on the fmash memory? ● USB fmash drive ● Exroot confjguration ● Automated (install_requirements.sh) 03/07/19 Presentation 16

  17. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● OSError: Cannot locate OpenSSL libcrypto ● Python can’t fjnd it ● fjx_oserror.sh 03/07/19 Presentation 17

  18. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Firmware upgrade ● Removes ALL user installed packages (no WireGuard) ● Keeps confjguration (there is hope) ● upgrade.sls 03/07/19 Presentation 18

  19. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Confjguration messed up!!! ● Remove USB fmash drive ● Reboot ● Plug it back in ● Run install_requirements.sh 03/07/19 Presentation 19

  20. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● setup.sh ● wireguard-confjg.conf ● router_confjg.sh – Change password – Install and confjgure WireGuard ● install_requirements.sh – Exroot confjguration – fjx_oserror.sh – salt-ssh $SALT_NAME state.apply 03/07/19 Presentation 20

  21. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● Future plans: ● QoS ● Outline VPN 03/07/19 Presentation 21

  22. Managing a growing fmeet of WiFi routers combining OpenWRT, WireGuard, Salt and Zabbix ● kenan@occrp.org ● tech@occrp.org ● https://tech.occrp.org ● Git: https://git.occrp.org/libre/salt-routers img sources: ● Router icons: https://fjndicons.com/fjles/icons/2652/gentleface/48/wifj_router_icon.png ● Server icon: https://fjndicons.com/fjles/icons/2652/gentleface/48/wifj_router_icon.png ● Salt master-minion icon: https://docs.saltstack.com/en/getstarted/images/basic-comm.png 03/07/19 Presentation 22

  23. Thank You! 03/07/19 Presentation 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend