Troubleshooting GeoIP-Shell Whitelisting Issue #38
Replies: 4 comments 14 replies
-
Looks like I also need to whitelist cloudflares IPs. Is there a way to do this via cli? |
Beta Was this translation helpful? Give feedback.
-
Got it working. Thank you. Also, is it possible to add logging to view the denys or accepts in |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry that I'm a bit late to answer. Glad you got it working in the meantime. Just in case: generally, when you want to specifically allow IP ranges belonging to a certain service, you need to find the IP list with IP ranges for that service. For 2 examples of such IP list, see #26, #33. When you have this IP list, you can select IP ranges specific to your country and compile them into a newline-separated list (I explained how to do this easily in #33). Then you can use the command As to logging: currently geoip-shell doesn't have this facility. Implementing logging has been requested before and it's the next thing I'm planning to work on. And thank you for the kind words. |
Beta Was this translation helpful? Give feedback.
-
Yea. That is what I did ( is there anyway to add it manually. Something like below,
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all, thank you for creating such an amazing tool! GeoIP-Shell has been incredibly helpful for someone like me who is still learning about networking.
I’ve successfully installed GeoIP-Shell (installation details below), but I’ve run into an issue that I’m hoping you can help with.
I have a server running on TrueNAS Scale with services managed by Saltbox. After setting up GeoIP-Shell in whitelist mode (allowing only traffic from the Netherlands), I’m unable to access services hosted on my server from my public IP.
If I disable GeoIP-Shell, everything works fine — which makes me suspect that GeoIP-Shell is somehow blocking the connection. I’ve also tried explicitly whitelisting my public IP using the configure option, but that didn’t seem to resolve the issue.
Even in
geoip-shell status -v
, I see the blocked connections (text below). The internal IP where the service are hosted is192.168.1.91
Could anyone please advise on how to debug this or let me know if I might be missing something in the configuration?
Beta Was this translation helpful? Give feedback.
All reactions