Crowdsec is blocking IP from a country where I’m staying for 3 days

Started by stanthewizzard, April 24, 2023, 06:33:22 AM

Previous topic - Next topic
Hello

I'm on hollidays in greece (it's important) and unable to connect to my vpn at home.
Disabling crowdsec make everything reacheable.
How can I grant access to the greek ip to re-enable crowdsec ?

Thanks

Crowdsec offers the ability to whitelist IPs via their parser, but it has to be completed via the command-line.

https://docs.crowdsec.net/docs/whitelist/create/


Ok thanks
But I need to whiteliste also mobile isp no judt a single ip. Very strange.

Not sure about changing it for mobile.  Another option could be to use Zerotier or Tailscale. This would allow you to connect over one of those networks and "bypass" crowdsec that way.

Quote from: stanthewizzard on April 24, 2023, 06:33:22 AM
Hello

I'm on hollidays in greece (it's important) and unable to connect to my vpn at home.
Disabling crowdsec make everything reacheable.
How can I grant access to the greek ip to re-enable crowdsec ?

Thanks

Are you using crowdsec just for the vpn or for other services as well?

Quote from: dumptrucktaco on April 24, 2023, 09:30:02 PM
Not sure about changing it for mobile.  Another option could be to use Zerotier or Tailscale. This would allow you to connect over one of those networks and "bypass" crowdsec that way.

Wouldn't those still connect back to and from the same IPs?  It's been a while since I looked at them so I don't recall how they would work to allow bypassing an IP ban.

Other services as well (and none of it are working)

The mobile or wifi IP (greek one) are blocked.

Solution
connect with cloudflare vpn (change of routes)
then connect to opensense and temporarly disable crowdsec