FW: HELP ME
Nima Mohammadi
it at hastigasht.com
Thu Nov 12 18:09:52 UTC 2009
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
More information about the freebsd-ipfw
mailing list