Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 21:39:07 +0330
From:      "Nima Mohammadi" <it@hastigasht.com>
To:        <freebsd-ipfw@freebsd.org>
Subject:   FW: HELP ME
Message-ID:  <20091112180952.8BCEC106566B@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
 

Hi 

Me again

Sorry my good friend . I can`t config my ipfw very well . 

If you can send a sample ipfw config which is works fine you will give me a
great help.

 

Sample config with this type of pipe rule , and my ipfw deny everythin by
default.

 

$cmdfw pipe 30 config mask dst-ip 0x000000ff bw 1024Kbit/s queue 10KBytes
$cmdfw pipe 31 config mask src-ip 0x000000ff bw 256Kbit/s queue 10KBytes

$cmdfw add 1100 pipe 30 all from any to 192.168.6.0/24 in via $ext_if1
$cmdfw add 900 pipe 31 all from 192.168.6.0/24 to any out via $ext_if1
$cmdfw add 1000 divert natd ip from any to any via $ext_if1

 

 

Thanx a lot

 

Regard

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091112180952.8BCEC106566B>