Ik heb dus dezelfde howto gebruikt als Raven, nog bedankt voor de link
Nu heeft mijn pfsense bakje mooi ipv6 maar hij deelt geen ips uit aan de workstations.
Ik heb de Allow ipv6 optie ingeschakeld staan.
Even de volgende gegevens, misschien zien jullie waaar ik wat fout heb gedaan want ik zie het niet meer
mijn HE.net info:
em0 = wan
em1 = lan
00_config-ipv6-if.sh
10_config-ipv6-pf.sh
/etc/rtadvd.conf
Ik dacht eerst misschien draait rtadvd niet maar dat is dus wel het geval.
Het gaat hier allemaal om Windows 7 pc's.
Nu heeft mijn pfsense bakje mooi ipv6 maar hij deelt geen ips uit aan de workstations.
Ik heb de Allow ipv6 optie ingeschakeld staan.
Even de volgende gegevens, misschien zien jullie waaar ik wat fout heb gedaan want ik zie het niet meer

mijn HE.net info:
code:
1
2
3
4
5
| Server IPv4 address: 216.66.84.46 Server IPv6 address: 2001:470:1f14:91::1/64 Client IPv4 address: 82.101.251.5 Client IPv6 address: 2001:470:1f14:91::2/64 Routed /64: 2001:470:1f15:91::/64 |
em0 = wan
em1 = lan
00_config-ipv6-if.sh
code:
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
29
30
31
32
| #!/bin/sh # IFOUT = outside interface # IFIN = inside interface # DFGW = default gateway IFOUT="gif0" IFIN="em1" DFGW="2001:470:1f14:91::1" ####### Configure the stuff # Configure the interfaces ifconfig $IFOUT create ifconfig $IFOUT tunnel 82.101.251.5 216.66.84.46 ifconfig $IFOUT inet6 2001:470:1f14:91::2 prefixlen 64 route -n add -inet6 default 2001:470:1f14:91::1 ifconfig $IFOUT up ifconfig $IFIN inet6 alias 2001:470:1f14:91::2 prefixlen 64 # Set the default route route -n add -inet6 default $DFGW # Configure IPv6 forwarding sysctl net.inet6.ip6.forwarding=1 # My /etc/rtadvd.conf looks like this # # bce1:\ # :addrs#1:addr="2001:db8:0:2::":prefixlen#64:tc=ether: # # Startup rtadvd /usr/sbin/rtadvd -d -D -c /etc/rtadvd.conf $IFIN |
10_config-ipv6-pf.sh
code:
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
| #!/bin/sh # # IFOUT = outside interface # IFIN = inside interface # DFGW = default gateway IFOUT="gif0" IFIN="em1" ####### Configure the stuff # Configure PF # pfSense puts it's rules in /tmp/rules.debug for debugging purposes after boot # We will use these rules, add IPv6 additions, read the config with pfctl and # disable and enable PF cat /tmp/rules.debug | sed "/User-defined rules follow/{ p;s/.*/\ pass in quick on $IFIN inet6 from any to any\\ pass out quick on $IFIN inet6 from any to any\\ pass out quick on $IFOUT inet6 from any to any\\ pass quick proto ipv6-icmp from any to any\\ # pass in on $IFOUT inet6 proto tcp from any to any port 22\\ /;}" > /tmp/rules.config-ipv6.txt # Read the new PF configuration file pfctl -f /tmp/rules.config-ipv6.txt pfctl -d; pfctl -e |
/etc/rtadvd.conf
code:
1
2
| em1:\ :addrs#1:addr="2001:470:1f15:91::":prefixlen#64:tc=ether: |
Ik dacht eerst misschien draait rtadvd niet maar dat is dus wel het geval.
code:
1
2
3
4
| # ps auxww|grep rtadvd root 1121 0.0 0.1 3156 1012 ?? Is 9:20PM 0:00.00 /usr/sbin/rtadvd -d -D -c /etc/rtadvd.conf em1 root 1570 0.0 0.2 3508 2228 p0 RV 9:23PM 0:00.00 grep rtadvd (tcsh) # |
Het gaat hier allemaal om Windows 7 pc's.