User Tools

Site Tools




  • Handle: BRR3-SIXXS

Setting up the gateway


Iptables only works on IPv4, so we will also need an IPv6 firewall, which is handled by <tt>ip6tables</tt> (installed with the direct=yes|net-firewall/iptables package, when the {{EnableFlag|ipv6}} USE flag is enabled).

Create an empty ruleset with: <source lang="bash"> ip6tables-save > ip6tables.sixxs </source>

Edit the file, and then run the following commands to install the rules, and ensure the firewall starts up on boot: <source lang="bash"> iptables-restore ip6tables.sixxs /etc/init.d/ip6tables save /etc/init.d/ip6tables start rc-update add ip6tables default </source>

Router Advertisements

ipv6.txt · Last modified: 2014/11/24 01:14 by