Hello all, could you please help understand what's wrong with setting up IPv6 GW.
FreeBSD 10, already configured as IPv4 GW based on PF NAT.
I get IPv6 address pool from my provider and seems, configured everything well.
From FreeBSD server I can ping everything via IPv6 (for example, ipv6.google.com), I can see dancing kame (http://www.kame.net).
My LAN computers get IPv6 addresses from FreeBSD server, when I ping each other by netBIOS name, I can see that they do that by IPv6 protocol. I'm working on server by SSH using it's IPv6 address, but can't get access to any resources outside server. It seems I missed something, but can't find what exactly.
Few more things:
1. If I ping ipv6.google.com from LAN, I can see outgoing packets on external server interface using tcpdump.
2. It seems, when I ping
I should see also my_ext_if link local address, but I can see only few neighbor routers.
Could you please help, what's wrong?
Here is my configs:
/etc/rc.conf
/etc/rtadvd.conf
sysctl -a
pfctl -sr
FreeBSD 10, already configured as IPv4 GW based on PF NAT.
I get IPv6 address pool from my provider and seems, configured everything well.
From FreeBSD server I can ping everything via IPv6 (for example, ipv6.google.com), I can see dancing kame (http://www.kame.net).
My LAN computers get IPv6 addresses from FreeBSD server, when I ping each other by netBIOS name, I can see that they do that by IPv6 protocol. I'm working on server by SSH using it's IPv6 address, but can't get access to any resources outside server. It seems I missed something, but can't find what exactly.
Few more things:
1. If I ping ipv6.google.com from LAN, I can see outgoing packets on external server interface using tcpdump.
2. It seems, when I ping
Code:
ping6 -I my_ext_if FF02::2
Could you please help, what's wrong?
Here is my configs:
/etc/rc.conf
Code:
### IPv6 ###
ipv6_activate_all_interfaces="YES"
ip6addrctl_enable="YES"
ip6addrctl_policy="ipv6_prefer"
ifconfig_em0_ipv6="inet6 2a03:7380:XXXX:YYYY::1 prefixlen 64"
ifconfig_re0_ipv6="inet6 2a03:7380:XXXX:ZZZZ::fffe prefixlen 64"
ipv6_defaultrouter="YES"
ipv6_defaultrouter="2a03:7380:XXXX:YYYY::fffe"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="re0"
rtsold_enable="YES"
/etc/rtadvd.conf
Code:
re0:\
:addrs#1:addr="2a03:7380:XXXX:ZZZZ::":prefixlen#64:tc=ether:
sysctl -a
Code:
kern.features.inet6: 1
net.inet6.ip6.forwarding: 1
net.inet6.ip6.redirect: 1
net.inet6.ip6.accept_rtadv: 0
pfctl -sr
Code:
- cut -
pass quick on em0 proto ipv6-icmp all keep state
- cut -
pass in quick on em0 inet6 proto tcp from any to (em0) port = smtp flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = ni-ftp flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = domain flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = http flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = pop3 flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = smtps flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = submission flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = imaps flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = pop3s flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = pptp flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = 5005 flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = 5006 flags S/SA keep state
pass in quick on em0 inet6 proto tcp from any to (em0) port = 8100 flags S/SA keep state
pass in quick on em0 inet6 proto ipv6-icmp from any to (em0) icmp6-type routersol keep state
pass in quick on em0 inet6 proto ipv6-icmp from any to (em0) icmp6-type routeradv keep state
pass in quick on em0 inet6 proto ipv6-icmp from any to (em0) icmp6-type neighbrsol keep state
pass in quick on em0 inet6 proto ipv6-icmp from any to (em0) icmp6-type neighbradv keep state
pass in quick on em0 inet6 proto ipv6-icmp from any to (em0) icmp6-type redir keep state
pass in quick on em0 inet6 proto udp from any to (em0) port = domain keep state
pass in quick on em0 inet6 proto udp from any to (em0) port = ntp keep state
pass in quick on em0 inet6 proto udp from any to (em0) port = dhcpv6-client keep state
pass in quick on em0 inet6 proto ipv6-icmp all icmp6-type toobig keep state
pass in quick on em0 inet6 proto ipv6-icmp all icmp6-type echoreq keep state