OPNsense Forum

English Forums => Development and Code Review => Topic started by: swingline on April 28, 2021, 07:59:08 pm

Title: Android management app
Post by: swingline on April 28, 2021, 07:59:08 pm
Hello,
I have been working on an Android app written in python using KivyMD. 

https://github.com/Red-Swingline/OPNsenseManager (https://github.com/Red-Swingline/OPNsenseManager)

I am modifying a custom app that I provided to my clients. This app intends to allow users to do common immediate actions and escalate as needed for help using the email option.

As the app is written now its capable of:
Title: Re: Android management app
Post by: jazzy on May 22, 2021, 03:21:46 am
Finally an android management app!!
Thank you!
It would be great if we could turn and openvpn connection on and off as well :)
Title: Re: Android management app
Post by: Mondmann on June 01, 2021, 05:02:41 pm
@swingline

Respect for the effort you put into your project and with this
a great app for the OPNsense.

Hint:
- For security reasons the APP should only be openable with a password.
password to open the app

- a minimal status overview similar to the dashboard would also be great

- a small tutorial for the initial setup would be an advantage...


There will certainly be a lot of users who have been waiting for your APP.
and would like to test it for sure...
 
 
Good luck and thanks from Germany
Title: Re: Android management app
Post by: KripyPicli on October 20, 2021, 04:01:04 pm
Hello, thank you for sharing this Android-based app—huge respect to you for doing great work building an app for the OPNsense. You included a good range of available options. Keep it updated, bro. If you have any Patreon program, I can support your work if you need some funds for your future projects. Right now, I'm working on an app, and I use the app builder for windows (https://flipabit.dev/download/) free service, but if you have time, I wish to discuss with you some details, maybe you will help me with solving my problems. Have a good one!
Title: Re: Android management app
Post by: Vossi on March 05, 2023, 10:49:44 am
Hello Swingline,
how awesome is that!!
I've been looking for an Android app a few times, but for whatever reason, I didn't come across your solution.

I installed the version 2.0 beta on my Android today and also completed the first settings. Api access I had before and some Autonmatisierungseinstellungen also.

After entering the required settings (without password), I see at the firewall also the access from my phone, but still I get nothing displayed. After a few times uninstall and install to start with other settings, I get ansich only a connection timeout...

Do you have any idea about this?
I use Android 12 on a Huawei Mate 10 pro.

Thank you for the APP.
I ansich want to be able to disable devices on the network via the phone -> the children's devices :)

Greetings
Vossi :o
Title: Re: Android management app
Post by: sabrina5zunoi3 on December 12, 2023, 07:57:15 pm
Hello,
I have been working on an Android app written in python using KivyMD. 

https://github.com/Red-Swingline/OPNsenseManager (https://github.com/Red-Swingline/OPNsenseManager)

I am modifying a custom app that I provided to my clients. This app intends to allow users to do common immediate actions and escalate as needed for help using the email option.

As the app is written now its capable of:
  • Rule management (rules created with firewall plugin https://docs.opnsense.org/development/api/plugins/firewall.html)
    • Manually add rules by entering rule UUID and Description.
      • I opted for manual adding rules, as there may be rules created on the firewall that the end-user has no reason for messing with.
    • Manually deleting rules from the Admin tab.
      • This only removes rules from the local SQLite database
  • VPN management
    • Enable/disable Wireguard client
    • (I might add other protocols if needed)
  • Power
    • Reboot
    I would recommend adding the ability to manage other VPN protocols to expand functionality. But it's your decision, I'm just suggesting. Recently I was researching how to create a digital wallet, I found https://dashdevs.com/blog/how-to-create-a-digital-wallet/ (https://dashdevs.com/blog/how-to-create-a-digital-wallet/) for this. Now I want to do something similar, but my own. I have had this dream since I was a teenager. Now I'm looking for and studying a bunch of examples.
  • Admin
    • Add rules
    • Delete Rules (from local SQLite database)
    • Email Admin sends a fixed SOS email to a specified email address, aka the network admin. (Needs to be fixed

I read your description. The project looks great. VPN via Android app is a great idea.