peacey / split-vpn

A split tunnel VPN script for Unifi OS routers (UDM, UXG, UDR) with policy based routing.
GNU General Public License v3.0
802 stars 56 forks source link

Domains list in separate file #174

Open putiatin opened 1 year ago

putiatin commented 1 year ago

Is there any solution to save Domains for VPN passthrough into separate file?

I have several networks in different locations with UDM and UDRs there. I want to automatically update Domain lists (for example with cron download a file every day from server) without need to update lists on each router via ssh manually.

troian commented 1 year ago

@putiatin i have set provisioning of UDM with split-vpn and pihole using ansible, and all parameters to the VPN/DNS etc are configured via separate files including domains. if you're interested I'll clean it up and opensource

putiatin commented 1 year ago

@putiatin i have set provisioning of UDM with split-vpn and pihole using ansible, and all parameters to the VPN/DNS etc are configured via separate files including domains. if you're interested I'll clean it up and opensource

yes, it will be interesting to try this

troian commented 1 year ago

@peacey you might be interested in this approach as well. I'll try to document it in detail. https://github.com/troian/servers/tree/master/udm