CentOS StreamServer running Windows 2010?

Issues related to applications and software problems
Post Reply
smithbang
Posts: 1
Joined: 2022/10/23 18:11:39

CentOS StreamServer running Windows 2010?

Post by smithbang » 2022/10/23 18:20:44

Hi,

We have a CentOS StreamServer running Windows 2010. It is accessible through Remote Desktop and Plesk.

We are getting a lot of brute force attacks on the MSSQL server. Going through the forums, we found that we can create inbound rule on the firewall to block the IP's.
When blocking the IP's, accidentally "Any IP Address" option was clicked.

This blocked all the access to the remote desktop, and all our websites on the server became unavailable.

If we activate the firewall service now, it also activates the block all IP rule and closes all access to the remote server.

If I try to access Firewall from Plesk, it just says "Operation Failed".

How do I delete the rule so that we can restart the firewall?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS StreamServer running Windows 2010?

Post by TrevorH » 2022/10/23 18:43:46

Use firewall-offline-cmd not firewall-cmd.

Also, if making changes like this I'd recommend using firewall-cmd without the --permanent option, add the new rules without that option, then if it fails and locks you out a reboot will revert to the rules you had before. If it works then you can run it again with --permanent to save it so it comes back at reboot.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply