blob: 00641401f6e7cf342d7e47358ea4c9a728050f5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh -
# $FreeBSD$
fwcmd=/sbin/ip6fw
$fwcmd -f flush
#
# loopback
#
$fwcmd add 1000 pass all from any to any via lo0
#
# ND
#
# DAD
$fwcmd add 2000 pass ipv6-icmp from ff02::/16 to ::
$fwcmd add 2100 pass ipv6-icmp from :: to ff02::/16
# RS, RA, NS, NA, redirect...
$fwcmd add 2300 pass ipv6-icmp from fe80::/10 to fe80::/10
$fwcmd add 2400 pass ipv6-icmp from fe80::/10 to ff02::/16
$fwcmd add 5000 pass tcp from any to any established
# RIPng
$fwcmd add 6000 pass udp from fe80::/10 521 to ff02::9 521
$fwcmd add 65000 pass log all from any to any
|