d.rymcg.tech
d.rymcg.tech copied to clipboard
Make easier IP source range filtering
Every app has an IP source range filter already. Create a new common make target to simplify configuring it:
$ make ip-allow
? Do you want to configure a Source IP range filter to limit access by network
> No
Yes, use my current public IP address (queries https://ifconfig.me)
Yes, use my current local IP address list
Yes, I would like to enter the value/list manually
or
make ip-allow ALLOW=192.168.0.0/24,10.10.10.0/24