Comment on Openwrt how to block countries but allow a specific path using BanIp

<- View Parent
Hercules@lemmy.world ⁨3⁩ ⁨weeks⁩ ago

path is part of the http protocol. Most firewalls only parse the first couple layers (ethernet->ip->tcp/udp), not http as well, unless they do deep package inspection. Idk if openwrt/banip has functionality

I don’t think openwrt can do this. Im running k3s with nginx as ingress but the issue is it doesn’t see the actual ip but rather the ip of the container so i can’t use nginx to block countries.

source
Sort:hotnewtop