How to block Geo IPs for some services?

Reply
Highlighted
L3 Networker

How to block Geo IPs for some services?

Hi,

i have a ssh Service connected via the internet.

But i would like to filter a bit, because there comes often automatical scans from china IPs and so on.

The devices who connect to the port 22 have a dynamic ip so i cant set a static source.

But i know that these connections comes all from france dynamic ip adresses.

 

So how can i configure it, that there is a allow france ips and block other country ips?


Accepted Solutions
Highlighted
L7 Applicator

you can either set your inbound allow policy to only allow addresses in france, or create a block policy that blocks all countries you do not want connecting to you

 

region allow.png

reaper - PANgurus.com
Find my book at https://www.amazon.com/dp/1789956374

View solution in original post


All Replies
Highlighted
L7 Applicator

you can either set your inbound allow policy to only allow addresses in france, or create a block policy that blocks all countries you do not want connecting to you

 

region allow.png

reaper - PANgurus.com
Find my book at https://www.amazon.com/dp/1789956374

View solution in original post

Highlighted
Cyber Elite

Hello,

The other option is to just whitelist known good IPs you would like to connect from. There are many compromised systems even within a good country, i.e. US.

 

Regards,

Highlighted
L3 Networker

Hey wow thats so easy.. thx.

 

I have no static IPs so i cant whitelist the good IPs.

 

Reapers made my day.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!