LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-03-2013, 11:52 PM   #1
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Rep: Reputation: Disabled
Fwbuilder help. ( IP address range )


Anyone with experience in using Fwbuilder here ?

I am trying to set a firewall rule in which any computer from 192.168.3.0/24 is allowed to connect to a particular IP.

How do I configure the 192.168.3.0/24 portion ?

i am currently using the Address Range object and setting the Start range to 192.168.3.0 and End range to 192.168.3.255.

I read that there is a better way to do it via Network Objects with subnet mask of 255.255.255.255 . How do I go about doing so ?

Thanks in advance.
 
Old 08-04-2013, 05:02 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Your question is not really specific to Firewall Builder.

192.168.3.0/24 is a network, and you should create a network object in Firewall Builder. The "/24" CIDR notation represents a 255.255.255.0 netmask.
 
1 members found this post helpful.
Old 08-05-2013, 03:12 AM   #3
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Your question is not really specific to Firewall Builder.

192.168.3.0/24 is a network, and you should create a network object in Firewall Builder. The "/24" CIDR notation represents a 255.255.255.0 netmask.
Oh, so a network object with 192.168.3.0 as the IP address and 255.255.255.0 as the subnet mask represents the IP address range of 192.168.3.0 - 192.168.3.255 ?
 
Old 08-05-2013, 04:31 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by Grtyop View Post
Oh, so a network object with 192.168.3.0 as the IP address and 255.255.255.0 as the subnet mask represents the IP address range of 192.168.3.0 - 192.168.3.255 ?
192.168.3.0 is the network address. The last "0" in the subnet mask means the network covers the 0-255 range.

I think you'll find it well worth your time to take a closer look at how IP subnetting works.
 
  


Reply



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
Error!! str2addr:Address 35 outside range of address field length 1 !!! MounaRM Linux - Networking 2 07-28-2015 11:51 PM
Memory range address Jane1 Linux - Embedded & Single-board computer 4 02-04-2012 06:37 PM
IP Address Range JC695 Linux - Networking 1 09-28-2010 12:51 AM
OpenVPN range address. caio2710 Linux - Server 6 02-16-2010 10:40 AM
Blocking an ip address range within iptables kaplan71 Linux - Security 4 03-31-2009 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:50 AM.

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