Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - annduy

#1
Development and Code Review / Re: opnsense-based SDWan
January 16, 2024, 05:11:28 AM
Thanks Patrick so much for your very positive feedback. This motivates me a lot, ;D . I have no more concern about legal risk and I'm ready to go ahead my project.
Once again, thank you both @Patrick and @Mimugmail for valuable advices.

Annduy.
#2
Development and Code Review / Re: opnsense-based SDWan
January 15, 2024, 05:18:04 AM
Thanks @Patrick and and @Mimugmail for the advices.
Sorry for my late reply due to my travel in the last week. I've just resumed to work today, :).
@Patrick: In fact, the video is just to demonstrate how my product works. You can ignore it if video wastes your time. For you visibility, I do brief about my work:
1. Basically, there are 2 components in a SDWan solution: SDWan Edge Devices and SDWan Controller. Of course, there are still many other components in a commercial SDWan. However, at basis level I just consider the two mentioned components.
2. in my design, the prerequisites to an edge device is capability to manage the below configuration items via API calls:
   - Create a connection from a device to another device. 
   - Manage routing entries on a device.
Fortunately, the above requirement is available in Opnsense via the plugins WireGuard VPN and FRR Routing Suite. Therefore, I just use these plugins in my SDWan project, do not need any further development at edge device side.
3. I just focus in developing the controller (web application) to provide webGUI to user. Then in its turn, the controller will perform API calls to create connections between edge devices as well as setup proper routing between edge devices.
Another API set  is also used in my project is os-api-backup to keep the configuration of all edge devices centrally in my controller, in order that  from controller we can backup/restore a certain edge device.
Well, in the project I leverage the OpnSense and some of its plugins: WireGuard, FRR Routing and os-api-backup. I just want to ensure that I have no issue about copyright with Deciso and the owners of mentioned plugins.
Thanks Patrick for your advice about documents. In fact, now I'm maintaining some documents: design document, code reference document. In future, when I implement it at customers, some other documents: deployment guide document, admin guide document, maintenance and support document,... must be in place.


@Mimugmail: great to to hear from you that there is no legal issue with my work if the original copyright is still in my source. However, as you see, I do not touch at the source code of OpnSense and the plugins. I just build my own controller (on another machine) that will change the configuration of OpnSense via APIs provided by OpnSense's plugins. if so, is there any potential legal risk with my approach? I'm thinking about the message "Powered by OpnSense and its plugins" at the footer of the WebGUI of my controller. is this citation appropriate?   

Thank you, my friends.

Annduy
#3
Development and Code Review / Re: opnsense-based SDWan
January 08, 2024, 04:30:11 AM
Hi all,
My SDWan project was developed based on:
1. Opnsense for core functionality
2. AppSmith + Vue.js + Joint.js for frontend
3. Python + MongoDB for backend
4. Debian as Operating System
If I do commercialize my work, do I violate any copyright? if yes, how to fix the issue?  :D
Thanks in advance for any advice, 

Annduy.
#4
Hi Vangsguard.
Thanks bro for the advice. However, unfortunately, the page "System: Configuration: Backups" is a .php file, therefore no API capability on this, :( . See the attached photo for more info about this page. Anyway, I have worked around and have been able to restore a backup file (full restore) as shared in previous post. I may do some extra work for partial restoration then share with you all in this forum.
Once again, thank you so much for the advice. It should be applicable in many other situations.
Merry Xmas and Happy New Year.

Annduy


#5
Development and Code Review / Re: opnsense-based SDWan
December 21, 2023, 04:43:27 AM
The issue about restore opnsense's configuration was resolved as in the clip
https://youtu.be/Wz0CVxiWaw8

And the updated introductory clip of my SDWan project
https://youtu.be/p1WQkB71Kis

Merry Xmas to all. :)

Annduy
#6
Hi all,
please be updated the status of my asking: after some days of googling, chatGPT, Bard,... I decide to go with another approach for restoring an opnsense backup:
1. create config.xml file on local machine
2. use scp to override config.xml of destination opnsense
3. call API from local machine to reboot the destination opnsense.
It works as my expectation. See the clip for how it works

https://youtu.be/Wz0CVxiWaw8

Merry Xmas to all, :)

Annduy   
#7
Development and Code Review / opnsense-based SDWan
December 06, 2023, 01:56:16 PM
I'm building a SDwan solution based on opnsense/wireguard/ospf. However, there is still an issue: I don't know how to restore a backup via API?
Please have a look then advise/comment.
https://youtu.be/c0L-5hwFrn4?si=0zUQyzdvm4RNuiEP

Thanks.

Annduy
#8
Hi all,
Now, I am able to download the latest configuration of an Opnsense box by using API at /core/backup/download/this. However, I haven't found the API for the restoration in Opnsense's document, even though in GUI we can select the area for restoration. Is there any way to make restoration (fully or partially) via API?
Thanks in advance for your advices.

AN