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.

Share this post:

  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Related posts:
  1. Setting up an IPv6 Bind DNS Server on Linux
  2. IPv6 addressing explained
  3. Recover the root password on Linux
  4. Send mail from the command line on Mac OSX
  5. Schedule commands to run later on Linux and Mac

Leave a Reply