amd64: Fix for Xorg.
[dragonfly.git] / sbin / ip6fw / sample.sh
blobc08ec5274b046564c51b64af20abfea5738c7098
1 #!/bin/sh -
2 # $FreeBSD: src/sbin/ip6fw/sample.sh,v 1.1.2.1 2000/05/04 17:35:00 phantom Exp $
3 # $DragonFly: src/sbin/ip6fw/sample.sh,v 1.2 2003/06/17 04:27:33 dillon Exp $
5 fwcmd=/sbin/ip6fw
7 $fwcmd -f flush
10 # loopback
12 $fwcmd add 1000 pass all from any to any via lo0
15 # ND
17 # DAD
18 $fwcmd add 2000 pass ipv6-icmp from ff02::/16 to ::
19 $fwcmd add 2100 pass ipv6-icmp from :: to ff02::/16
20 # RS, RA, NS, NA, redirect...
21 $fwcmd add 2300 pass ipv6-icmp from fe80::/10 to fe80::/10
22 $fwcmd add 2400 pass ipv6-icmp from fe80::/10 to ff02::/16
24 $fwcmd add 5000 pass tcp from any to any established
26 # RIPng
27 $fwcmd add 6000 pass udp from fe80::/10 521 to ff02::9 521
29 $fwcmd add 65000 pass log all from any to any