update whitelists
This commit is contained in:
parent
646c3c0efb
commit
42b6c3bcfc
2 changed files with 20 additions and 13 deletions
|
@ -3,10 +3,17 @@
|
|||
{
|
||||
# Attached to the routers, pieces of middleware are a means of tweaking the requests before they are sent to your service
|
||||
services.traefik.dynamicConfigOptions.http.middlewares = {
|
||||
# Restrict access to admin devices only
|
||||
admin.ipwhitelist.sourcerange = [
|
||||
"127.0.0.1/32" # localhost
|
||||
"192.168.1.101" # fuchsia
|
||||
"10.100.0.2" # Pixel 6 Pro
|
||||
];
|
||||
# Restrict access to internal networks
|
||||
internal.ipwhitelist.sourcerange = [
|
||||
"127.0.0.1/32" # localhost
|
||||
"192.168.1.1/24" # lan
|
||||
"10.100.0.0/24" # wireguard clients
|
||||
];
|
||||
# Restrict access based on geo-location
|
||||
geoblock.plugin.geoblock = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue