Questions tagged [ip-blocking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

IPs blocked automatically by my firewall are all from Cloudflare

I have a website that uses Cloudflare, in my host level firewall I have noticed that all IPs automatically detected as malicious are identified as "owned by Cloudflare" and I don't know how ...
user avatar
  • 205
0 votes
0 answers
73 views

Firewalld not blocking https requests on port 443

Running a LEMP server on ubuntu 20.04 with firewalld as the firewall. Some Wordpress sites are installed. Sometimes an ip is hammering the xmlrpc.php creating higher loads. To block an ip: firewall-...
user avatar
0 votes
0 answers
26 views

Impossible to reach website from my local network

My company website is hosted on Simply Transit, running WP. It works perfectly from anywhere outside my company LAN. Inside the LAN, trying to connect to mycompany.com would result an ...
user avatar
0 votes
0 answers
82 views

UFW: block outgoing to LAN

In order to protect my local network from an attack on an self hosted server (although it's probably unnecessary), I would like to block all outgoing traffic to the LAN. At first this seems easy, as ...
user avatar
0 votes
1 answer
106 views

Possible to create an AWS API Gateway to Route all requests to Classic Load Balancer?

I have a questions (hopefully not dumb). I am the IT guy of a business hosting various applications with AWS and we currently have a Classic Load Balancer sitting in front of 2 to 3 EC2 instances ...
user avatar
  • 117
1 vote
1 answer
46 views

Managing IP blocking while managing self-hosted mail server

For privacy and long-term support reasons, I am running my own self-hosted mail server from a large hosting company. Unfortunately, using a shared hosting means that I am assigned an IPv4 address that ...
user avatar
0 votes
1 answer
204 views

Nginx how to show IP blocked page?

I have a config like this for my Nginx server: server { listen 80; listen 443 ssl; ssl_certificate /etc/nginx/cert/domain.csr; ssl_certificate_key /etc/nginx/cert/domain.key; server_name ~^...
user avatar
  • 101
-1 votes
2 answers
42 views

Count requests from blocked IPs

Site on my server is being attacked using SQL injections. I block IP from which was attacked with command: # iptables -A INPUT -s ATTACK-IP-ADDRESS -j DROP Can I review activity of ATTACK-IP-ADDRESS ...
user avatar
  • 161
1 vote
0 answers
788 views

ModSecurity, Create an IP Blacklist file

We have a list of IPs that we want blocked. I currently have them blocked at the firewall, I would like to create a file that ModSecurity will read, and block those IPs. This is a pretty big list, as ...
user avatar
  • 11
4 votes
1 answer
2k views

Block IPv6 addresses in my .htaccess file but I get 500 Internal Server Error?

I want to block all IP Addresses starting like this 2a01:598:xxx in my .htaccess file on my WordPress website. But everytime I edit my .htaccess file I can't visit my website anymore. I get an ...
user avatar
2 votes
0 answers
106 views

Stop a user from circumventing IP block?

A user is somehow avoiding an IP block in apache 2.2/2.4, and I can not figure out how. The company I work for hosts hundreds of sites in different datacenters; this user is attacking several of the ...
user avatar
0 votes
0 answers
117 views

How to scp files to a VPS whose ip was blocked without the help of jump servers?

The IP of my VPS was blocked. Sorry to mention but currently I might not have enough expense to apply to switch IP nor purchase new VPS as jump servers. Status: The VPS host itself is running ...
user avatar
  • 1
-7 votes
1 answer
1k views

Can I ping all AWS buckets in the world?

I have 2 questions, Can I ping all the AWS buckets in the world? I would use a simple shell script which will curl with a dictionary of names/number combinations or some other method. Will my IP be ...
user avatar
0 votes
1 answer
521 views

Allow/block access to a specific path with apache 2.4 failing

I have a django website project deployed in an enviroment from AWS Beanstalk. I'm trying write configs to apache block access to a specific path (/admin). I avoid change wsgi.conf file, instead I ...
user avatar
0 votes
1 answer
6k views

Block all traffic from googleusercontent.com IP range

I manage a dedicated server and I use IPset and APF to block country level IP's and individual offending IP's / ranges respectively. My PHP scripts report MySql injection type post and get queries (...
user avatar
  • 1
0 votes
1 answer
110 views

How to blacklist an IP using apache2 without using .htaccess

I have aws machine on which i'm running my spring boot application. The public url of application is say "abc.com" i'm using apache2 to redirect request coming to abc.com to localhost:8080. Some web ...
user avatar
1 vote
0 answers
287 views

Hosting a virtual machine in Russia

One of the web-hosted projects I work on is being blocked in Russia (ostensibly due to Russia's attempt at blocking a certain messaging service.) The service must be accessible by ephemeral/mobile ...
user avatar
  • 3,103
3 votes
1 answer
6k views

How to block website for all countries except US and Canada

I have a website which is only for US and Canada visitors. I don't want to make it visible to other visitors. I want to use Geo targeting solution but I have a amazon hosting it did return current ...
user avatar
0 votes
1 answer
3k views

Block traffic from specific IP at Azure Cloud Service

I have an Azure Cloud Service and I am getting a huge traffic from specific IP address. How can I block a traffic coming from specific IP address? Is it possible to do this w/o re-deploying the ...
user avatar
1 vote
1 answer
2k views

Block all RDP connection except one IP

I want to block all connection to Hyper-V machine except from one IP. I can explain my scenario. User can access RDP when they are in our company network.We are using 128.x.x.x range internally and ...
user avatar
  • 21
0 votes
1 answer
229 views

A bot with blocked ip still causes exceptions on server

I manage a website which is being "attacked" by a very stupid bot. The bot tries the same requests all the time, it always gets a bad request response because ASP.NET detects "A potentially dangerous ...
user avatar
2 votes
0 answers
2k views

Blocking IP range using iptables

What would the command be to block a range of IPs to port 80? The block of IP I want to block is 123.56.x.x and 123.57.x.x. What would the correct command be? iptables -I FORWARD -p tcp --dport 80 -...
user avatar
  • 145
-2 votes
1 answer
4k views

how to get IP address list of Social Network [closed]

I'm newbie sorry for my poor English I want block range IP of Social networks and Game server in Mikrotik router . I need IPs of below social network : Telegram Clash Of Clans Instagram i google ...
user avatar
  • 3
0 votes
1 answer
60 views

How can I increase the number of times to block for incorrect password?

I manage a dedicated server and a VPS. The run on CentOS and I access them through SSH and DirectAdmin. These servers have a low tolerance for wrong password and I frequently block my IP out and need ...
user avatar
-2 votes
1 answer
962 views

How to block an Internal IP address talking to an external IP Address on Cisco ASA 5505 [closed]

I want to block my server talking to an external IP address continously. The IP address in question is I think is being hijacked or spoofed. When Used who.is it resolves to Netherlands. But if you ...
user avatar
-2 votes
2 answers
824 views

IPTables: Blocking specific source IP addresses [closed]

I'm trying to block a specific IP using IPTables. When I use the following shell command (Xs to hide the actually IP): iptables -A INPUT -s XXX.XXX.XXX.XXX/32 -j DROP I get the following line added ...
user avatar
  • 149
2 votes
1 answer
321 views

iptables block IP for x hours not working?

On my Linux server, I want to ban IPs that access certain ports for 24 hours using IPtables. For this, I use the following IPtables rules: # Check if IP is on banlist, if yes then drop -A INPUT -m ...
user avatar
  • 121
2 votes
2 answers
4k views

UFW (firewall) not blocking UDP right away

I have a PBX (phone system called Astersik) that works with udp and tcp. Sometimes I get invalid request from some IP addresses that I will like to block. I cannot block those requests until I reboot ...
user avatar
  • 160
0 votes
0 answers
2k views

blocking subnets in iptables

I currently have a router attached to the main network (192.168.0.x). On this router, I want the ethernet-ports to link to the main network, and the vlan's (wireless) to be set up via a separate DHCP ...
user avatar
  • 101
0 votes
2 answers
1k views

iptables - access to port 3306 timeout

I cannot connect to mysql from a remote server. I have bind-address commented out but when I add rules in iptables to block other connections the requesting server's connection times out. I tried this ...
user avatar
-2 votes
1 answer
3k views

How Temporarily block an IP address making too many hits on the Server with iptables?

this is my first question here. I made this follow script to protect my server against Slowloris and some DDOS. #!/bin/sh # It does not allow more than 10 connections per IP on ports 80 and 443. And ...
user avatar
1 vote
1 answer
2k views

Block IP Address range on IIS 7.5

I have a Windows 2008R2 Server running IIS 7.5. It is getting bombarded with attempted hacks from similar IPs. How would I block the IP range with something like 51.255.65.*? Below is the UI ...
user avatar
3 votes
2 answers
4k views

How to unblock my IP after failed sftp login attempts to google cloud compute instance

We just started using google cloud compute engine, and to connect to the server using sftp a couple of colleagues did a number of failed login attempts. Now we cannot access our google cloud engine vm ...
user avatar
2 votes
2 answers
230 views

Blocking suspicious IPs on firewalls - still relevant?

In interest of improving security, does it make sense to block suspicious IPs on internet facing firewalls? Does anyone know of any reliable block lists? Thanks, Mark
user avatar
  • 21
1 vote
2 answers
207 views

Nginx reverse proxy gets blocked

We run a wordpress blog in a subdirectory from our main domain. domain.com => Server A (Nginx) domain.com/blog => Server B (Apache) The blog itself lies on a different (cheap shared hosting) ...
user avatar
1 vote
4 answers
9k views

CentOS 7 - Blocking certain countries (Phillipines,Russia,China)

I run a site that only deals with customers in certain locations. Lately my load balancer is being hammered by requests from Phillipines/Russia/China. Mail bots, brute force attacks etc. Is there a ...
user avatar
4 votes
1 answer
812 views

Finding google unusual traffic

We are a small Internet provider. In order to get Internet access we are using NAT (10-20 users per one public IP). And lately we've met with Google blocking services (captcha and full block) and we ...
user avatar
  • 231
0 votes
1 answer
3k views

How do I block an abusive IP address using a Netgear FVS338 firewall?

Our Postfix mailserver has been getting thousands of automated login attempts from a bot. The mailserver is behind a Netgear FVS338 firewall. How can I completely block inbound connections from that ...
user avatar
0 votes
1 answer
1k views

Block IPs for some time on HAProxy

I would like to blacklist IPs that are spamming a particular URL, but only for a determined amount of time. let's say 10 minutes. I'm thinking of creating a stick-table, and store the src IP and ...
user avatar
  • 1,824
1 vote
1 answer
83 views

How to configure an nginx VHost to hang up on the client in the rudest possible way?

I have a, let's call it, "legacy" VHost configured on an nginx server. It used to be a full site, but it has since been decommissioned and all the content removed. The server block now looks something ...
user avatar
  • 1,194
-3 votes
2 answers
470 views

block or log IPs that direct access my website (ubuntu , nginx)

The website is under DDOS, the cloud service is doing a pretty good job for a cost of dozen bugs a month. We are happy! However the attackers have been hitting our site with IP. Currently, we 301 ...
user avatar
1 vote
2 answers
240 views

dnsmasq adblocking only working server-side

I'm trying to create a server-side adblocking mechanism through dnsmasq, but I only get results on the server itself, not the computers attached to my local network. First of all, my router is the ...
user avatar
  • 13
0 votes
1 answer
787 views

Block all traffic, except specific domians, by windows server 2008 R2 firewall

I've got a problem, which I didn't find any other way to restrict all the outbound traffic on my server. I have a web service, which is deployed on a server, alone. This is about one month that I get ...
user avatar
-2 votes
2 answers
967 views

Emails from my domain getting blocked at all other domains [duplicate]

Recently I tried to set up a new email server using iRedMail on Lubuntu. The mail server workes very well when email conversation is in the same domain. But when a user tries to send email to some ...
user avatar
  • 99
1 vote
0 answers
1k views

Dynamic IP Blocking on FORTIGATE 200A Firewall

I have FORTIGATE 200A firewall protecting a IIS Server running a ASP.NET website (windows server 2008 and IIS7) I'm not familiar with Fortigate configurations and options. I recently had "attacks" ...
user avatar
  • 145
1 vote
1 answer
15k views

How can I block traffic FROM Amazon Technologies Inc. (possible DDOS attack) [closed]

I've a small website (portfolio) and I usually notice traffic of about 10-20MB per day. But for few recent days I've noticed about 10-15GB (1000 times more) each day for 4 days now (and it continue ...
user avatar
3 votes
4 answers
5k views

/etc/hosts.deny ignored in Ubuntu 14.04

I have Apache2 running on Ubuntu 14.04LTS. To begin securing network access to the machine, I want to start by blocking everything, then make specific allow statements for specific subnets to browse ...
user avatar
  • 31
1 vote
2 answers
2k views

deny from .htaccess with banned IP list from stopforumspam.com not working?

so i'm trying to use .htaccess to ban a large list (50,000) of suspicious spam IP addresses that i got from this site. the list is almost 1M in size when i add the deny from directive for each ...
user avatar
10 votes
4 answers
52k views

How to run node.js app on port 80? Are processes blocking my port?

I believe the port 80 on my remote instance is blocked, and I am trying to run a node.js app using port 80. I have experimented with ports 3000 and 3002, and both ports are working fine, but I get an ...
user avatar
  • 335
2 votes
1 answer
5k views

Block all public IP addresses except those whitelisted

We have a 2008 R2 server hosted in a data centre where we have no physical access but connect to it using RDP. We plan to run SQL Server and some other services which should only be accessible to a ...
user avatar