FreeBSD IPv6 Tunnel Config: Difference between revisions

From AAISP Support Site
(Created page with "In /etc/rc.conf: <pre> ipv6_enable="YES" ipv6_gateway_enable="YES" ipv6_defaultrouter="-interface gif0" ipv6_default_interface="gif0" gif_interfaces="gif0" gifconfig_gif0="A.B.C....")
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:


Don't forget to configure an IPv6 firewall (this is left as an exercise for the reader).
Don't forget to configure an IPv6 firewall (this is left as an exercise for the reader).

[[Category:IPv6]] [[Category:3rd Party Routers]]

Latest revision as of 13:09, 24 February 2015

In /etc/rc.conf:

ipv6_enable="YES"
ipv6_gateway_enable="YES"
ipv6_defaultrouter="-interface gif0"
ipv6_default_interface="gif0"
gif_interfaces="gif0"
gifconfig_gif0="A.B.C.D 81.187.81.6"
# substitute the IPv4 address of your machine for A.B.C.D
ipv6_ifconfig_gif0="2001:08b0:XXXX:1::1 prefixlen 64"
# 2001:08b0:XXXX should be replaced by your /48 allocation
# in this case I have used IP 1 on subnet 1 as the IPv6
# address - you can (and probably should) adjust as desired.

Don't forget to configure an IPv6 firewall (this is left as an exercise for the reader).