Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-05-2016, 04:02 PM   #1
LQ Newbie
Registered: Jun 2016
Posts: 5

Rep: Reputation: Disabled
Firewalld - enable IP range


I have a small development server with CentOS 7.2. The server should serve only some developers but all of them have dynamic IP's.
At the moment the firewalld setup is:
firewall-cmd --list-all
public (default, active)
  interfaces: enp1s0
  services: dhcpv6-client samba ssh
  ports: 80/tcp 88/tcp 8888/tcp 8080/tcp 3306/tcp 8005/tcp
  masquerade: no
  rich rules:
        rule family="ipv4" source address="" reject
However in the last 2 weeks there were ~1 million invalid SSH login attempts to the server. I have added some reject rules, but every day there were new IP sources.

What is the best way to configure firewalld with the ports above but only accept developer logins where developers have dynamic IPs?

Thanks in advance!
Old 06-06-2016, 03:04 AM   #2
Senior Member
Registered: Apr 2010
Posts: 1,850

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Check the sticky thread about SSH security.

Check out this link also:

Or use certificates instead of password:
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
firewalld confusion packetsmacker Linux - Security 1 01-28-2016 01:11 PM
RHEL7 firewalld. dpu Red Hat 5 06-23-2014 09:12 AM
firewalld sunveer Fedora 1 02-03-2013 03:41 PM
Gnuplot - Combining a linear range and log-scale range in the same X-axis llauro Linux - Software 2 04-26-2011 12:55 PM
[SOLVED] What are short range link and long range links in routing? mq15 Linux - Networking 6 06-26-2009 11:16 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration