Posts tagged ‘ip6tables’

Enable IPv6 routing on Linux

To enable IPv6 routing on your Linux box you can use the following command:

echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

If you want to keep IPv6 routing enabled permanently, edit /etc/sysctl.conf and add the following line:

net.ipv6.conf.all.forwarding=1

Remember that IPv6 filtering rules are controlled via ip6tables.