The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
Author: Aaron 
Date:   14-12-02 02:10


I am trying to find a good place to find some basics on ipfw. I found some places, but there beyound my scope so far. I just want to learn some basic ipfw add funtions, like for example to deny all to ssh but sept my client login. I want to start with basic turtorials and work my way along. Any good links would be great.


Reply To This Message
 Re: ipfw
Author: Aaron 
Date:   14-12-02 05:57

Hi Again

ipfw is sweet ! I've covered most of the basic commands, but one thing poundering my mind is the numbers the rules are based off of. Like for example 64000. Is there any curtain numbers based themes you need to stick to when creating rules.

What I exactly mean

basic open ipfw firewall:

00100 allow ip from any to any via lo0
00200 deny ip from any to
00300 deny ip from to any
65000 allow ip from any to any
65535 deny ip from any to any

When I create some new rules, am I bound to use curtain numbers, or are they all fair game. I know the consepts of the file wall, but just wounder what the numbers exactly mean down to detail. The articles i've read have lacked this point of discription.


Reply To This Message
 Re: ipfw
Author: Jess 
Date:   19-12-02 23:28

I think they can be fom 1 to 65535, reading through from 1 and so on. If you allow something at a lower number, you cannot block it further down as it has already been passed.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum