Nothing Special   »   [go: up one dir, main page]

[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ipfw
Subject:    FW: HELP ME
From:       "Nima Mohammadi" <it () hastigasht ! com>
Date:       2009-11-12 18:21:07
Message-ID: 20091112180952.8BCEC106566B () hub ! freebsd ! org
[Download RAW message or body]

 

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

 

_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic