Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bsd [2008/11/28 10:21] einherjar |
bsd [2009/01/06 12:34] a |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
</ | </ | ||
< | < | ||
===== FreeBSD ===== | ===== FreeBSD ===== | ||
+ | |||
Line 47: | Line 49: | ||
ipfw list | ipfw list | ||
+ | **Firewalling IPv6** | ||
+ | Below some rules of implementing firewall in FreeBSD. //Using IPFW (please compile your kernel, if it’s not supported).// | ||
+ | |||
+ | < | ||
+ | # Simple Firewall : | ||
+ | (allow network 2404: | ||
+ | ip6fw add 100 allow all from 2404: | ||
+ | |||
+ | (allow network 2001: | ||
+ | ip6fw add 200 allow all from 2001: | ||
+ | |||
+ | (allow all ipv6 to host 2404: | ||
+ | ip6fw add 300 allow all from :: to 2404: | ||
+ | |||
+ | (deny other all traffic). | ||
+ | ip6fw add 1000 deny all from any to any in via fxp0 | ||
+ | </ | ||
===== OpenBSD ===== | ===== OpenBSD ===== |