Hi, in this tutorial I will be showing you how to setup IPv6 connectivity for your network using he.net and pfsense.
- Pop on over to he.net and create an account
- Create a regular tunnel and you should be given a page of details like the following

- Download the following script
Open the script with your favorite text editor and set the variables at the top as requiredIFIN="re1"
This is your LAN interface.
IPv6Router="2001:470:1f09:3cd::1" IPv6Server="2001:470:1f08:3cd::1" IPv6Client="2001:470:1f08:3cd::2"
IPv6 Router is the first address from your routed /64 range given on the he.net details panel
IPv6 Server is simply your IPv6 server address given on the he.net details panel
and IPv6 Client is also just your IPv6 client address given on the he.net details panel.IPv4Server="216.66.80.26" IPv4Client="88.151.87.116"
IPv4 Server is simply the IPv4 server address given on the he.net details panel
and IPv4 client is your WAN IP address. - We also need to create a configuration file for rtadvd copy and paste the following
re1:\ :addrs#1:addr="2001:470:1f09:3cd::":prefixlen#64:tc=ether:
Where re1 is your LAN interface and where 2001:470:1f09:3cd:: is your /64 route. Save the following as rtadvd.conf
- Using sftp upload rtadvd.conf to /etc and config-ipv6.sh to /usr/local/etc/rc.d on your pfsense box. Set the permissions for config-ipv6.sh as executable.
- Reboot your pfsense box and the script should auto start and bring up your IPv6 tunnel


18. July 2010
0 Comments