Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://www.netlife.co.za/content/view/34/34/|BSD Dual Wan Router (pfsense)]]    * [[http://www.netlife.co.za/content/view/34/34/|BSD Dual Wan Router (pfsense)]]
    * [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html|Building and Installing a Custom Kernel]]    * [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html|Building and Installing a Custom Kernel]]
 +   * [[http://taosecurity.blogspot.com/2008/12/ossec-and-pf-on-freebsd-to-limit-ssh.html|OSSEC and Pf on FreeBSD to Limit SSH Brute Forcing]]
 </box> </box>
 <html></div></html> <html></div></html>
 ===== 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).// It’s easy as IPv4.
 +
 +<code>
 +# Simple Firewall :
 +(allow network 2404:170::/32 to any host)
 +ip6fw add 100 allow all from 2404:170::/32 to any in via fxp0
 +
 +(allow network 2001:dc6::/32 to any host)
 +ip6fw add 200 allow all from 2001:dc6::/32 to any in via fxp0
 +
 +(allow all ipv6 to host 2404:170:ee02::10)
 +ip6fw add 300 allow all from :: to 2404:170:ee02:ee02::10 in via fxp0
 +
 +(deny other all traffic).
 +ip6fw add 1000 deny all from any to any in via fxp0
 +</code>
  
 ===== OpenBSD ===== ===== OpenBSD =====
bsd.txt · Last modified: 2010/06/08 13:50 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready