*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-05-2004, 07:14 PM
|
#1
|
|
Member
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206
Rep:
|
freebsd +firewall +newb
The linux firewall I use for slackware is a simple install and it "stealths" or blocks all ports when I test it on http://www.hackerwatch.org/probe/ .
The FreeBSD firewall ipf that I've been trying to configure does not want to do this for me.The test says all ports are closed but they are not blocked.
Should I be concerned?
Would anyone be nice enough to post some generic rules for the ipf rules file that would be fine for a desktop that is on a cable modem that is always connected to the net.I need to be able to play games online with it as well.Thx in advance.
|
|
|
|
11-06-2004, 10:50 AM
|
#2
|
|
Member
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206
Original Poster
Rep:
|
ok,so now I went with IPFW and that stealths the open ports but now I can not access some sites or use xqf to connect to master servers-unless I disable the firewall.I am using the config for ipfw.rules provided in freebsd docs.
Better than nothing I suppose but I would like to use xqf+stat to query servers and play online and be somewhat protected.Anyone have some sample ipfw.rules that might be useful here?
Thx in advance.
|
|
|
|
11-07-2004, 11:10 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2004
Posts: 14
Rep:
|
What exactly are you trying to do, secure your computer by closing ports or make the computer look like it's not even there by not even sending a Port Unreachable? In my oppinion they are both equally secure since preventing a Port Unreachable reply won't fool anyone knowing what they are doing.
|
|
|
|
11-07-2004, 01:05 PM
|
#4
|
|
Member
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206
Original Poster
Rep:
|
Yes,Thats more or less what I wanted to know.Wether a port being stealthed or a port simply being closed made much of a difference.
All I'm trying to do is run a desktop firewalled that allows XQF and games like Quake to be playable over the net.I've pretty much done that now but in order to use XQF I must UNcomment out this line:
# No restrictions on Inside Lan Interface for private network
# Not needed unless you have Lan.
# Change xl0 to your Lan Nic card interface name
#################################################################
$cmd 00005 allow all from any to any via dc0
Is that unwise or does it really matter for Joe desktop?
Last edited by mortal; 11-07-2004 at 01:07 PM.
|
|
|
|
11-07-2004, 04:26 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2004
Posts: 14
Rep:
|
Sorry, don't know anything about ipf or ipfw but from what I gather from the comments the script/ruleset you are using is most likely made for a router and not for a desktop. You might want to look at some other script/ruleset designed with desktops in mind, those are often more simple than those for routers.
This one might be what you want: http://ed.asisaid.com/cugbsd1.html
|
|
|
|
11-07-2004, 05:55 PM
|
#6
|
|
Member
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206
Original Poster
Rep:
|
Thanks for that link.
You are right I think about the router.It never occured to me because I have little experience with FreeBSD.But I'm learning.
The rules posted at that link are for dial-up so as I am on cable what would I have to change in those rules besides the lo0 part?
|
|
|
|
11-07-2004, 11:29 PM
|
#7
|
|
LQ Newbie
Registered: Jun 2004
Posts: 14
Rep:
|
The lo0-parts should be kept as they are since they concern the loopback-interface and some programs might behave funny if you don't set it up correctly.
This script does not mention any specific interface to use which is good if you only have one. Funny thing is though that I believe that you can remove the three lines concerning lo0 since the three lines below will work for them too, but I'm not sure so it might be a good idea to keep them.
|
|
|
|
11-08-2004, 10:14 AM
|
#8
|
|
Member
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206
Original Poster
Rep:
|
Thanks man!
Everything seems to work well enough.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|