InsaLan / langate3000

The new InsaLan captive portal 👾
MIT License
1 stars 0 forks source link

Integrate ip rules into netcontrol #31

Open pixup1 opened 1 week ago

pixup1 commented 1 week ago

Description

Since we're integrating portail.sh into netcontrol, we might as well integrate ip_rules.sh directly into netcontrol, in a dynamic way that depends on the amount of marks and vpns.

It could fetch the number of VPNS from /etc/hosts, for example (see vpn_register.py).

SkytAsul commented 1 week ago

I'd see the number of VPNs stored somewhere in variables.json so it can also be used in autoroute_aec.