Screaming Electron Forums

Go Back   Screaming Electron Forums > General Discussions > Firewall Forums > IPFW
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old December 27th, 2005
bumbler's Avatar
bumbler bumbler is offline
Neutron
 
Join Date: Oct 2003
Location: Choctaw
Posts: 200
bumbler is on a distinguished road
Default Modifying Standalone Firewall

When I had dialup, the standard dialup firewall worked fine. However, on DSL, it does a little too much. The problem I have is, all my traffic comes through the one and only interface, rl0. Instead of differentiating between interfaces, is there a way to substitute IP ranges? I want to allow traffic from 192.168.0.0/255, and filter everything else according the rest of the rules.

So, how would I substitute IP-range for $iif and $oif? Of is there another mechanism? All my reading of TFMs and googling brings stuff over my admittedly empty head.
__________________
Don't pay any attention to me. I'm clueless.

Last edited by bumbler; December 27th, 2005 at 11:54. Reason: typos
Reply With Quote
  #2  
Old January 3rd, 2006
bumbler's Avatar
bumbler bumbler is offline
Neutron
 
Join Date: Oct 2003
Location: Choctaw
Posts: 200
bumbler is on a distinguished road
Default Re: Modifying Standalone Firewall

Oh, thank you for the help!

What I ended up trying was to exchange this line:

Code:
$fwcmd add allow ip from any to any via $iif
With this pair:

Code:
$fwcmd add allow ip from any to 192.168.1.0/24
$fwcmd add allow ip from 192.168.1.0/24 to any
because I have no idea of any other way to cover it. So, if anyone bothers to read this and knows how, tell me what I did wrong.
__________________
Don't pay any attention to me. I'm clueless.
Reply With Quote
  #3  
Old January 6th, 2006
Strog's Avatar
Strog Strog is offline
Administrator
 
Join Date: Nov 2002
Location: Tulsa, OK area
Posts: 854
Strog will become famous soon enoughStrog will become famous soon enough
Default Re: Modifying Standalone Firewall

This is your firewall for the rest of the network? If so, is there any way you can add another interface to this box?
__________________
Nostalgia isn't what it used to be
Reply With Quote
  #4  
Old January 6th, 2006
bumbler's Avatar
bumbler bumbler is offline
Neutron
 
Join Date: Oct 2003
Location: Choctaw
Posts: 200
bumbler is on a distinguished road
Default Re: Modifying Standalone Firewall

No, this is for standalone. I'm not interested in protecting the other machines. All the machines on the network plug into the DSL modem (four ports) which has some kind of minimal firewall I don't trust. Keep in mind, there's a motive here in not protecting the WinXP box: if my wife has trouble with it, that gives me leverage to recommend Open Source. So far, the only other box plugged in on occasion is my FreeBSD laptop.
__________________
Don't pay any attention to me. I'm clueless.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invisible Firewall Article elmore How-To's 14 December 1st, 2004 20:07
Snip from my Firewall Log... tarballed IDS Forum 1 April 4th, 2003 16:48
Interpreting Firewall Logs tarballed Firewall Forums 7 March 18th, 2003 19:41
getting to a webserver behind firewall jedaffra Installation and General Configuration 5 October 9th, 2002 14:13
A quick update on my Firewall tarballed Firewall Forums 8 August 18th, 2002 01:45


All times are GMT -4. The time now is 17:56.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
This Page hosted by Network Synapse