d.rymcg.tech icon indicating copy to clipboard operation
d.rymcg.tech copied to clipboard

Make easier IP source range filtering

Open EnigmaCurry opened this issue 7 months ago • 1 comments

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

EnigmaCurry avatar Jul 10 '24 16:07 EnigmaCurry